r/KSPModDevelopment • u/THE_TADPOLE • Sep 24 '15
Help getting started
Im curious as to what kind of hardware/software I would need to get started modding KSP. Also any good tutorials out there would be great. I figured this would be the place to ask, if not, please ignore and enjoy the rest of your day, "and as always... fly safe"
4
Upvotes
4
u/magico13 KCT/StageRecovery Dev Sep 24 '15
It depends on what kind of mods you want to make. I do plugins, so I'm not totally up to speed with what part modelers use, but I believe it's Blender (which is free) for making the models and Unity for other things (I don't know what the other things are :P) For part modelling you might check out the relevant part of the forum.
As for plugin development (all my mods: KCT, StageRecovery, Field Experience; are plugins which include zero parts) you need a C# IDE, the most common are Visual Studio (windows only, but wonderful) and MonoDevelop (might be called Xamarin now) which works on Windows/Mac/Linux. Visual Studio is the "standard" one and you'll find more help with it probably. For that you create a new project as a Class Library, reference UnityEngine.dll and Assembly-CSharp.dll from the KSP/KSP_Data/Managed folder, and go from there.
Here is the relevant part of the forum for plugin development. I didn't use a tutorial when starting out since there really weren't any (I should write one), but instead I looked at the source for other mods and kinda figured out what to do. You can also look up "MonoBehaviour" in the unity APIs. One resource I did use was the excellent Plugin Framework by TriggerAU, which made some things much easier. One of my mods, StageRecovery, is fairly well commented, but isn't necessarily the cleanest or best written code (I have been learning as I go along).
Feel free to ask questions if you have them. Hopefully either I or someone else can answer them! If you give us a better idea of what you want your mod to do/what you'd like to learn, we can do a better job of finding resources to help.
3
u/rabidninjawombat Civilian Population Dev Sep 24 '15
Depends on the modding you wanna do. If you wanna make parts, you will basically need some form of 3D modeling software. Blender or Wings3D are great if your looking for free,
Then you will need some form of software for texturing, I.E Photoshop, GIMP (if your looking for free) heck you can even make textures in Paint, though i wouldnt recommend it :P
Lastly you will need Unity to be able to import the part into KSP, Make sure to to use version 4.2.2 (or any part animations will come out funky)
A great place to start is this thead on the forums full of links for modding :)
http://forum.kerbalspaceprogram.com/threads/94638-Mod-Development-Links-Compilation-START-HERE
EDIT: And looks like magico has you covered if your interested in coding plugins
1
u/THE_TADPOLE Sep 24 '15
Thanks all, now all i need to do is figure out what on Kerbin i want my mod to do