SlipperyJim
Prince
(originally posted on the Tutorials, Reference, & Guides forum by mistake)
Maybe I'm too much of a warmonger, but the Aggressive trait seems limited to me. Why do only your Melee and Gunpowder units get the free promotion? It's not as if Combat I is some totally unbalancing bonus, after all. Furthermore, it seems lacking in realism. The feared Mongol Keshiks get absolutely no bonus from their Khan's Aggressive trait?
So, mod it, right? Except I tried that, and it didn't work. Now I'm asking for help. As far as I can tell, the traits are defined in the Civ4TraitInfos.xml file. Within the definition of the Agressive trait, I found this block:
That defines my free promotion as Combat I. Okay, so far, so good. After that section, there's another block:
That block specifies which types of units get the free Combat I promotion. Here's what I wanted to change, so I added a few other unit types (such as mounted) to the list. Here's what I got:
I saved the changed file into my CustomAssets folder (in the xml\civilizations path), cleared my cache, and started a new game as Kublai Khan. Imagine my shock when my new Keshiks didn't get the free promotion.
What did I do wrong? Did I forget something? Do I need to use Python, too? Any assistance would be greatly appreciated.
Maybe I'm too much of a warmonger, but the Aggressive trait seems limited to me. Why do only your Melee and Gunpowder units get the free promotion? It's not as if Combat I is some totally unbalancing bonus, after all. Furthermore, it seems lacking in realism. The feared Mongol Keshiks get absolutely no bonus from their Khan's Aggressive trait?

So, mod it, right? Except I tried that, and it didn't work. Now I'm asking for help. As far as I can tell, the traits are defined in the Civ4TraitInfos.xml file. Within the definition of the Agressive trait, I found this block:
Code:
<FreePromotions>
<FreePromotion>
<PromotionType>PROMOTION_COMBAT1</PromotionType>
<bFreePromotion>1</bFreePromotion>
</FreePromotion>
</FreePromotions>
Code:
<FreePromotionUnitCombats>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
</FreePromotionUnitCombats>
Code:
<FreePromotionUnitCombats>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_MOUNTED</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
</FreePromotionUnitCombats>
What did I do wrong? Did I forget something? Do I need to use Python, too? Any assistance would be greatly appreciated.