Trying my hand at some simple balance changes, namely how health affects yields.
Using the following to affect the yield values (as an example):
However, when attempting something similar with the brackets within which these bonuses apply, it doesn't work:
Not only does this not work, for some reason, this causes the yield adjustment (which works on its own) to be ignored, as well.
Possible conflict due to the same name? Though they are in different categories...
Also, is there a simpler way to overwrite integers in the game than using the <update> function?
EDIT: Nevermind, after I tried putting this into two different xml files, it worked just fine (even though it's in the one file in the game's data).
EDIT2: And then it stopped working again, for no apparent reason...
Using the following to affect the yield values (as an example):
Code:
<GameData>
<HealthLevels_CityYieldModifiersPerPoint>
<Update>
<Where HealthLevelType="HEALTH_LEVEL_BONUS_PRODUCTION" />
<Set Yield="2" />
Code:
<GameData>
<HealthLevels>
<Update>
<Where Type="HEALTH_LEVEL_BONUS_PRODUCTION" />
<Set HealthStart="0" />
Possible conflict due to the same name? Though they are in different categories...
Also, is there a simpler way to overwrite integers in the game than using the <update> function?
EDIT: Nevermind, after I tried putting this into two different xml files, it worked just fine (even though it's in the one file in the game's data).
EDIT2: And then it stopped working again, for no apparent reason...