Difference between revisions of "Plugins"
From Kerbal Space Program Wiki
Line 3: | Line 3: | ||
'''READ THE [http://kerbalspaceprogram.com/forum/index.php?topic=8088.0 POSTING GUIDELINES] BEFORE PUBLISHING YOUR PLUGIN''' | '''READ THE [http://kerbalspaceprogram.com/forum/index.php?topic=8088.0 POSTING GUIDELINES] BEFORE PUBLISHING YOUR PLUGIN''' | ||
− | == Using | + | == 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. | To use a Part Module Plugin, just drop the DLL into KSP/Plugins. If the folder doesn't exist, you can create it. | ||
− | == Creating | + | == 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. | 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. | ||
− | + | {| class="wikitable" | |
− | + | ! IDE !! License !! Windows !! Mac !! Linux | |
− | + | |- | |
− | + | | [[Setting up Visual Studio|Visual Studio]] | |
+ | | Commercial | ||
+ | | style="background:#ccffcc;" | | ||
+ | | style="background:#ffcccc;" | | ||
+ | | style="background:#ffcccc;" | | ||
+ | |- | ||
+ | |[[Setting up MonoDevelop|MonoDevelop]] | ||
+ | | LGPLv2 / MIT (Free) | ||
+ | | style="background:#ccffcc;" | | ||
+ | | style="background:#ccffcc;" | | ||
+ | | style="background:#ccffcc;" | | ||
+ | |- | ||
+ | |[[Setting up SharpDevelop|SharpDevelop]] | ||
+ | | Open-source (Free) | ||
+ | | style="background:#ccffcc;" | | ||
+ | | style="background:#ffcccc;" | | ||
+ | | style="background:#ffcccc;" | | ||
+ | |- | ||
+ | |[[Setting up Nant|Nant]] (Command-line only) | ||
+ | | GPLv2 (Free) | ||
+ | | style="background:#ccffcc;" | | ||
+ | | style="background:#ccffcc;" | | ||
+ | | style="background:#ccffcc;" | | ||
+ | |} | ||
Now, you can get started. | Now, you can get started. |
Revision as of 00:01, 10 July 2012
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.