Can't get a new unit to show up.

gargoyle575

Chieftain
Joined
Jan 20, 2012
Messages
94
I have been planning to make a mod that would add more air and naval units to the game for a more diverse late game. But I can't for the life of me figure out why my new unit isn't showing up in game or why the changes are not taking effect. It's probably something obvious but I can't seem to figure it out.
 

Attachments

Enable logging and then check the log files, they highlight most problems!

In your case,

Code:
[1497.001] Database::XMLSerializer (StrageticBomber/StrageticBomberUnits.xml): 'Row' or 'Delete' expected, got 'UnitType'.
[1896.426] Validating Foreign Key Constraints...

Code:
<Unit_AITypes>
[COLOR="Red"][B]  <Row>[/B][/COLOR]
    <UnitType>UNIT_STRATEGIC_BOMBER</UnitType>
    <UnitAIType>UNITAI_ATTACK_AIR</UnitAIType>
[COLOR="Red"][B]  </Row>[/B][/COLOR]
</Unit_AITypes>
 
Back
Top Bottom