I'm trying to create a mod with more variety of black hole sizes. In the StrategicIconTypes.xsd file I've added some enumeration lines to add the black hole categories. So:
BEFORE:
<xs:enumeration value="MicroBlackHole"/>
<xs:enumeration value="StellarBlackHole"/>
AFTER
<xs:enumeration value="SuperBlackHole1"/>
<xs:enumeration value="SuperBlackHole2"/>
<xs:enumeration value="SuperBlackHole3"/>
I've double checked everything for typos and all the code is correct, however, the game now crashes on startup. Is it possible to add these new categories? All I want to do is to show strategic icons when you zoom out and then the mod is done...
What you are trying won't work. The schema files (.xsd) don't determine how the game works. The game determines what is in the schema files.
The schema files are just documentation of how the game works. They allow verification that the data files are set up correctly to work with the game. Changing the documentation doesn't change how the game works.
You need to look at the top of the data file(s) you're trying to edit to determine what schema files are used. Then look at the top of those schema files to see what other schema files they use, then look at those schema files. You may have to look at a few or a lot of schema files. You will realize that some, maybe a lot, of the them don't apply to what you're trying to do, so you can ignore them and concentrate on the ones that do apply. This should help you figure out what you need to do to get it right. If you can't figure it out, take a break and try again later.
You can not add new Strategic Icons. One of the meanlingless limitiations with the current modding format.
Booger, I was afraid that was the case. The way the BlackHoleLowDetailEffect is set up there's no other way round it. Is there any indication that this will be possible in the future for the game?
In any case thanks for your help, much appreciated
Next patch is supposed to make modding more "robust" what ever that means.
You can post your issue here and maybe they will add fillers.
I'm new here so can't post on there but seen you've done it for me. Many many thanks
There are many great features available to you once you register, including:
Sign in or Create Account