![]() ![]() To do this, I opened the Mayor Rating UI file and pasted the code at the bottom of it. ![]() Because of the way the UI is packed in the game, I had to find a JavaScript file that is packed by itself rather than add the function to the main (and very long) UI file. I then looked up how the worker data was fed into the bars in the rollover, and copied that piece of JavaScript into another file. Fortunately, there was already an example similar to what I wanted to do in the MegaTower Office level rollover, so my first task was to copy the layout with the three bars into a new file. ![]() In order to make this Mod, I created a new piece of UI with a matching data binding function. It will also help you make informed decisions in regards to zoning for residential buildings. Have you ever wondered how many jobs of each wealth level a work building supports? This Mod adds three bars to the civic, commercial and industrial buildings rollovers that gives you just that information. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |