Hello All,
I've been working on a revision to my Portuguese Civ mod and was wondering if it was possible to translate a Civilization trait (such as EmbarkedNotCivilian) into a Unit Promotion that I can give to the Portuguese unique unit. I've tried a few variations on the following code (without the table stuff, with tech requirement and priority), but nothing seems to work:
Any ideas? Is this something that will have to wait for the source code?
Thanks,
Joseph
PS: I know I'm doing the free promotion stuff right b/c I tried it first with Drill 1 and it works.
I've been working on a revision to my Portuguese Civ mod and was wondering if it was possible to translate a Civilization trait (such as EmbarkedNotCivilian) into a Unit Promotion that I can give to the Portuguese unique unit. I've tried a few variations on the following code (without the table stuff, with tech requirement and priority), but nothing seems to work:
Code:
<GameData>
<Table name="UnitPromotions">
<Column name="EmbarkedNotCivilian" type="boolean" default="false"/>
</Table>
<Unit_FreePromotions>
<Row>
<UnitType>UNIT_EXPLORADOR</UnitType>
<PromotionType>PROMOTION_EXPLORADOR</PromotionType>
</Row>
</Unit_FreePromotions>
<UnitPromotions>
<Row>
<Type>PROMOTION_EXPLORADOR</Type>
<Description>TXT_KEY_PROMOTION_EXPLORADOR</Description>
<Help>TXT_KEY_PROMOTION_EXPLORADOR</Help>
<Sound>AS2D_IF_LEVELUP</Sound>
<EmbarkedNotCivilian>true</EmbarkedNotCivilian>
<PortraitIndex>48</PortraitIndex>
<IconAtlas>ABILITY_ATLAS</IconAtlas>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>TXT_KEY_PEDIA_PROMOTION_EXPLORADOR</PediaEntry>
</Row>
</UnitPromotions>
</GameData>
Any ideas? Is this something that will have to wait for the source code?
Thanks,
Joseph
PS: I know I'm doing the free promotion stuff right b/c I tried it first with Drill 1 and it works.