Log in

View Full Version : Question: How to disable flash flood event?



Slaists
07-10-2007, 00:18
Question to the modders: is there a way to disable flash-flood events? If yes, how can it be done?

Thank you in advance.

alpaca
07-10-2007, 11:15
Moved to modding questions.

I'm not 100% sure, but it looks pretty hardcoded to me.

Augustus Germanicus
07-11-2007, 08:32
I'm not 100% sure this is right, but I wanted to disable them too, because of some bug which makes forts/towers forever unbuildable in regions hit. Anyway, here's what I did and it seems to have worked, no buggy disasters since:

Find a file called descr_disasters in the data\world\maps\base directory.
Open it with notepad.
Put a ; before each of the lines of the disaster you want stopped. Basically tells the game to ignore that line. I guess deleting them would do the same thing but I wasn't sure how the game would react to the lines being removed and wanted to be able to undo the changes easily.
Save and play, haven't had a problem, or a disaster (I did leave Horde and Storm active since they don't seem to cause any glitches that I'm aware of).

Again, I'm not a regular modder of this game and thus not 100% on anything, but it's been working fine for me for several weeks of daily play. I'm not sure how the game would react to a set event (with a set date) from the descr_events file requesting the disaster information but again, hasn't seemed to cause any problems for me.

Note: File may have to have the "Read-Only" option unselected in its properties to save.

Hope it helps.

Slaists
07-11-2007, 20:07
Thank you! Seems to be working for me too now.

Great! :)

Btw, flash-flood disaster is the only one I really hate (because of the bug that damages the province for good). In my recent Moorish campaign I had 4 of my main provinces rendered slow by flash-floods... annoying. :)

DVX BELLORVM
07-12-2007, 13:09
Will this prevent the floods to appear?

Medieval II Total War\data\world\maps\base\descr_disasters.txt

;event flood
;frequency 10
;winter false
;summer true
;warning false
;climate swamp
;climate unused1
;min_scale 2
;max_scale 5

Are floods the only disasters that can ruin the province, or should I mod out earthquakes too?

Will this mods cause any problems with the game?

RickooClan
07-29-2007, 03:54
I have quit this game because of this flooding bug, pretty sad. :no:

This flooding bug occurs in 3 of my games and it totally ruin the fun of building my kingdom.

Red Spot
07-29-2007, 05:21
afaik you can empty out the entire descr_disasters file and no disasters whatsoever will ever happen .... (iirc it was already known for Rome, a long long time ago ..:D)


G

Slaists
07-30-2007, 14:15
afaik you can empty out the entire descr_disasters file and no disasters whatsoever will ever happen .... (iirc it was already known for Rome, a long long time ago ..:D)


G

well, the floods is the only disaster that has annoyed me so far. the province stays permannently damaged after it. i have observed no other disasters with such an effect.