UI Name for this popup?

IR0NMIKE

Chieftain
Joined
Sep 26, 2011
Messages
4
Would anyone know offhand what this .lua popup is called that creates the popup when the "Status" text is hovered over? (the red text in the screenshot)

Thanks!
 

Attachments

  • 2012-02-25_00001.jpg
    2012-02-25_00001.jpg
    355.7 KB · Views: 68
DiploList.lua

And how I found it,

Using a good file search tool, search all the xml files for the text "trying to win the game" - it occurs in CIV5GameTextInfos_Jon.xml

Open that file and search for the same text, find the TXT_KEY above it - TXT_KEY_DIPLO_VICTORY_DISPUTE

Now search all the UI lua files for that TXT_KEY - it only occurs in InfoTooltipInclude.lua

Open that file and search for the TXT_KEY, scroll up until you find the method it's in - GetMoodInfo

Search all the UI lua files for that method - it's used in 3 places - DiploList.lua, DiscussionDialog.lua and LeaderHeadRoot.lua

Open each of those and work out if it generates the side lise - looks like DiploList.lus is the one you want - BUT if you change it for that particular dialog it will have the side effect (which may or may not be wanted) of changing it for the other two
 
Back
Top Bottom