[GS] Looking for basic UI modding guide and/or help

NameArleadyUsed

Chieftain
Joined
Mar 12, 2016
Messages
99
Location
Europe, Earth, Solar System
I would like to learn how to make some basic UI adjustements but I don't even know where to start.
I've read about Firetuner and ability to alter hotloaded LUA/XML mods on-the-fly but couldn't find any actual begginer guide. Any usefull links would be appreciated.
Also, I would like someone to help me do something simple (actually, someone posting here code/files with a comprehensive decription/commentary).
For teaching purposes let's focus on TopPanel and suppose we would like to accomplish these steps:
0) create .modinfo with proper structure (I guess it's a bit different than for database altering mods) and other files
1) change tourism tooltip, f.e.: add a line that would show "tourists generated / tourists required for win"...
1') ...having in mind I play localized game
2) change tourism box itself to "[icon] tourism per turn (turns to win if any)"
3) create new, similar box, next to tourism one, with color, icon, text and tooltip (just placeholders for now, take a look on https://steamcommunity.com/sharedfiles/filedetails/?id=946964693l for inspiration)
4) make text from box in step 3 show, say, "number of times I've entered city screen" or something else you came up with, if you think I will learn more from this
5) introduce simple interaction, like [click on box] => [move camera to capital]
...
0) compatibility? I would like to hear few words about how it could collide with, f.e. https://steamcommunity.com/sharedfiles/filedetails/?id=1235178795 and solutions for this. Is it even possible to add/alter in-game UI without needing to overwrite the base game UI files?
 
Top Bottom