Getting Started¶
Prerequisites¶
Own a copy of KSP2
Have the ability to compile C# code
Project Setup¶
If you are using Visual Studio create a template with the Space Warp Mod Template
If you are using rider, use the Kerbal Dev plugin.
Copy the
<KSP2 Root>/KSP2_x64_Data/Managed/Assembly-CSharp.dll
file from your game into the<project root>/external_dlls/
folder
From there you should be set with an example project, and can go from there on the wiki!
For reference your mod class extends BaseSpaceWarpPlugin
Configuration¶
Addendum about configuration: Space Warp now uses BepInEx’s configuration api, for an example, see Space Warp Itself