Reptilius
Chieftain
- Joined
- Mar 26, 2013
- Messages
- 9
Not Sure if im in the right place for this so sorry if im not
In the games CIV5Units.xml file there is line of code for advanced start cost like in civ 4
There is also code fore it in the GlobalDefines.xml file
the code appears to be present for vanilla and both expansions
But there is no advanced start option in game
Does Anyone know how to make this feature available in a mod?
In the games CIV5Units.xml file there is line of code for advanced start cost like in civ 4
Code:
<Class>UNITCLASS_WORKER</Class>
<Type>UNIT_WORKER</Type>
<Cost>70</Cost>
<Moves>2</Moves>
<Capture>UNITCLASS_WORKER</Capture> <CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_LOW</CivilianAttackPriority>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_WORKER</DefaultUnitAI>
<Description>TXT_KEY_UNIT_WORKER</Description> <Civilopedia>TXT_KEY_CIV5_ANTIQUITY_WORKER_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_WORKER_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_WORKER</Help>
[U]<AdvancedStartCost>20</AdvancedStartCost>[/U]
<WorkRate>100</WorkRate>
<CombatLimit>0</CombatLimit>
<UnitArtInfo>ART_DEF_UNIT__WORKER</UnitArtInfo>
<UnitArtInfoEraVariation>true</UnitArtInfoEraVariation>
<UnitFlagIconOffset>1</UnitFlagIconOffset>
<PortraitIndex>1</PortraitIndex>
<IconAtlas>UNIT_ATLAS_1</IconAtlas>
There is also code fore it in the GlobalDefines.xml file
Code:
<Row Name="ADVANCED_START_ALLOW_UNITS_OUTSIDE_CITIES">
<Value>0</Value>
</Row>
<Row Name="ADVANCED_START_MAX_UNITS_PER_CITY">
<Value>2</Value>
</Row>
<Row Name="ADVANCED_START_CITY_COST">
<Value>84</Value>
</Row>
<Row Name="ADVANCED_START_CITY_COST_INCREASE">
<Value>0</Value>
</Row>
<Row Name="ADVANCED_START_POPULATION_COST">
<Value>150</Value>
</Row>
<Row Name="ADVANCED_START_POPULATION_COST_INCREASE">
<Value>0</Value>
</Row>
<Row Name="ADVANCED_START_VISIBILITY_COST">
<Value>2</Value>
</Row>
<Row Name="ADVANCED_START_VISIBILITY_COST_INCREASE">
<Value>3</Value>
</Row>
<Row Name="ADVANCED_START_CITY_PLACEMENT_MAX_RANGE">
<Value>6</Value>
</Row>
the code appears to be present for vanilla and both expansions
But there is no advanced start option in game
Does Anyone know how to make this feature available in a mod?