[HELP] Growth

Allinuse

Chieftain
Joined
Jan 7, 2018
Messages
37
I've been trying to get some more play in the earlier eras by increasing tech costs and game speeds turns without increasing construction costs (I made gold focus available from mining just to not have to spam and delete units). I had to increase <GrowthPercent> to prevent cities from spiraling out of control, and I think the settler is connected to <GrowthPercent>. This makes early expansion really slow since the settlers take too long to train.

I've been looking for a possible workaround.
Could it be possible to add something like <Cost>75</Cost> to make it dependent on this rather than growth speed?

Spoiler Settler :
<Row>
<ID>0</ID>
<Class>UNITCLASS_SETTLER</Class>
<Type>UNIT_SETTLER</Type>
<Moves>2</Moves>
<Capture>UNITCLASS_WORKER</Capture>
<CivilianAttackPriority>CIVILIAN_ATTACK_PRIORITY_HIGH_EARLY_GAME_ONLY</CivilianAttackPriority>
<HurryCostModifier>20</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>
</Row>


Alternatively, is there another way to slow down the growth rate of cities than increasing <GrowthPercent>?
Apart from going into buildings and decreasing all food yields, that one is going to be hard to balance and I don't know how much of an effect it would have.

I guess another alternate solution would be how to make everyone start with 2-3 settlers.
 

Allinuse

Chieftain
Joined
Jan 7, 2018
Messages
37
<CapitalSettlerProductionModifier>50</CapitalSettlerProductionModifier>

I guess this one can be used... Will try to attach it to agriculture.

EDIT1: That led to ctd on startup, guess I will try to attach it to all the starting policies instead.

EDIT2: That works, but I don't really want every policy you start to multiply the bonus, have to think of something else.

EDIT3: I tried changing it to <SettlerProductionModifier>100</SettlerProductionModifier> and adding it to the palace in buildings, caused a ctd just like adding it to techs.

EDIT4: I found something in gamedefines
Spoiler Growth :

<Row Name="BASE_CITY_GROWTH_THRESHOLD">
<Value>15</Value>
</Row>
<Row Name="CITY_GROWTH_MULTIPLIER">
<Value>8</Value>
</Row>
<Row Name="CITY_GROWTH_EXPONENT">
<Value>1.5</Value>
</Row>
<Row Name="FOOD_CONSUMPTION_PER_POPULATION">
<Value>2</Value>
</Row>


Maybe some of these values could be tweaked to make cities grow at about half the usual rate and then lower growthpercent in gamespeeds to be able to make settlers faster. The only problem is I don't understand the 3 first ones here.
 
Last edited:
Top Bottom