Update: This modmod is included in the latest RFC patch, so I have removed the download.
After reading a good few thread on the main RFC forum about players not being able to cope with the stability system, and reading tons of advice given to these players, I came to a conclusion:
The only way to cheat a collapse is to change the actual Stability rating of your Civ, and that would have to be done with Python code. Nothing you can achieve in the World Builder would of course have anything but minuscule short term effect on Stability. Instead of walking these players who are willing to cheat in order to save their game through how to edit the scenario or how to go about changing the rating via the built-in Python console, I decided to try something little more hands-on:
In case anyone would like to add this feature to an already modified CvRFCEventHandler.py this is the code:
It goes anywhere under the definition for the function/method onKbdEvent():
After reading a good few thread on the main RFC forum about players not being able to cope with the stability system, and reading tons of advice given to these players, I came to a conclusion:
The only way to cheat a collapse is to change the actual Stability rating of your Civ, and that would have to be done with Python code. Nothing you can achieve in the World Builder would of course have anything but minuscule short term effect on Stability. Instead of walking these players who are willing to cheat in order to save their game through how to edit the scenario or how to go about changing the rating via the built-in Python console, I decided to try something little more hands-on:
- Click on the link at the bottom to download a zip-packed alternate version of the file CvRFCEventHandler.py
- Go to the ...\Sid Meier's Civilization 4\Beyond the Sword\Mods\Rhye's and Fall of Civilization\Assets\Python\ folder and make a copy of the original CvRFCEventHandler.py
- Unzip the downloaded file into that same folder so that it replaces the old file.
- Start up a game or load a saved game. Once in-game, press the shortkey shift + alt + q in order to enable the RFC "Cheat Mode".
- Now, every time the shortkey shift + alt + s is pressed, the Stability rating of the human player's Civ will go up 10 points.
In case anyone would like to add this feature to an already modified CvRFCEventHandler.py this is the code:
Spoiler :
Code:
#Stability Cheat
if self.rnf.getCheatMode() and theKey == int(InputTypes.KB_S) and self.eventManager.bAlt and self.eventManager.bShift:
print("SHIFT-ALT-S") #boosts stability by +10 for the human player
utils.setStability(utils.getHumanID(), utils.getStability(utils.getHumanID())+10)
Code:
def onKbdEvent(self, argsList):