I'm working on a Classical Era mod.
I've started modding stuff etc, but i'm stuck because even though all the other changes work, the combat strength i changed doesn't change in-game.
Here is the code:
For example i gave 13 Strenght to Hoplites, yet in game they still show 9.
But for instance the stronger walls/castles work.
I'd be glad if you can find why, i see nothing wrong in the code...
Thanks in advance.
I've started modding stuff etc, but i'm stuck because even though all the other changes work, the combat strength i changed doesn't change in-game.
Here is the code:
Code:
<GameData>
<Technologies>
<Update>
<Set Disable="1"/>
<Where Type="TECH_GUNPOWDER"/>
</Update>
</Technologies>
<Buildings>
<Update>
<Set Defense="1500"/>
<Where Type="BUILDING_WALLS"/>
</Update>
<Update>
<Set Cost="50"/>
<Where Type="BUILDING_WALLS"/>
</Update>
<Update>
<Set Defense="3000"/>
<Where Type="BUILDING_CASTLE"/>
</Update>
<Update>
<Set Cost="100"/>
<Where Type="BUILDING_CASTLE"/>
</Update>
<Update>
<Set Cost="40"/>
<Where Type="BUILDING_BARRACKS"/>
</Update>
<Update>
<Set Cost="80"/>
<Where Type="BUILDING_ARMORY"/>
</Update>
<Update>
<Set GoldMaintenance="1"/>
<Where Type="BUILDING_ARMORY"/>
</Update>
</Buildings>
<Units>
<Update>
<Set Combat="13"/>
<Where Type="UNIT_GREEK_HOPLITE"/>
</Update>
<Update>
<Set Disable="1"/>
<Where Type="UNIT_KNIGHT"/>
</Update>
<Update>
<Set Combat="12"/>
<Where Type="UNIT_ARABIAN_CAMELARCHER"/>
</Update>
<Update>
<Set Combat="15"/>
<Where Type="UNIT_SIAMESE_WARELEPHANT"/>
</Update>
<Update>
<Set Disable="1"/>
<Where Type="UNIT_TREBUCHET"/>
</Update>
<Update>
<Set Combat="13"/>
<Where Type="UNIT_JAPANESE_SAMURAI"/>
</Update>
<Update>
<Set Combat="13"/>
<Where Type="UNIT_PERSIAN_IMMORTAL"/>
</Update>
</Units>
</GameData>
For example i gave 13 Strenght to Hoplites, yet in game they still show 9.
But for instance the stronger walls/castles work.
I'd be glad if you can find why, i see nothing wrong in the code...
Thanks in advance.