How to mod unhappines?

Spectrum

Chieftain
Joined
Jul 12, 2017
Messages
21
Hi all.

I'm trying to reduce the unhappines due to population and city number in the standard unmodded game, and I have changed some values in the GlobalDefines.xml archive inside Assets\Gameplay\XML.
My intention is to reduce the amount of unhappines to 25% of the initial values, so I have made these changes but unhappines runs as always.

<Row Name="UNHAPPINESS_PER_POPULATION">
<Value>0.25</Value>
</Row>

<Row Name="UNHAPPINESS_PER_CITY">
<Value>0.75</Value>
</Row>

Why it doesn't work? Are the unhappines values hardcoded in the game? Any other way to solve the problem?
 
If you edited those and nothing happened, then you probably own Gods and Kings or Brave New World.

Those expansions have their own files that are loaded instead of the one in the default folder, you can find them in DLC/Expansion1(or 2 for BNW).
 
If you edited those and nothing happened, then you probably own Gods and Kings or Brave New World.

Those expansions have their own files that are loaded instead of the one in the default folder, you can find them in DLC/Expansion1(or 2 for BNW).

Oh, yes, you are right. Thank you very much!
 
Back
Top Bottom