- Dec 27, 2001
- Athens of the North (Edinburgh)
Tested it too and it works fine for me.
Elhoim said:Yeah, it works for me too. I also made a more progresive color scheme, that goes: red, yellow, gray, cyan, green. If anyone wants it, I can upload it.
Porges said:Ok, so I took the idea from SimCutie's main interface mod, simplified it a bit and here it is:
Find CvMainInterface.py (in CustomAssets/python/screens), or if you have 12Monkey's PLE installed, to PLEMainInterface.py (CustomAssets/python/screens also). If you don't have either, just copy the file from your main CivIV directory.
Directly after the line:Put the following code:Code:
szTempBuffer = u"%d: %s" %(gc.getGame().getPlayerScore(ePlayer), gc.getPlayer(ePlayer).getName())
#attitude icons - start if not gc.getPlayer(ePlayer).isHuman(): iAtt = gc.getPlayer(ePlayer).AI_getAttitude(gc.getGame().getActivePlayer()) att = unichr(ord(unichr(CyGame().getSymbolID(FontSymbols.POWER_CHAR) + 4)) + iAtt) szTempBuffer = szTempBuffer + ( u" : %s" % att ) #attitude icons - end
If you want to hide dead players from the list, also scroll up a little and change:
if (gc.getPlayer(ePlayer).isEverAlive() and not gc.getPlayer(ePlayer).isMinorCiv()):
if (gc.getPlayer(ePlayer).isEverAlive() and not gc.getPlayer(ePlayer).isMinorCiv() and gc.getPlayer(ePlayer).isAlive()):#hide the dead ones
Download the attached font files and stick them in CustomAssets/res/fonts/
Looks like this (friendly icon not shown):
turlute said:U have to edit the warlord file if u use the mod with warlord yes.
And notepad is fine, but dont forget that indentation is important in python.