CIV4PromotionInfos

This page is incomplete and is missing information.
Missing info is usually marked with something like Not Sure or simply left blank.
Do not remove this until this is complete
Contents
[hide]
1 Summary
2 Single Line Tags
2.1 Text Tags
2.2 Boolean
2.3 Integer
3 Multi Line Tags
4 Example

[edit]Summary
This file contains the variables that define the abilites that can be given to Units by Promotions.

[edit]Single Line Tags
[edit]Text Tags
Type = This is the name with which the promotion is identified
Description = Refers to a tag in CIV4GameTextInfos_Objects.xml that stores the in-game name of the promotion.
Sound = The sound played on promotion of the unit
PromotionPrereqOr1 = If the promotion requires another promotion before it can be had, that is listed here.
PromotionPrereqOr2 = A second promotion pre-requisite (if needed)
TechPrereq = The Tech required for this promotion
Button = Has two entries separated with comma. Second entry defines the art used for the button (includes Civilopedia button) and the 'circle-above-map' arrow. The two numbers following the second entry are the position of the button in the DDS (think Unit32.pcx back in Civ-3). First number is the column, second is the line. I'm not sure what does exactly the fist entry: It links to the same button but doesn't seem to be enough by itself.


[edit]Boolean
bBlitz = Allows the unit to Blitz
bAmphib = Makes the unit Amphibious
bRiver = Makes the unit ignore enemy defence bonuses for Rivers
bEnemyRoute = Allows the unit to use enemy Roads and Railroads
bAlwaysHeal = Allows the unit to heal when on the move
bHillsDoubleMove = Gives the unit double movement on Hills
bImmuneToFirstStrikes = Makes the unit immune to First Strikes
bAltDown = If set to '1', the 'Alt' key must be pressed with the Hotkey.
bShiftDown = If set to '1', the 'Shift' key must be pressed with the Hotkey.
bCtrlDown = If set to '1', the 'Ctrl' key must be pressed with the Hotkey.


[edit]Integer
iVisibilityChange = Allows the unit to see the set amount more squares.
iMovesChange = Increases the movement of the unit by the set amount
iMoveDiscountChange = Decreases the cost of moving by the set amount, to a minimum of 1??
iWithdrawalChange = Changes the unit's chance of withdrawing when losing in combat by the set percentage.
iCollateralDamageChange = Increases the Collateral Damage done by the unit by the set amount.
iBombardRateChange = Increases the Bombard damage of the unit by the set percentage
iFirstStrikesChange = Changes the amount of First Strikes the unit has by the set amount.
iChanceFirstStrikesChange = Changes the amount of possible First Strikes the unit has by the set amount.
iEnemyHealChange = Changes the damage healing capabilities of a unit in enemy territory by the set percentage.
iNeutralHealChange = Changes the damage healing capabilities of a unit in neutral territory by the set percentage.
iFriendlyHealChange = Changes the damage healing capabilities of a unit in friendly territory by the set percentage.
iSameTileHealChange = Changes the damage healing capabilities of a unit in the same square by the set percentage.
iAdjacentTileHealChange = Changes the damage healing capabilities of a unit in adjacent squares by the set percentage.
iCombatPercent = Changes the combat value of the unit by the set percentage.
iCityAttack = Changes the city attack combat modifier by the set percentage.
iCityDefense = Changes the city defence combat modifier by the set percentage.
iHillsDefense = Changes the hills defence combat modifier by the set percentage.
iHotKeyPriority = If several objects have the same Hotkey defined, this value is compared to determine their internal priority.
[edit]Multi Line Tags
TerrainDefenses = Changes the modifier for defending in the specified types of Terrain by the set percentages.
FeatureDefenses = Changes the modifier for defending in the specified types of Feature by the set percentages.
UnitCombatMods = Changes the bonus when fighting against specific Unit Combat Types by the set percentages.
DomainMods = Changes the bonus when fighting against specific Domain by the set percentages.
TerrainDoubleMoves = Halfs the movement cost in the set Terrains
FeatureDoubleMoves = Halfs the movement cost in the set Feature
UnitCombats = The Unit Combat Types of unit which can have this promotion
HotKey = Defines Hotkey for this Promotion. Not used in standard game.

[edit]Example
Blitz

<PromotionInfo>
<Type>PROMOTION_BLITZ</Type>
<Description>TXT_KEY_PROMOTION_BLITZ</Description>
<Sound>AS2D_IF_LEVELUP</Sound>
<PromotionPrereqOr1>PROMOTION_COMBAT3</PromotionPrereqOr1>
<PromotionPrereqOr2>NONE</PromotionPrereqOr2>
<TechPrereq>NONE</TechPrereq>
<bBlitz>1</bBlitz>
<bAmphib>0</bAmphib>
<bRiver>0</bRiver>
<bEnemyRoute>0</bEnemyRoute>
<bAlwaysHeal>0</bAlwaysHeal>
<bHillsDoubleMove>0</bHillsDoubleMove>
<bImmuneToFirstStrikes>0</bImmuneToFirstStrikes>
<iVisibilityChange>0</iVisibilityChange>
<iMovesChange>0</iMovesChange>
<iMoveDiscountChange>0</iMoveDiscountChange>
<iWithdrawalChange>0</iWithdrawalChange>
<iCollateralDamageChange>0</iCollateralDamageChange>
<iBombardRateChange>0</iBombardRateChange>
<iFirstStrikesChange>0</iFirstStrikesChange>
<iChanceFirstStrikesChange>0</iChanceFirstStrikesChange>
<iEnemyHealChange>0</iEnemyHealChange>
<iNeutralHealChange>0</iNeutralHealChange>
<iFriendlyHealChange>0</iFriendlyHealChange>
<iSameTileHealChange>0</iSameTileHealChange>
<iAdjacentTileHealChange>0</iAdjacentTileHealChange>
<iCombatPercent>0</iCombatPercent>
<iCityAttack>0</iCityAttack>
<iCityDefense>0</iCityDefense>
<iHillsDefense>0</iHillsDefense>
<TerrainDefenses/>
<FeatureDefenses/>
<UnitCombatMods/>
<DomainMods/>
<TerrainDoubleMoves/>
<FeatureDoubleMoves/>
<UnitCombats>
<UnitCombat>
<UnitCombatType>UNITCOMBAT_MOUNTED</UnitCombatType>
<bUnitCombat>1</bUnitCombat>
</UnitCombat>
<UnitCombat>
<UnitCombatType>UNITCOMBAT_ARMOR</UnitCombatType>
<bUnitCombat>1</bUnitCombat>
</UnitCombat>
<UnitCombat>
<UnitCombatType>UNITCOMBAT_HELICOPTER</UnitCombatType>
<bUnitCombat>1</bUnitCombat>
</UnitCombat>
</UnitCombats>
<HotKey/>
<bAltDown>0</bAltDown>
<bShiftDown>0</bShiftDown>
<bCtrlDown>0</bCtrlDown>
<iHotKeyPriority>0</iHotKeyPriority>
<Button>,Art/Interface/Buttons/Promotions/Blitz.dds,Art/Interface/Buttons/Promotions_Atlas.dds,8,1</Button>
</PromotionInfo>

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License