Jump to content

The Extended Worker Data Mod  2.41

   (75 Reviews)

6 Screenshots

About This File

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. It will also help you make informed decisions in regards to zoning for residential buildings.

 

In order to make this Mod, I created a new piece of UI with a matching data binding function. 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.

 

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. 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. To do this, I opened the Mayor Rating UI file and pasted the code at the bottom of it. I renamed the original “kSkyTowerLevelOfficePopulation” function to “kWorkers” and encoded it to “0xe15027f1”.

 

Finally, I went through all the units in the game that have workers (I actually looked for the code for “kMaintenance” and combed through the results) and added the new rollover item’s ID to their list of extended rollover data.

 


What's New 2.41


Released

  • Reposted with informative data.
  • Like 7
  • Thanks 2



User Feedback

Create an account or Sign In to leave a review

You need to be a member in order to leave a review

Sign In  

Already have an account? Sign in here.

Sign In Now

Create an Account  

Sign up to join our friendly community. It's easy!  

Register a New Account


  • Recently Browsing   0 members

    No registered users viewing this page.

×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections