1.7 Beta Help with Shipclassdefs Modding

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. 

47,847 views 11 replies
Reply #1 Top

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!

Reply #2 Top

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.

 

+1 Loading…
Reply #3 Top

I can confirm the above solution worked for me. Great spot!

Reply #4 Top

I'd recommend using Notepad++'s compare function for future endevaours. This way you can easily target possible problems in your files.

Reply #5 Top

Oh man thanks guys, this worked!

 

Also I only downloaded Note++ last night so I'm still learning the ins and outs of it.

Reply #6 Top

Thanks, this fixed me also

Reply #7 Top

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.

 

 

Reply #8 Top

Or you could go in for a true programming tool, something like IntelliJ or Eclipse.

Reply #9 Top

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 

Reply #10 Top

It needs to be applied to every "basic constructor" entry in each shipclass file for each race you plan on using.

Reply #11 Top

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