-
Notifications
You must be signed in to change notification settings - Fork 241
Description
To get ready for KSP 1.11's inventory system, I added the ModuleCargoPart section to the kOS part CFG files, for example:
MODULE
{
name = ModuleCargoPart
packedVolume = 60
}
But if you run kOS on an older version of KSP from before the cargo inventory system was implemented, I thought this section would get ignored as there's no such partmodule. But what it actually does is make KSP fail to draw the PAW for the part in the VAB and makes it not even call the OnStart() for kOS in the VAB (breaking many other things too).
I had been hoping to be able to make a release ZIP that supports but does not require KSP 1.11 (that still is compiled against KSP 1.10.x DLLs), for the RP-1 folks, but such a release would need some way to ONLY have this config section be present if the KSP version is high enough. That means either two different release zips with two versions of the Part.cfg file, or (my preferred way), release with a ModuleManager patch that removes this section when the KSP version isn't high enough.