thombran
Chieftain
Hi all,
Currently working on a mod, mostly tweaking Expansion1_Governments.xml
The flat inherent bonuses to governments (not replicated in their wildcard policies) are set as "GOVERNMENTBONUS_X" Values. The xml file in question allows you to modify their percentage values, but not the type of value itself. I want to create some entirely new values for some governments, but I cannot find where "GOVERNMENTBONUS" is defined in Assets/Gameplay (since presumably I would have to find the mother file and manually define the new GOVERNMENTBONUS Types to reference upon). It seems unlikely this is defined in Governments.xml itself, since it does not specifiy what the value does or what it targets*, it seems only to be a reference to the value which should be defined elsewhere (I'm guessing another .xml file but I cannot find it).
Does anybody know where the GOVERNMENTBONUS values are defined?
*In the case that they are indeed defined in Governments.xml, where does it define what they target? For example, in
it sets the percetange rate in the following row but does not specify any further, such as if it refers to envoy points, treshold, or tokens. Similarly,
does not define whether the parameter is global to all player cities and what it means by "wonder" - leading me to conclude that these values are defined elsewhere.
Many thanks,
TB.
Currently working on a mod, mostly tweaking Expansion1_Governments.xml
The flat inherent bonuses to governments (not replicated in their wildcard policies) are set as "GOVERNMENTBONUS_X" Values. The xml file in question allows you to modify their percentage values, but not the type of value itself. I want to create some entirely new values for some governments, but I cannot find where "GOVERNMENTBONUS" is defined in Assets/Gameplay (since presumably I would have to find the mother file and manually define the new GOVERNMENTBONUS Types to reference upon). It seems unlikely this is defined in Governments.xml itself, since it does not specifiy what the value does or what it targets*, it seems only to be a reference to the value which should be defined elsewhere (I'm guessing another .xml file but I cannot find it).
Does anybody know where the GOVERNMENTBONUS values are defined?
*In the case that they are indeed defined in Governments.xml, where does it define what they target? For example, in
Code:
<Value>GOVERNMENTBONUS_ENVOYS</Value>
Code:
<Value>GOVERNMENTBONUS_WODER_CONSTRUCTION</Value>
Many thanks,
TB.