A request: "Turn/TotalTurn" instead of year?

Goombaz

Warlord
Joined
Sep 11, 2005
Messages
297
I have no idea how hard this is, and I am not asking anyone to make a "content" mod for me, as I know that would be offensive. What I want is a mod that allows me to see the turn as "12/450" instead of "3000 BC" if you follow my meaning. To me I don't care what "year" it is, I care what turn it is. How difficult is this to accomplish?
 
It's very easily accomplished as it's already at the top of the F8 (Victory Conditions) screen. :)

Otherwise, the functions you are looking for are CyGame.getElapsedGameTurns(), CyGame.getGameTurn().
 
I figured it was buried in there somewhere, but what I want is actually to have it replace the year in the upper right corner. Maybe I can make enough sense of the interface files to do it myself.

EDIT: Ok, looking into CvMainInterface.py Thanks for the functions, I'll see if I can correctly add them to it.

EDIT: Ok, I can't seem to find the location in the file. Also, do I call them just plainly as CyGame. or is there some other object name that needs to go in that area, because in the victory condition file gc.getGame().getElapsedGameTurns() appears to be how it is actually written. I will have time to figure this out, I suppose, once I find the actual spot I am looking for.
 
Ok, I got it to work just fine, thanks for your help. I will probably start fooling around more with the interface, see if I can answer a few more of my pet-peeves.

It now reads as "1/440 Turns 4000BC" etc. Exactly what I wanted :)
 
:goodjob: :goodjob: :goodjob:

If itworks() :

[party] :beer: :band: :beer:

Else:

:wallbash: :wallbash: :wallbash:

bah! at the 10 smilie limit!
 
What did you do to get it to work? I'd like to change mine to turns to help me as I edit some of the game settings.
 
Back
Top Bottom