Help needed with Scoreboard PY/SDK

Louis the XIV

Sun King
Joined
Jun 23, 2020
Messages
839
Location
Court of Versailles
SOLVED
To anyone who wants to find out how I solved this here is how:
Change this line
Code:
                     szTempBuffer = u"%d: %s" %(gc.getGame().getPlayerScore(ePlayer), pPlayer.getName())
to this
Code:
                    szTempBuffer = u"%d: %s" %(gc.getGame().getPlayerScore(ePlayer), pPlayer.getCivilizationDescription(0))
Hello everyone, I ran into a "problem" which I hope someone on this forum could clarify.
In normal Civ 4 on the scoreboard you can only see the Leaders name and not the Civ Description.
A lot of big mods like BUG, DoC, RevolutionDCM, don't show the Leader name on the scoreboard but instead show the Civ description.
Could someone please tell me how can I make the scoreboard show the Civ description and not the Leader name? Or simply direct me to the file in BUG or RevDCM that contains the SDK/Python.
Thanks to everyone who helps!
 
Last edited:
Back
Top Bottom