Difference between revisions of "Plugins"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Changed link to list of stock PartModules to point to an existing list on the wiki)
(Added link to updated plugin tutorial (.20-.23+). Feel free to remove/move if inappropriate.)
Line 46: Line 46:
 
* [[Module code examples]]
 
* [[Module code examples]]
 
* [[Community API Documentation]]
 
* [[Community API Documentation]]
 +
* [https://www.youtube.com/watch?v=ilWZjYx7brE cybutek's .20+ quick start video guides]
  
 
[[Category:Modding]]
 
[[Category:Modding]]

Revision as of 03:41, 5 January 2014

Starting with KSP 0.14, the game supports custom part behaviors called Plugins. Defining custom behaviors allows you to create totally new kinds of parts, such as flight control computers, new types of fuel supply chains, etc. You can then add these to the game in the form of plugins. These DLLs can be loaded on any platform that can run KSP.

READ THE POSTING GUIDELINES BEFORE PUBLISHING YOUR PLUGIN

Using Plugins

To use a Part Module Plugin, just drop the DLL into KSP/Plugins. If the folder doesn't exist, you can create it.

Creating Plugins

First, decide which IDE you will use. Visual Studio or the associated Express Edition works the best on Windows. The others also work on additional platforms, like Mac or Linux.

IDE License Windows Mac Linux
Visual Studio Commercial      
MonoDevelop LGPLv2 / MIT (Free)      
SharpDevelop Open-source (Free)      
Nant (Command-line only) GPLv2 (Free)      

Now, you can get started.