Looking for text components

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
2,838
Location
Łódź, Poland
I'm looking for two things:
  1. Trade deals for each player. I want to use that info in other window (Trade Opportunities mod). I suppose it has some lua part related to it. Can you tell me where can I find that code or text field name ("TXT_...")?


2. I want to add also monopoly bonus info there. I predict that it is made in form of text fields separate for each resource. Can you point me out what txt fields are made for this?
 

Gazebo

Lord of the Community Patch
Supporter
Joined
Sep 26, 2010
Messages
18,389
Location
Little Rock
I'm looking for two things:
  1. Trade deals for each player. I want to use that info in other window (Trade Opportunities mod). I suppose it has some lua part related to it. Can you tell me where can I find that code or text field name ("TXT_...")?


2. I want to add also monopoly bonus info there. I predict that it is made in form of text fields separate for each resource. Can you point me out what txt fields are made for this?

That's all done here:

local function GetMoodInfo( playerID )

in eui_tooltip_library

Most of it is hardcoded in the LUA. Yay! (Boo)

G
 

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
2,838
Location
Łódź, Poland
Thanks. I will look into it.
 

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
2,838
Location
Łódź, Poland
@Gazebo I managed to use that code. Like you said it was really hard coded, but I spent a while to decypher it. This is the effect:
upload_2018-11-8_19-45-22.png

Thank you once again.
 
Top Bottom