Remove stability?

Acek

Chieftain
Joined
Jun 3, 2008
Messages
22
Location
Piteå, Sweden
Just wondering if anyone knows how to do this if it is possible. I always wan't to get the controll of the whole world and have 6-7 billion inhabitats but it's kinda hard when I only get a small % of the land area.

I also have a problem with RFCE and RFCMP (I know this shouldn't be on this board but while I'm making a post I might aswell write those things)
Anyway I have unzipped them and placed them in the right folder but when I start them I just get errors. Do you like need a update for BTS to make them work?
 
Completely removing the stability system isn't that easy, but if you simply don't want to collapse go to Assets\Python\Stability.py and search for the line "def getStability" and replace if with:
Code:
        def getStability( self, iCiv ):
                return 40
This will make every civ in the game solid and thus immune to collapses.
 
By using this code, it means that we can safely conquer the whole world without worrying the stability penalty right?

And I can safely settle any cities even if it's on foreign core?

But the civs still start at certain dates?

Gonna be awesome ~
 
In theory, yes.
 
Could you force the function to return a value of -40 every time, and play an RFC version of Russian roulette?
 
Egypt would collapse in its first turns :D
 
Ah but would it? Is there not a mechanic that stops (or at least hinders) collapse if there are currently less than a certain amount of active civs?

Or am I thinking of something else entirely?
 
Might be, I'm not sure.
 
Completely removing the stability system isn't that easy, but if you simply don't want to collapse go to Assets\Python\Stability.py and search for the line "def getStability" and replace if with:
Code:
        def getStability( self, iCiv ):
                return 40
This will make every civ in the game solid and thus immune to collapses.

and in the svn?
 
SVN? This is the general Rhye's and Fall forum. If you're talking about an RFC modmod (like DoC) you should ask this question in their appropriate thread or subforum.
 
Is it the same is DOC? I tried changing
Code:
[COLOR="Silver"]
			#utils.debugTextPopup('Lost stability to neighbor spawn: ' + gc.getPlayer(iOlderNeighbor).getCivilizationShortDescription(0))[/COLOR]

def getStabilityLevel(iPlayer):
	return sd.getStabilityLevel(iPlayer)
	
[COLOR="silver"]def setStabilityLevel(iPlayer, iStabilityLevel):[/COLOR]
to
Code:
[COLOR="Silver"]
			#utils.debugTextPopup('Lost stability to neighbor spawn: ' + gc.getPlayer(iOlderNeighbor).getCivilizationShortDescription(0))[/COLOR]

def getStability( self, iCiv ):
                return 40
	
[COLOR="Silver"]def setStabilityLevel(iPlayer, iStabilityLevel):[/COLOR]
but got loads of error messages, and still collapsed.
I changed it halfway through a game as rome - is that the problem?

EDIT: These are the errors:
ERROR.png
 
Completely removing the stability system isn't that easy, but if you simply don't want to collapse go to Assets\Python\Stability.py and search for the line "def getStability" and replace if with:
Code:
        def getStability( self, iCiv ):
                return 40
This will make every civ in the game solid and thus immune to collapses.

Thanks for this trick. It seems to make the game much more challenging as the AI isn't collapsing all the time. I'm using this on DoC. One tip for Bryce3 that is working so far for me; Leave the first line alone and just change the return line so that it looks like this:

def getStabilityLevel(iPlayer):
return 40
 
Back
Top Bottom