Skip to content

Modding Tutorial

cheese3660 edited this page Feb 27, 2023 · 4 revisions

Modding Tutorial

A modding tutorial for KSP2 + Space Warp

Installing Space Warp

  1. Download the latest release of space warp
  2. Unpack the ZIP File
  3. Run the patcher program

Setting up a Modding Environment

For precompiled mods

  1. Run the ModTemplateGenerator python script in the package
  2. Provide all required fields
    • Provide the SpaceWarp.dll file location in the release folder when it asks
    • Provide the location to the KSP2 DLL when it asks
  3. Open up the .csproj file it generates under the project subfolder
  4. Look at the other pages on this wiki for the documentation of the separate files
  5. Switch Initialize() in the mod.cs file generated to OnInitialized() (Fixed in next version)

For Roslyn compiled mods

Fork this template Space Warp Example Mod Template