jbryant
Prince
My mod won't load up now, due to a proble with the UNITINFOS xml.
the reason is: element content is invalid according to DTD/schema
The unit in question does not have an upgrade, but apparently the game doesn't like that and won't load the file. Here is the offending code:
<bHiddenNationality>0</bHiddenNationality>
<bAlwaysHostile>0</bAlwaysHostile>
<UnitClassUpgrade>
<UnitClassUpgradeType></UnitClassUpgradeType>
<bUnitClassUpgrade>0</bUnitClassUpgrade>
</UnitClassUpgrade>
I originally had it blank, but got about the same error, except the game was angry over it being blank.
<bHiddenNationality>0</bHiddenNationality>
<bAlwaysHostile>0</bAlwaysHostile>
<UnitClassUpgrade>
</UnitClassUpgrade>
After this error i get another one:
Tag: UNIT_(everything) in Info class as incorrect
Current XML file is xml\Civilizations/CIV4Unit ArtStyleTypeInfos.xml
I haven't even opened this file! Not sure what's going on, but it leads to me having a mod with no units.
the reason is: element content is invalid according to DTD/schema
The unit in question does not have an upgrade, but apparently the game doesn't like that and won't load the file. Here is the offending code:
<bHiddenNationality>0</bHiddenNationality>
<bAlwaysHostile>0</bAlwaysHostile>
<UnitClassUpgrade>
<UnitClassUpgradeType></UnitClassUpgradeType>
<bUnitClassUpgrade>0</bUnitClassUpgrade>
</UnitClassUpgrade>
I originally had it blank, but got about the same error, except the game was angry over it being blank.
<bHiddenNationality>0</bHiddenNationality>
<bAlwaysHostile>0</bAlwaysHostile>
<UnitClassUpgrade>
</UnitClassUpgrade>
After this error i get another one:
Tag: UNIT_(everything) in Info class as incorrect
Current XML file is xml\Civilizations/CIV4Unit ArtStyleTypeInfos.xml
I haven't even opened this file! Not sure what's going on, but it leads to me having a mod with no units.