Thomas changed the topic of #kspmodding to: Welcome to #kspmodding - the channel for discussing, and learning about, modding Kerbal Space Program. Code of Conduct: https://git.io/vSQh6 | Always provide logs (do !support for help). | *** PSA: https://kerbalspaceprogram.com/api/index.html | <Red5> Guy was asked for a log file, he gave this link: http://pastebin.com/wfVarZPf
egg is now known as egg|zzz|egg
rsparkyc has joined #kspmodding
Pap|AFK is now known as Pap
rsparkyc has quit [Quit: Leaving.]
rsparkyc has joined #kspmodding
rsparkyc has quit [Quit: Leaving.]
Ezriilc has quit [Quit: Going offline, see ya! (www.Kerbaltek.com)]
rsparkyc has joined #kspmodding
rsparkyc has quit [Quit: Leaving.]
rsparkyc has joined #kspmodding
rsparkyc has quit [Client Quit]
SilverFox has quit [Ping timeout: 186 seconds]
SilverFox has joined #kspmodding
Pap is now known as Pap|Sleeping
SirKeplan has quit [Ping timeout: 200 seconds]
SirKeplan has joined #kspmodding
APlayer has joined #kspmodding
BPlayer has joined #kspmodding
APlayer has quit [Read error: Connection reset by peer]
BPlayer is now known as APlayer
APlayer has left #kspmodding [I will come back, and when I do, I will be stronger!]
Olympic1|Away is now known as Olympic1
<Sigma88> Sarbian: mouse works fine after the last update, so it was definitely a software problem
<Sarbian> hum. Let's try an update then...
<Sigma88> and it was an asus mouse the one from work
<Sarbian> This whole work from home thing is not working well for me it seems...
<Sigma88> what kind of job do you have?
<Sarbian> IT, operation
<Sigma88> no idea what it must be like
<Sigma88> :)
<Sarbian> I am working from home today (unusual for me) but I have a hard time actually working...
ferram4 has quit [Ping timeout: 200 seconds]
ferram4 has joined #kspmodding
riocrokite has joined #kspmodding
riocrokite has quit [Quit: http://www.mibbit.com ajax IRC Client]
Technicalfool is now known as tfsleep
riocrokite has joined #kspmodding
<riocrokite> eh hacking stock resource converter is fun
<riocrokite> some public stuff, some private, have to squeeze inbetween
stratochief|away is now known as stratochief
Pap|Sleeping is now known as Pap
rsparkyc has joined #kspmodding
stratochief is now known as stratochief|away
<Sarbian> Sigma88: I found my mouse problem. Windows added a 2nd HID mouse device that uses the same freaking mouse...
<Sigma88> HID?
<Sarbian> Human Interface Device
<Sigma88> ah
<Sigma88> yes I did notice my "mouse" icon in the control panel changed
<Sigma88> that must have been my same issue
<Thomas|AWAY> As long as windows doesnt detect your keyboard as a toaster...
Thomas|AWAY is now known as Thomas
Ezriilc has joined #kspmodding
<riocrokite> how to check whether planet has atmosphere?
<VanDisaster> biome perhaps? I think I once tried to find this out, but it was so long ago now
<riocrokite> hmmm maybe you can help me Sigma88
<riocrokite> ;)
<Sigma88> riocrokite: what tools do you have?
<Sigma88> plugin?
<Sigma88> cfg?
<riocrokite> writing custom plugin
<Sigma88> give me a sec
<riocrokite> bool celestialbody.atmosphere ?
<Sigma88> yup
<riocrokite> k thx
<Sigma88> do you already know how to get the body?
<riocrokite> nope
<Sigma88> FlightGlobals.Bodies
<Sigma88> is a list of bodies
<riocrokite> .currentMainBody then ?
<riocrokite> need to check atmosphere for a landed vessel
<Sigma88> do you need the pressure?
<riocrokite> nope
<Sigma88> I think currentMainBody is for the tracking station
<Sigma88> but I'm not 100% sure
<riocrokite> ok will check thx man
<Sigma88> be careful because if it is the tracking station focus, it might mean that using map mode while landed on a planet could change the "currentMainBody"
<Sigma88> I'm not sure tho
<Sigma88> should be easy enough to test tho
<Sigma88> just make a spammy loop that prints the currentMainBody.name
<Sigma88> and look what happens in the log while you tab in mapmode
<riocrokite> k
<Thomas> vessel should have a current body, or main body field
<riocrokite> k thx this looks good
<riocrokite> yah vessel.mainbody.atmosphere works :)
stratochief|away is now known as stratochief|remote
<Sigma88> Thomas: if I want to make a for loop that checks for an external variable
<Sigma88> can I do that?
<Sigma88> do I still need to define a new int?
<Thomas> No, you can do that
<Thomas> for(;;) creates and infinite loop for example :P
<xShadowx> Sigma88: while (true) { } while loops can go forever too :D
<Sigma88> so
<Sigma88> while (x<0) {}
<Sigma88> ?
<xShadowx> yep
<Sigma88> tx
<xShadowx> then break; to get out of it ofx
<xShadowx> ofc*
<xShadowx> or change x
<Sigma88> is there any meaningfull difference between for (;x<0;) {} and while(x<0) {}
<Sigma88> ?
<Thomas> no
<Sigma88> then I'll use while
<Sigma88> :)
<Sigma88> looks better
<xShadowx> aside from possibly micro efficiency that you shouldnt be worrying about (if is any)
<riocrokite> guys, is there a standarized distance from the sun in KSP
<riocrokite> like no matter what mod or rescale I use home planet is always 100%
<Thomas> Its not even guaranteed that you have only one sun :D
<riocrokite> lol yah
<riocrokite> well I guess i'll write biome specific values then and be done with it
stratochief|remote is now known as stratochief|away
riocrokite has quit [Quit: http://www.mibbit.com ajax IRC Client]
riocrokite has joined #kspmodding
<acc> does someone know what ratio is in TacGenericConverter?
<acc> is it units/second
<acc> ?
Irinix has joined #kspmodding
<Irinix> is there a framework for creating GUI's in KSP? Basically I need a window in the tracking station with a list of checkboxes so that I can terminate multiple craft simultaneously
<Irinix> I know.... "Unity"....
<Irinix> but...Googling KSP Gui Modding leads to a wiki page that's useless.
<Thomas> Unity is a game engine. It has two main systems for designing user interfaces: The new UI from Unity 5, and the old IMGUI (Intermediate Mode GUI). The UI works with gameobjects and components, and it is a pain to script. IMGUI works by calling various functions (GUI / GUILayout class) in a method called OnGUI on a monobehaviour
<Thomas> *Immediate
<Irinix> Okay, so which one would be the better one to use?
<Thomas> imgui is more beginner friendly
<Irinix> And does it support programmatically adding elements?
<Thomas> The only way to use imgui is programming, so yes :D
<Irinix> =D lol
<Irinix> KSP is still using 5.2.4?
<riocrokite> new version is using 5.4.0 afair
<riocrokite> for 1.2.9/1.3.0
<Irinix> and I'll have to create a clean install too. =/
<xShadowx> or stick to 1.2.2
<Irinix> well, I'm playing 1.2.2 but a clean install will allow me to know if the mod I'm planning fails or not.
<Irinix> lol
<Irinix> or I should say, fails on it's own.
<xShadowx> should always have a clean install, for duplicating to various ksp installs
* xShadowx notices he has 18 ksp installs and hides them
<Irinix> yeah....I don't have disk space for millions of ksp installs.
<Irinix> lol
<Irinix> I have 3 right now
<xShadowx> you can use symlinks for most of the subfolders, leaving saves/gamedata unique
<xShadowx> i symlink saves, just tag the install name in the save name and hope i dont load wrong ones with misclick :D
<Irinix> perhaps I'll write a save manager, that you use to select the saves you want to have available prior to launching the game.
<Irinix> that handles the symlinking for you
<Irinix> so you can select "Clean" and it loads your clean game data folder.
<Irinix> and clean saves.
<xShadowx> your mod is to select multiple ships, and 'terminate' ie delete? rather than adding a ui, i wonder how hard itd be to add shift click to the list on the left
<xShadowx> would also be nice to hide/archive vessels, similar to the filters for vessel type, just a hidden flag though
* xShadowx quits thinking up effort for you and goes back to crushing kerbals under deep water
<Irinix> standby, landing brb
<Irinix> back... soryr
<Irinix> *sorry
<Irinix> also, xShadowx the idea is to be able to recover / terminate
BasharMilesTeg_ has quit [Ping timeout: 204 seconds]
APlayer has joined #kspmodding
APlayer has left #kspmodding [#kspmodding]
BasharMilesTeg has joined #kspmodding
stratochief|away is now known as stratochief|remote
APlayer has joined #kspmodding
<riocrokite> is there I can get AU equivalent unit in KSP?
APlayer has quit [Ping timeout: 204 seconds]
<rsparkyc> ok, what the heck...
<rsparkyc> Module EMRController threw during OnLoad: System.Runtime.Serialization.SerializationException: Type UnityEngine.AnimationCurve is not marked as Serializable.
<riocrokite> something like dividing current body apoapsis to starting body apoapsis
APlayer has joined #kspmodding
<rsparkyc> I have a [Persistant] FloatCurve atmosphericCurve;
<rsparkyc> (public too)
<rsparkyc> i'm following the example of ProceduralPart's SRB_BELL config
Thomas is now known as Thomas|AWAY
riocrokite has quit [Quit: http://www.mibbit.com ajax IRC Client]
rsparkyc has quit [Quit: Leaving.]
Pap is now known as NotPap
APlayer has quit [Ping timeout: 204 seconds]
Sigma88 is now known as SigmaNote
Irinix has quit [Ping timeout: 186 seconds]
SigmaNote is now known as Sigma88
Irinix has joined #kspmodding
Irinix has quit [Ping timeout: 186 seconds]
Olympic1 is now known as Olympic1|Away
BasharMilesTeg has quit [Read error: Connection reset by peer]
BasharMilesTeg has joined #kspmodding
stratochief|remote is now known as stratochief|away