Hey guys. if anyone can take a look at any of my shipclassdefs mod files for GRM, and see if you can figure out why they cause instant crashing, I'd be greatly in your debt. I've been searching for a discrepancy for a few hours now.
I'm assuming its something with constructors, but I can't find any changes to shipclassdefs or factionshipstylesets... its killing me.
Hey Gauntlet,
I'm not actually using your mod, but I am having the same issue -- so you're definitely not alone in trying to figure it out. I'll let you know if I find anything!
The things i had to change to get my own ship classes to work:
In the ShipClassDefs.xml for the constructors the tag <StaticBlueprintDef> is now replace by a <BlueprintDef> tag.
The ShipBlueprintDefs.xml has added a <ShipGroup> tag.
Constructor blueprints have moved from StaticShipBlueprintDefs.xml to ShipBlueprintDefs.xml
Hopes this helps.
I can confirm the above solution worked for me. Great spot!
I'd recommend using Notepad++'s compare function for future endevaours. This way you can easily target possible problems in your files.
Oh man thanks guys, this worked!
Also I only downloaded Note++ last night so I'm still learning the ins and outs of it.
Thanks, this fixed me also
If you need to do a lot of text comparing you might want to look at tools such as WinDiff (free), Meld (free) or Beyond Compare (30 day trial).
They really make merging changes from multiple sources a lot easier.
Or you could go in for a true programming tool, something like IntelliJ or Eclipse.
Does this fix have to be applied for every ship model? Or can it be changed into some form of "Per Race" fix?Wondering if there is an easy way to do this in the XML
It needs to be applied to every "basic constructor" entry in each shipclass file for each race you plan on using.
Is there a fix for this from you then Gaunlet? Or should I do it myself?Not to sure I might break the .XML but i'll give it a shot
There are many great features available to you once you register, including:
Sign in or Create Account