Difference between revisions of "Plugins"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 22: Line 22:
 
* [[:Category:Part Modules|List of stock Part Modules.]]
 
* [[:Category:Part Modules|List of stock Part Modules.]]
 
* [[Module code examples]]
 
* [[Module code examples]]
 +
* [[Community API Documentation]]
  
 
[[Category:Modding]]
 
[[Category:Modding]]

Revision as of 18:48, 6 April 2012

Starting with KSP 0.14, the game supports custom part behaviors called Modules. 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 Part Module 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 Part Modules

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.

Now, you can get started.