Questions & Answers

(Remember that you still can't switch between civs that spawn too closely to each other, no matter what)
That's also easy to change. Open RiseAndFall.py and search for tDifference. Then replace all numbers in that line with 0.
 
Nice! Never heard about that before :) Egypt->Greece->Rome here I come! Thank you :D

I tried just that, the same turn i changed civs the second time, I got a message that India+China+Babylon had been destroyed - checked WB and all their cities had turned independent. So apparently it is really not possible.
 
That's very odd. Are you sure you had the syntax right? Check for Python errors; it's possible you made a syntax error that broke the file.
If that's not the case, the only issue I can see is the reloading and modification of the pickled data each time the player switches civs. It may be the case that that process breaks stability if used more than once.
 
Quote:
I remember this being asked sometime, but never got around to see the replies coming up; is it possible to somehow edit the files in order to be able to switch civ more than once doing a game?

Looking at the code...

Spoiler:
Code:
if (iCurrentTurn == iBirthYear + self.getSpawnDelay(iCiv)) and (gc.getPlayer(iCiv).isAlive()) and (self.getAlreadySwitched() == False) and (iHuman+tDifference[iHuman] < iCiv):
self.newCivPopup(iCiv)appears at the end of initBirth in RiseAndFall.py. Try removing that self.getAlreadySwitched == False condition, replacing those lines with

Code:
if (iCurrentTurn == iBirthYear + self.getSpawnDelay(iCiv)) and (gc.getPlayer(iCiv).isAlive()) and (iHuman+tDifference[iHuman] < iCiv):
self.newCivPopup(iCiv)

Where is this file?

Oh. I found it.
 
Why do Christian temples give +2:hammers: if I play with the the Spanish or Vikings for example? I do not know where it is coming from, because I switched my Vikings to Islam to test if islamic temples do the same and they don't.
 
Ok, so I've heard a bit about liberating cities giving you stability bonuses. I've tried it a few times when I have too large an empire, but every time I have done that I didn't even notice a stability increase. On the contrary, my expansion stability takes a small hit, and my economy stability takes a large hit!
What am I doing wrong?
 
You need in excess of 25-30 cities before you see the stability increase. Often, I'm not even sure if liberating will increase my stability, so I save it, and check the stability before and after. Usually, when playing on high res, 1.25 pages of cities on city manager will do the trick for me.
 
kind of a complex question but here goes. im currently trying to do a modmod for rhye's, which will involve tweaking the AI unit behavior in war. however, i've figured out i can only issue commands to those units within a certain function, AI_unitUpdate, which is normally in CvGameUtils.py. kind of a noob programmer so i dunno where to go from here. i posted in the python help forum and recieved this response:

As far as I know AI_unitUpdate is the only place in Python where you can control unit AI. This is because the SDK reads the return value from AI_unitUpdate and ignores the unit if you return the proper value. If you try to set the unit AI anywhere else the SDK just overrides it. If there is a thread for the rhye's mod, you might want to post a question there and see if AI_unitUpdate is available in the mod. I don't know if it is possible to do, but they may have just extended CvGameUtils the same way that some people have extended CvEventManager. If that is the case then AI_unitUpdate should still be available.
 
Is the american unique power permanent? In other words, once america spawns, will it continue to get free population forever?
 
Back
Top Bottom