Name of Leader & Civ

ruff_hi

Live 4ever! Or die trying
Joined
Oct 24, 2005
Messages
9,135
Location
an Aussie in Boston
There are different parts of the game where only the name of the civilization is shown (eg roll your mouse over their territory and it will show FRANCE or similar) and other parts where the name of the leader is shown (eg score shows CEASAR). Most of the time, I can link the name of the leader to the civilization but there are some that I haven't fully assimilated (yet). I have a mod to put the name and civilization description on the score (thx SimCutie) but is there a mod to show the same information on the map as I roll my mouse over their land?
 
This is what I have so far ... When you roll your mouse over someone elses territory but under the fog of war, you see something like "American Empire". The word EMPIRE appears in the following XML files (ignoring civilopedia) ...

...\Assets\XML\Text\CIV4DiplomacyText.xml
...\Assets\XML\Text\CIV4GameTextInfos_Objects.xml
...\Assets\XML\Text\CIV4GameText_Misc1.xml

The ones in diplomacy are all about "our empire hates you, we declare war".
The ones in GameText_Misc are "our empire grows" as well as scenarios.
The ones in GameTextInfo_Objects is like this ...
<TEXT>
<Tag>TXT_KEY_CIV_AMERICA_DESC</Tag>
<English>
<Text>American Empire</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</English>

So, the gametextinfo looks like the one.

I searched for EMPIRE in the python files and found one occurance in ...\Assets\Python\EntryPoints\CvTranslator.py This changes it into "player.getCivilizationDescription(iCase)".

I searched for 'getCivilizationDescription' in the python files and found the following references …

...\Assets\Python\CvAdvisorUtils.py
...\Assets\Python\CvEventManager.py
...\Assets\Python\PyHelpers.py
...\Assets\Python\EntryPoints\CvTranslator.py
...\Assets\Python\pyWB\CvWBDesc.py
...\Assets\Python\Screens\CvDawnOfMan.py
...\Assets\Python\Screens\CvTopCivs.py

I'm now in the process of hunting through these files (sigh).
 
Back
Top Bottom