How to edit xml files to change vanilla game values?

kangax

Chieftain
Joined
Jul 19, 2014
Messages
17
First of all, sorry for this newbie question...
I edited globaldefines.xml file to change "UNHAPPINESS_PER_POPULATION" value. I did exactly what kael modding guide say. The row I edited is this:

<Row Name="UNHAPPINESS_PER_POPULATION">
<Update>
<Where Name="UNHAPPINESS_PER_POPULATION"/>
<Set Value = "0"/>
</Update>
</Row>
I also tried same way to change other happiness and unhappiness values in globaldefines.xml.
I also changed happiness values for buildings.xml and resources.xml. But neither of them is working. Is changing happiness values are impossible or am I doing something wrong?

Moderator Action: Moved to the main C&C forum as that is where questions belong.
 
Top Bottom