Modding: ChangeWorld game modifier list

Published on Saturday, September 1, 2012 By Brad Wardell In FE Modding

For those of you modding, we have added a new type of game modifier called ChangeWorld.

It requires code to be used to determine which world variable is being set.

Example:

Code: xml
  1. <GameModifier>
  2. <ModType>Map</ModType>
  3. <Attribute>ChangeWorld</Attribute>
  4. <StrVal>148</StrVal>
  5. <StrVal2>5</StrVal2>
  6. </GameModifier>

This sets variable index 148 to 5.  index 148 is the number of accessories a unit can equip (defaults to 4).

Here are others for future reference:

4. Base Unit Wages

10. Training Units consumes population (1 = true, 0 = false)

17. City Maint Cost exponent (currently 0).  If 18 is set, then you could have more cities cost more and more.

18. City Maint Base Cost (currently 0). 

42. The exponential growth on how much XP it takes to level up. It's currently around 2.90 (higher means harder to level up)

52. How much money sovereigns generate per turn (currently 0)

53. Same for mana (currently 0)

117. Global Hit Point bonus (in case you want to give everyone more HP in your quest or improvement or whatever)

145. Cost per labor to rush production

147. Max units that you can station in a city

148. Max number of accessories a unit can have.

149. Minimum turns required to train or build something (currently 3)

I'll add more.

Incidentally, all this and more can be changed in elementaldefs.xml. It's pretty self explanatory.