Conditional Value Adjustments

TillianSwoard

Chieftain
Joined
Jul 13, 2012
Messages
6
I am trying to create a mod for the first time and I would like to implement a balance adjustment based on map size. I have not done any modding previously but am somewhat familiar with basic coding.

The first issue I wanted to tackle was settlement limit There are some good examples of static adjustments like the one created by Riconatic but is it possible to do a conditional adjustment where the map size type (MAPSIZE_TINY, MAPSIZE_SMALL, MAPSIZE_STANDARD, MAPSIZE_LARGE, MAPSIZE_HUGE) is taken into account?

Looking through some of the gameeffects.xml there seem to be requirement brackets which are used to specify if an action or prerequisite is set but all of them only have a single instance and none of them seem to look like an if/then/else statement.
 
you may try criteria in the .modinfo

see

 
Back
Top Bottom