I've been playing with my simple mod and it worked quite well, until i added a few changes about promotions.
Here's the complete mod xml:
Been working with kael's mod guide, and as far as i can tell, it all seems fine. I alos hav ethe "onupdate -load file" thing set so its not that. But when i start a new game with this mod, none of the changes have any effect. Before i added the part about promotions, the changes worked fine.
ANy ideas?
Here's the complete mod xml:
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
<Defines>
<Update>
<Set Value="15"/>
<Where Name="MAX_HIT_POINTS"/>
</Update>
<Update>
<Set Value="50"/>
<Where Name="MAX_CITY_HIT_POINTS"/>
</Update>
<Update>
<Set Value="2"/>
<Where Name="CITY_HIT_POINTS_HEALED_PER_TURN"/>
</Update>
<Update>
<Where Name="UNIT_MAINTENANCE_GAME_MULTIPLIER" />
<Set Value="5" />
</Update>
<Update>
<Where Name="UNIT_MAINTENANCE_GAME_EXPONENT_DIVISOR" />
<Set Value="10" />
</Update>
<Update>
<Where Name="RIVER_ATTACK_MODIFIER" />
<Set Value="-70" />
</Update>
</Defines>
<Units>
<Update>
<Where Class="UNITCLASS_MECH"/>
<Set Combat="100"/>
</Update>
</Units>
<Unit_ResourceQuantityRequirements>
<Row>
<UnitType>UNIT_MECHANIZED_INFANTRY</UnitType>
<ResourceType>RESOURCE_IRON</ResourceType>
</Row>
</Unit_ResourceQuantityRequirements>
<UnitPromotions>
<Update>
<Set TechPrereq="TECH_FUTURE_TECH" />
<Where PromotionType="PROMOTION_INSTA_HEAL"/>
</Update>
<Update>
<Set OpenAttack="5" />
<Set OpenDefense="5" />
<Where Type="PROMOTION_SHOCK_1" />
</Update>
<Update>
<Set OpenAttack="10" />
<Set OpenDefense="10" />
<Where Type="PROMOTION_SHOCK_2" />
</Update>
<Update>
<Set OpenAttack="10" />
<Set OpenDefense="10" />
<Where Type="PROMOTION_SHOCK_3" />
</Update>
<Update>
<Set RoughAttack="5" />
<Set RoughDefense="5" />
<Where Type="PROMOTION_DRILL_1" />
</Update>
<Update>
<Set RoughAttack="10" />
<Set RoughDefense="10" />
<Where Type="PROMOTION_DRILL_2" />
</Update>
<Update>
<Set RoughAttack="10" />
<Set RoughDefense="10" />
<Where Type="PROMOTION_DRILL_3" />
</Update>
</UnitPromotions>
</GameData>
Been working with kael's mod guide, and as far as i can tell, it all seems fine. I alos hav ethe "onupdate -load file" thing set so its not that. But when i start a new game with this mod, none of the changes have any effect. Before i added the part about promotions, the changes worked fine.
ANy ideas?