policy_FreePromotions help please

Cepheus75

Chieftain
Joined
Oct 30, 2014
Messages
22
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>
<!-- This does not work I am simply trying to give explorers +1 visibility range-->
<UnitPromotions>
<Row>
<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>​
</UnitPromotions>​


<UnitPromotions_UnitCombats>
<Row>
<PromotionType>PROMOTION_PATHFINDER</PromotionType>
<UnitCombatType>UNITCOMBAT_RECON</UnitCombatType>
</Row>​
</UnitPromotions_UnitCombats>​


<Policy_FreePromotions>
<Row>
<PolicyType>POLICY_PROSPERITY_7</PolicyType>
<PromotionType>PROMOTION_PATHFINDER</PromotionType>
</Row>​
</Policy_FreePromotions>​

<!-- this works.... it is the easy part just takes away some expedition charges-->
<Policies>
<Update>
<Set ExplorerExpeditionCharges="1"/>
<Where Type="POLICY_PROSPERITY_7"/>
</Update>​
</Policies>​
</GameData>
 
I go the mechanics of this this mod working now. Just having trouble making +1 sight come up as a bullet point on pathfinders on the virtues screen. Anyone have any suggestions.

Text for +1 sight does come up on the explorer however and the game effect works. :D Soooooo close
 
In "assets\Gameplay\XML\Text\en_US" there is:

<Row Tag="TXT_KEY_POLICY_EFFECT_EXPLORER_EXPEDITION_CHARGES">
<Text>Explorer Units can build {1_Num} additional {1_Num: plural 1?Expedition; other?Expeditions;}</Text>
</Row>

Which would need updating.
 
Top Bottom