SpaceWarp 1.4.0
cheese3660
released this
19 Jul 00:16
·
333 commits
to dev
since this release
Space Warp 1.4.0
- Add main menu warning if outdated or errored mods detected
- Made Space Warps abstractions more general so they can use the official ModLoader (
ISpaceWarpMod
,ISpaceWarpLogger
) - Did some UI updates
- added Soundbank loading (
ModFolder/assets/soundbanks/*.bnk
) - Auto generate base paths for mods at runtime
SpaceWarpPaths.[ModGUID w/ "./ " replaced by "_"]
for use in generating true codeless parts mods w/ addressables bundles
Experimental: Patch the official mod loader to allow loading from there, to get away from depending wholly on BepInEx
- Uses the
EntryPoint
property to either load a DLL or a Lua script - For DLL mods, instantiates the first type that derive froms
KSP.Modding.Mod
by putting it as a component of a newly created GameObject for the mod - Works as a logical conclusion to the pre-existing code with some abstractions (e.g. to refer to another similar project: Quantum, mods made for for that will function for mods using this patch)
- Allows for use of Space Warps loading APIs w/in the official modloader
- Mods loaded this way show up in space warps mod UI
- Allows for enabling/disabling internally loaded mods through the space warp UI
- Provide an abstraction
BaseKspLoaderSpaceWarpMod
if you want Space Warps initialization abstractions in the official loader (OnPreInitialized/Initialized/PostInitialized
), and we are planning for it to provide config files in the future. - Do note: the way this functions is subject to change at any time, it is experimental, USE WITH CAUTION.