Migrating from SpaceWarp 1.x: Difference between revisions

From Kerbal Space Program 2 Modding Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:
MonoBehaviourMod
MonoBehaviourMod


KerbalMod. (technically a Redux thing) It has access to useful game classes like Game, Assets, Messages, etc.
KerbalMod. (technically a Redux thing) It has access to useful game classes like Game, Assets, Messages, etc. Equivalent to BaseSpaceWarpPlugin.
 
 
SpaceWarp2 also has a bunch of different members and classes

Revision as of 18:40, 16 November 2025

Redux features a brand new version of SpaceWarp. While it's all shiny and cool, it breaks support with older versions. Now you're probably wondering: How do I migrate to SpaceWarp 2.x? This guide is for you.


What's different?

Since Redux has SpaceWarp built-in, there's no need to have BepInEx anymore. This means all mods get stored in a dedicated Mods folder in the main KSP2 directory called "mods"... and that you can't use BepInEx's stuff anymore.

The SpaceWarp namespace has been renamed to SpaceWarp2.

API

SpaceWarp2 now has following decorators:

GeneralMod

MonoBehaviourMod

KerbalMod. (technically a Redux thing) It has access to useful game classes like Game, Assets, Messages, etc. Equivalent to BaseSpaceWarpPlugin.


SpaceWarp2 also has a bunch of different members and classes