Sea Storms

Horem

Emperor
Joined
Apr 1, 2010
Messages
1,721
Location
Wales, UK
Hello peeps, I was wondering how to either disable or reduce(Prefered) the amount of storms that spawn in and around the sea. To about half of what it is now.

Last game, Standard map using the perfectworld2 option, and I counted over a 100 storms.

Edit:
Ah Perfectstorm option has no storms :)
I'd still liek to know how to just reduce the storms though ;)

def createStorm():
gc = CyGlobalContext()
mmap = gc.getMap()
featureStorm = gc.getInfoTypeForString("FEATURE_STORM")
stormChance = 0.08

for y in range(mc.height - 1):
if ( y >= 5 and y <= (mc.height - 5)):
for x in range(mc.width):
plot = mmap.plot(x,y)
if plot != 0 and plot.isWater() == True and PRand.random() < stormChance:
plot.setFeatureType(featureStorm,0)

Found this in the py, guessing I need to change something here? (Python is a bit over ma head atm)
 
me too, it was possible with earlier version of AND, but can't found the switch anymore.
 
HEHE !!!!
Found it.
If you install AND, hum no: YOU MUST install AND, than ingame you open the ROM setting (click the bug icone on the upper left of the screen), than ROM SETTING, there you will found a switch for storm on the bottom right.
 
Top Bottom