Is there anyway to get rid of the plague?

helpless_writer

Warlord
Joined
Dec 15, 2006
Messages
182
Location
United States
The game for me is one of the best mods out there... but the plague screws up the fun for me. I know its not possible to add on anything but please tell me you can take out the plague without the game crashing.
 
Sure, but any such fix would have to be tested to make sure. But you could try this out, if you dare:

Locate line #150 in \Mods\Rhye's and Fall of Civilization\Assets\Python\Plague.py:
Code:
        def startPlague(self, iPlagueCounter):
Add this line of code directly after line #150.
Code:
                return
Like this:
Code:
        def startPlague(self, iPlagueCounter):
                [COLOR="Red"]return[/COLOR]
Copy-paste the code above - the amount of indentation is actually critical!
 
Sure, but any such fix would have to be tested to make sure. But you could try this out, if you dare:

Locate line #150 in \Mods\Rhye's and Fall of Civilization\Assets\Python\Plague.py:
Code:
        def startPlague(self, iPlagueCounter):
Add this line of code directly after line #150.
Code:
                return
Like this:
Code:
        def startPlague(self, iPlagueCounter):
                [COLOR="Red"]return[/COLOR]
Copy-paste the code above - the amount of indentation is actually critical!

It works :cry: I love you lol
 
Another way I have seen is to open Plague.py and replace any mention of "con.iMedicine" with "con.iMining". Any civ that knows mining (all civs) is now immune :)
Another thing you should know if you are having trouble playing the game, is that removing the plague might just make your job a little bit harder, since AI civs won't be hurt at all (and AI civs were arguably hardest hit by the plague)
 
ah man, in my current game where India just came out of the plague.. only to have it's cultural border flipped an plague independent Persian city.
I disbanded it, but India got the plague again! :cry:
 
Another way I have seen is to open Plague.py and replace any mention of "con.iMedicine" with "con.iMining". Any civ that knows mining (all civs) is now immune :)
Another thing you should know if you are having trouble playing the game, is that removing the plague might just make your job a little bit harder, since AI civs won't be hurt at all (and AI civs were arguably hardest hit by the plague)

This method made the game crash... and I tried changing back the plague python and it keeps crashing...

Randomly i got the plague in a custom game and tried your route and it messed me up... I wish he would just patch it with the option to turn it off. I know its a bit of a whining thing but still whats a mod that isn't modifiable/ customizable... and sadly deleting it wasn't an option.
 
You probably made a error when editing the file. Like misspelled "con.iMining" (if that is the constant name - I haven't checked).
 
Having just checked my files (and this works, I've been using it for a while now), it most definitely works. EDIT: That sentence looks utterly ********, this is why I should never start writing a post and then come back to it later.

Replace "con.iMedicine" with "con.iMining"

The fact that you said you tried changing it back and it still crashes tells me your problem is elsewhere. I'd hazard a guess that one of your python files has not got proper indentation.
 
Or you saved your .py file with some odd encoding (other than UTF-8).
 
Back
Top Bottom