Variable System

Sto

Should i code today ...
Joined
Dec 15, 2005
Messages
1,144
Location
Marseille (France)
Here the list of the default variable system and how to change them into your MOD :

Edit : Something i don't understand is when you need to put the line (sometimes i need to and sometimes not so i've annoted the file ):
CyVariableSystem().setValueInt('MODS_SHOULD_OVERRIDE_GLOBAL_DEFINES_HERE',1)

Edit : It seems that most of the variable system can be set with XML into "<civ4 folder>\Assets\XML\GlobalDefines.xml". So this mehod is usefull when you need to change some variables dynamicaly during the game via python .
 

Attachments

Back
Top Bottom