Hi guys,
I am trying to do, what I thought would be a simple change. I would like to change the pathfinder promotion from +3 expedition modules to +1 expedition module and +1 visibility range for explorers only. The code I have is below. The 1 expedition module part works but the +1 visiblity range is not working for me. This the the best I could come up with from looking at Civ V and Civ BE XML directories. Any help appreciated.
Cepheus
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 10/29/2014 5:49:42 AM -->
<GameData>
I am trying to do, what I thought would be a simple change. I would like to change the pathfinder promotion from +3 expedition modules to +1 expedition module and +1 visibility range for explorers only. The code I have is below. The 1 expedition module part works but the +1 visiblity range is not working for me. This the the best I could come up with from looking at Civ V and Civ BE XML directories. Any help appreciated.
Cepheus
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 10/29/2014 5:49:42 AM -->
<GameData>
<!-- This does not work I am simply trying to give explorers +1 visibility range-->
<UnitPromotions>
<UnitPromotions>
<Row>
</UnitPromotions><Type>PROMOTION_PATHFINDER</Type>
<Description>Pathfinder</Description>
<Help>+1 Visibility Range</Help>
<Sound>AS2D_IF_LEVELUP</Sound>
<OrderPriority>1</OrderPriority>
<VisibilityChange>1</VisibilityChange>
<PortraitIndex>3</PortraitIndex>
<IconAtlas>WONDER_ATLAS</IconAtlas>
<PediaType>PEDIA_SHARED</PediaType>
<PediaEntry>Pathfinder grants +1 visibility range to Explorers</PediaEntry>
</Row><Description>Pathfinder</Description>
<Help>+1 Visibility Range</Help>
<Sound>AS2D_IF_LEVELUP</Sound>
<OrderPriority>1</OrderPriority>
<VisibilityChange>1</VisibilityChange>
<PortraitIndex>3</PortraitIndex>
<IconAtlas>WONDER_ATLAS</IconAtlas>
<PediaType>PEDIA_SHARED</PediaType>
<PediaEntry>Pathfinder grants +1 visibility range to Explorers</PediaEntry>
<UnitPromotions_UnitCombats>
<Row>
<PromotionType>PROMOTION_PATHFINDER</PromotionType>
<UnitCombatType>UNITCOMBAT_RECON</UnitCombatType>
</Row>
</UnitPromotions_UnitCombats><PromotionType>PROMOTION_PATHFINDER</PromotionType>
<UnitCombatType>UNITCOMBAT_RECON</UnitCombatType>
</Row>
<Policy_FreePromotions>
<Row>
<PolicyType>POLICY_PROSPERITY_7</PolicyType>
<PromotionType>PROMOTION_PATHFINDER</PromotionType>
</Row>
</Policy_FreePromotions><PolicyType>POLICY_PROSPERITY_7</PolicyType>
<PromotionType>PROMOTION_PATHFINDER</PromotionType>
</Row>
<!-- this works.... it is the easy part just takes away some expedition charges-->
<Policies>
</GameData><Policies>
<Update>
<Set ExplorerExpeditionCharges="1"/>
<Where Type="POLICY_PROSPERITY_7"/>
</Update>
</Policies><Set ExplorerExpeditionCharges="1"/>
<Where Type="POLICY_PROSPERITY_7"/>
</Update>