chriscisco
Chieftain
- Joined
- Oct 2, 2014
- Messages
- 13
Hey,
I was looking for a way to make a technology give a promotion, much like optics gives PROMOTION_EMBARKATION.
This is what I did but when I research the technology my units do not receive the promotion. It also does not show up under the technology in the technology tree.
Any help would be appreciated, Thanks.
<UnitPromotions>
<!-- Need new icon for trenches promotion-->
<Row>
<Type>PROMOTION_TRENCHES</Type>
<Description>TXT_KEY_PROMOTION_TRENCHES</Description>
<Help>TXT_KEY_PROMOTION_TRENCHES_HELP</Help>
<Sound/>
<DefenseMod>50</DefenseMod>
<TechPrereq>TECH_TRENCH_WARFARE</TechPrereq>
<PortraitIndex>57</PortraitIndex>
<CannotBeChosen>true</CannotBeChosen>
<IconAtlas>ABILITY_ATLAS</IconAtlas>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>TXT_KEY_PEDIA_PROMOTION_TRENCHES</PediaEntry>
</Row>
</UnitPromotions>
<UnitPromotions_UnitCombats>
<Row>
<PromotionType>PROMOTION_TRENCHES</PromotionType>
<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_TRENCHES</PromotionType>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
</Row>
</UnitPromotions_UnitCombats>
P.S. The full mod WIP
https://onedrive.live.com/redir?resid=8433BEE2D91A6305!208&authkey=!AM8Eu1KwFn9HvWw&ithint=file,7z
I was looking for a way to make a technology give a promotion, much like optics gives PROMOTION_EMBARKATION.
This is what I did but when I research the technology my units do not receive the promotion. It also does not show up under the technology in the technology tree.
Any help would be appreciated, Thanks.
Spoiler :
<UnitPromotions>
<!-- Need new icon for trenches promotion-->
<Row>
<Type>PROMOTION_TRENCHES</Type>
<Description>TXT_KEY_PROMOTION_TRENCHES</Description>
<Help>TXT_KEY_PROMOTION_TRENCHES_HELP</Help>
<Sound/>
<DefenseMod>50</DefenseMod>
<TechPrereq>TECH_TRENCH_WARFARE</TechPrereq>
<PortraitIndex>57</PortraitIndex>
<CannotBeChosen>true</CannotBeChosen>
<IconAtlas>ABILITY_ATLAS</IconAtlas>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>TXT_KEY_PEDIA_PROMOTION_TRENCHES</PediaEntry>
</Row>
</UnitPromotions>
<UnitPromotions_UnitCombats>
<Row>
<PromotionType>PROMOTION_TRENCHES</PromotionType>
<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_TRENCHES</PromotionType>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
</Row>
</UnitPromotions_UnitCombats>
P.S. The full mod WIP
https://onedrive.live.com/redir?resid=8433BEE2D91A6305!208&authkey=!AM8Eu1KwFn9HvWw&ithint=file,7z