I want to limit all AI Civilisations to 3 cities.
I have edited the in-game files making it so each Civ starts with three settler units.
The next step would be to make it so neither myself nor any AI can product or buy any further settlers.
In order to attempt to do this I have also edited the CIV5Units .XML file and in the settlers section I have included the new line and i have also changed the following line
(See highlighted colours below).
However, when starting a new game to test whether I can still produce another settler, it is still possible when theoretically it shouldn't be? (Ancient Era, Community Patch).
I have also tried putting the values at super high values to effectively achieve the same effect, again with no success.
Can anyone help me out?
Row>
<ID>0</ID>
<Class>UNITCLASS_SETTLER</Class>
<Type>UNIT_SETTLER</Type>
<Cost>-1</Cost>
<Moves>2</Moves>
<Capture>UNITCLASS_WORKER</Capture>
<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH_EARLY_GAME_ONLY</CivilianAttackPriority>
<HurryCostModifier>-1</HurryCostModifier>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_SETTLE</DefaultUnitAI>
<Description>TXT_KEY_UNIT_SETTLER</Description>
<Civilopedia>TXT_KEY_CIV5_ANTIQUITY_SETTLER_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_SETTLER_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_SETTLER</Help>
<Requirements>TXT_KEY_NO_ACTION_SETTLER_SIZE_LIMIT_HARDCODED</Requirements>
<Food>true</Food>
<Found>true</Found>
<CombatLimit>0</CombatLimit>
<UnitArtInfo>ART_DEF_UNIT__SETTLER</UnitArtInfo>
<UnitArtInfoCulturalVariation>true</UnitArtInfoCulturalVariation>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>UNIT_ATLAS_1</IconAtlas>
I have edited the in-game files making it so each Civ starts with three settler units.
The next step would be to make it so neither myself nor any AI can product or buy any further settlers.
In order to attempt to do this I have also edited the CIV5Units .XML file and in the settlers section I have included the new line and i have also changed the following line
(See highlighted colours below).
However, when starting a new game to test whether I can still produce another settler, it is still possible when theoretically it shouldn't be? (Ancient Era, Community Patch).
I have also tried putting the values at super high values to effectively achieve the same effect, again with no success.
Can anyone help me out?
Row>
<ID>0</ID>
<Class>UNITCLASS_SETTLER</Class>
<Type>UNIT_SETTLER</Type>
<Cost>-1</Cost>
<Moves>2</Moves>
<Capture>UNITCLASS_WORKER</Capture>
<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH_EARLY_GAME_ONLY</CivilianAttackPriority>
<HurryCostModifier>-1</HurryCostModifier>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_SETTLE</DefaultUnitAI>
<Description>TXT_KEY_UNIT_SETTLER</Description>
<Civilopedia>TXT_KEY_CIV5_ANTIQUITY_SETTLER_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_SETTLER_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_SETTLER</Help>
<Requirements>TXT_KEY_NO_ACTION_SETTLER_SIZE_LIMIT_HARDCODED</Requirements>
<Food>true</Food>
<Found>true</Found>
<CombatLimit>0</CombatLimit>
<UnitArtInfo>ART_DEF_UNIT__SETTLER</UnitArtInfo>
<UnitArtInfoCulturalVariation>true</UnitArtInfoCulturalVariation>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>UNIT_ATLAS_1</IconAtlas>