[PYTHON MODCOMP] Compare turn score

Caesium

Radiant!
Joined
Jan 14, 2006
Messages
526
Hi, this is a modcomp for something I and some comrades really missed sometimes:

To be able to compare the score of the actual turn's beginning with the score of the last turn's beginning.

So I asked here in the forum for help and TGA gave me the hint I needed for how to code this, so thank you, TGA.

This is what I did:
I added in brackets the difference between the score from the beginning of the actual turn and the score from the beginning of the last turn.

Feel free to use it for your own mod.


Caesium

Download:


put it in ...\CustomAssets\python\screens


pic1wj4.jpg
 

Attachments

  • pic1.jpg
    pic1.jpg
    17.5 KB · Views: 108
Sorry, forgot to add the information...

Works with Vanilla 1.61, as soon as I've got Warlords, I'll update this.
 
Update: Warlords compatible version added.

Caution: Not tested the warlords version due to not having warlords, just edited an warlords CvMainInterface.py
 
just tested it and it works fine with warlords :goodjob:
 
Does Warlords not change CvMainInterface.py at all? If it does, then this will reverse the changes, while probably still working.
 
The Great Apple said:
Does Warlords not change CvMainInterface.py at all? If it does, then this will reverse the changes, while probably still working.
Warlords has its own CvMainInterface.py.
But it insn''t that different to the Vanilla file.
I got a copy from the original file and added my changes after comparing the the vanilla with the Warlords file.
The linked files are different and should be added to their corresponding CustomAssets folder.

Could someone tell me, which is the concrete path to CustomAssets, because I'm from germany an don't know what pathnames windows' english version's got.
 
Working great and it is very useful. :goodjob:
Now I dont have to do it manually anymore.
 
Back
Top Bottom