Basically I have 0 knowledge about coding, but I want to add more effects to Rome's trait, such as all units starting with medic I and cover I, as well as incorporating Montezuma and Napoleon's unique abilities.
After struggling a bit, I came up with this:
Obviously it doesn't work, but I don't understand why. Could anyone tell me what I've done wrong?
Also I would like to know if its possible to also make every Roman ground melee unit build roads and forts like the Legion.
After struggling a bit, I came up with this:
Spoiler :
<GameData>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<CultureFromKills>100</CultureFromKills>
</Set>
</Update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<CityCultureBonus>5</CityCultureBonus>
</Set>
</Update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<PromotionType>PROMOTION_COVER_1</PromotionType>
</Set>
</Update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<promotionType>PROMOTION_MEDIC_1</promotionType>
<update>
<Where Type="Trait_CAPITAL_BUILDINGS_CHEAPER"/>
<set>
<Type>ROUTE_ROAD</Type>
<Description>TXT_KEY_ROUTE_ROAD</Description>
<Value>1</Value>
<AdvancedStartCost>12</AdvancedStartCost>
<Movement>30</Movement>
<FlatMovement>30</FlatMovement>
<GoldMaintenance>0</GoldMaintenance>
</set>
</update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<RouteType>ROUTE_ROAD</RouteType>
<TechType>TECH_MACHINERY</TechType>
<MovementChange>-30</MovementChange>
</Set>
</Update>
</GameData>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<CultureFromKills>100</CultureFromKills>
</Set>
</Update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<CityCultureBonus>5</CityCultureBonus>
</Set>
</Update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<PromotionType>PROMOTION_COVER_1</PromotionType>
</Set>
</Update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<promotionType>PROMOTION_MEDIC_1</promotionType>
<update>
<Where Type="Trait_CAPITAL_BUILDINGS_CHEAPER"/>
<set>
<Type>ROUTE_ROAD</Type>
<Description>TXT_KEY_ROUTE_ROAD</Description>
<Value>1</Value>
<AdvancedStartCost>12</AdvancedStartCost>
<Movement>30</Movement>
<FlatMovement>30</FlatMovement>
<GoldMaintenance>0</GoldMaintenance>
</set>
</update>
<Update>
<Where Type="TRAIT_CAPITAL_BUILDINGS_CHEAPER"/>
<Set>
<RouteType>ROUTE_ROAD</RouteType>
<TechType>TECH_MACHINERY</TechType>
<MovementChange>-30</MovementChange>
</Set>
</Update>
</GameData>
Obviously it doesn't work, but I don't understand why. Could anyone tell me what I've done wrong?
Also I would like to know if its possible to also make every Roman ground melee unit build roads and forts like the Legion.