swebonny
Members-
Posts
13 -
Joined
-
Last visited
Reputation
1 NeutralProfile Information
-
About me
Bottle Rocketeer
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Suggestion: community code examples
swebonny replied to The_Duck's topic in KSP1 C# Plugin Development Help and Support
Keeping them organized, commented and short may be more educational than reading complete source codes, especially for beginners. And it\'d hopefully prevent copy pasting from other peoples work. I like the idea. I\'ll see if I can contribute with some easier stuff. -
Try looking at r4am0n\'s and CardBoardBoxProcessor\'s MechJeb Autopilot. They have a GUI which you can see in their source code, you learn a lot by reading the code. Then we have Unity\'s own documentation: http://unity3d.com/support/documentation/ScriptReference/30_search.html?q=gui And some basic tutorial: http://unity3d.com/support/documentation/Components/GUI%20Scripting%20Guide.html How you apply it to KSP you\'ll have to figure out yourself, or by help from other people\'s source codes.
-
If it\'s possible, try to get the warp multiplier, and adjust the oxygen exhaustion rate accordingly. I\'m thinking something like. public void adjustExhaust(<T> theWarpFactor) { if (theWarpFactor is something) then set oxygen to certain speed something like this.oxygenRate = theWarpFactor*this.oxygenRate else do something else } Excuse my really shitty psuedo code.
-
I was thinking about such a mod, I\'ll drop my ideas for now Good luck!
-
I\'m kinda more exited for this than I was for 0.14 ;D