Wonders being built by other civs

rickb

Warlord
Joined
May 31, 2001
Messages
165
Location
Austin, TX
I got annoyed at not knowing what wonders other civs are building so I looked through the code and it looks like you just need to comment out CivInfoScreen.py:1674 and then tab back the next line and that should do it. I'm at work at the moment and can't test it out, I'll post any modifcations when I get a chance to test it. I'll also try to figure out how to display when work has started on a wonder.
 
Sweet it worked! Now on to the next task... Looks like I might be able to use onCityBuildingBuilding in CvEventManager.py to inform me when a civ starts building a wonder. Hmm, if I really wanted to cheat I suppose I could also add how many turns they will take to complete it. :)
 
OK I've attached the file to display wonders being built by other civs in the info screen, unzip and put in the Assets/Python/Screens directory. I'll post my other changes as I finish them.
 

Attachments

Would someone care to upload the file that also makes the game display the number of turns left on the wonder and which city it's being built in?

Moreover, is it compatible with Warlords Expansion Pack and/or BtS? (Myself I'm playing Warlords, because I prefer it.)

If not, would someone please post a "guide" on what changes to make to the CivInfoScreen.py file (so one could apply them oneself)?

Thanks a bunch!

~ Kris


edit:

Actually, it would be much better if someone made the guide (rather than just upload the file) there's been numerous updates to the game since then. That would be wonderful, please! Thanks a ton!
 
Heh, I had entirely forgotten about this bit of code. I made some updates to it some 2 years back.

I just added the Warlords and BTS versions to this thread.
 
Heh, I had entirely forgotten about this bit of code. I made some updates to it some 2 years back.

I just added the Warlords and BTS versions to this thread.
Wow! Thanks! You're my hero CyberChrist! :)

Cheers! :beer:
 
Hmm... could you perhaps make an Aplha Centauri-like message box appear not just when a wonder is finished but also whenever someone's started a wonder, stating what civilization's started building what wonder?

Something like this:

"[Great] Wonder Alert: Rome has started building The Parthenon (120 turns)"

or maybe

"[Great] Wonder Being Built: Rome is building The Parthenon (120 turns)"

Something along those lines. Possible? Of course. Feasible? That would be awesome.
 
Sorry for triple post, but either way you're current python works wonders! ;)
 
I guess it's time for me to study python then. Not just yet though (not enough time today).
 
Back
Top Bottom