This is the ModComp I made for Dune Wars that gives sound to the plot, and half of that value to the plots around it. This is applied for Cities,Buildings,Units,Promotions, and improvements.
Discussion Thread
Here!
Important Global Defines-
1 = True, 0 = False
MSOUND_SOUND_LEVEL_ENABLED = If the Mod is enabled
MSOUND_SHOW_SOUND_LEVEL_ZERO = If to show the value if it is 0
MSOUND_CITY_BASE_SOUND_LEVEL = The base amount of sound a city gives
MSOUND_CITY_POPULATION_SOUND_MULTIPLER = how much sound each population point gives
Also all my Functions are also exposed to Python, for easier use.
Functions
New XML Tags
Discussion Thread
Here!
Important Global Defines-
1 = True, 0 = False
MSOUND_SOUND_LEVEL_ENABLED = If the Mod is enabled
MSOUND_SHOW_SOUND_LEVEL_ZERO = If to show the value if it is 0
MSOUND_CITY_BASE_SOUND_LEVEL = The base amount of sound a city gives
MSOUND_CITY_POPULATION_SOUND_MULTIPLER = how much sound each population point gives
Also all my Functions are also exposed to Python, for easier use.
Functions
Spoiler :
New XML Tags
Spoiler :