Jump to content
CorinaMarie

(Tutorial) Updating Lot Monthly Cost While Avoiding Phantom Budget Predicaments

1 post in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
Currently: Viewing Forums Index
 

(Tutorial) Updating Lot Monthly Cost While Avoiding Phantom Budget Predicaments

 

This tutorial is in reply to @TheMurderousCricket from his post here. The key part being:

On 11/9/2021 at 1:27 PM, TheMurderousCricket said:

My idea is to reduce the costs of some items but... some of these items are already present in my cities en masse! :O I just can't remove all of them now! This is why I'd like to try these steps:

1. Create duplicated instances of the chosen items, just like police stations in ModPacc Zero.

2. Modify expenses (and profits! *:ohyes:) for the chosen items.

3. Over time, remove all "vanilla" instances of the relevant objects.

 

This is an advanced concept I introduced in Crime and Police Station Fixes for ModPacc Zero. I'm going to use the vanilla Open Grass Park as the sample for this tutorial.

Here's the extracted version if'n y'all want to follow the steps: Open Grass Sample for Cricket - File 1 - Original Extraction.dat
 


Step 01:

Pic showing the initial file opened in Reader 0.9.3:

01 - Vanilla Extracted - 7010b-3585.jpg

In File Explorer, copy that to a new file and give it a new name. I made mine Open Grass Sample for Cricket - File 2 - Cori Updated - v0.01.dat.

 

Step 02:

Control + Click the first three entries:

02 - First Three Ctrl-Clicked - 7010b-3586.jpg

Right click them, select Copy File(s) then right click in the white space below the DIR entry and select Paste File(s).

 

Step 03:

It should now look like this:

03 - Those Three Copied and Pasted - 7010b-3587.jpg

 

Step 04:

Right click the newly copied LotConfigurations Exemplar and select Generate New Instance ID:

04 - New IID for LotConfigurations Exemplar - 7010b-3588.jpg

 

Step 05:

Edit the IID of the new Building Exemplar to have the same IID as the new LotConfigurations:

05 - Same IID for Building Exemplar - 7010b-3589.jpg

 

Step 06:

Generate a new IID for the newly copied LText and update the verbiage:

06 - New IID for LText and Change Verbiage - 7010b-3597.jpg

 

Step 07:

Go to the corresponding original LText and update its verbiage:

07 - Change Vanilla LText Verbiage - 7010b-3591.jpg

 

Step 08:

In the original Building exemplar, open the OccupantGroups property:

08 - Original Building Exemplar - See Park OG - 7010b-3598.jpg

^ The 0x00001006 value tells it in which menu to will appear.

 

Step 09:

We want to remove it from the menu so it can no longer be selected. Remove the 0x00001006 and it now looks like this:

09 - Original Building Exemplar - Remove Park OG - 7010b-3599.jpg

^ Be sure to click the first Apply button followed by the 2nd Apply button.

 

Step 10:

Update the name in the new LotConfigurations entry:

10 - New LotConfigurations Update Name - 7010b-3592.jpg

^ This isn't strictly necessary, but you'll thank yourself for it later. *;)

 

Step 11:

Change Rep 13 of the LotConfigPropertyLotObject (the one that starts with 0x00000000) to the IID of the new building exemplar:

11 - New LotConfigurations Update Rep 13 of 0x00000000 - 7010b-3593.jpg

^ Apply and Apply.

 

Step 12:

Update the name in the new Building Exemplar:

12 - New Building Exemplar Update Name - 7010b-3594.jpg

 

Step 13:

Update the IID in the User Visible Name Key to match the IID of the new LText:

13 - New Building Exemplar Update Visible Name Key - 7010b-3595.jpg

 

Step 14:

Update the Lot Resource Key to match the IID of the new LotConfigurations entry:

14 - New Building Exemplar Update Lot Resource Key - 7010b-3605.jpg

 

Step 15:

Update the Budget Item Cost:

15 -New Building Exemplar Update Cost - 7010b-3596.jpg

^ Note: In this case I'm going for minus 10 Simoleons per month. While it converts an entry to 16 hex digits, you need to only enter 8 digits. So for this I typed in 0xFFFFFFF6 then Apply and Apply.

 

Step 16:

Here's how it looks with those changes:

16 - New Building Exemplar Showing All Changes - 7010b-3606.jpg

 

Step 17:

Single click the DIR entry:

17 - Click and Remove Existing DIR Entry - 7010b-3600.jpg

 

Step 18:

Right click and select Remove File. This pic shows it is now gone:

18 - DIR Entry Gone - 7010b-3601.jpg

 

Step 19:

Save the file. Close the file. Reopen the file. It'll now have a new DIR entry:

19 - Save File, Close, Reopen - New DIR Present - 7010b-3602.jpg

Ofc, be sure your new file loads last or you've removed any other overrides for the Maxis Open Grass lot. *;)

 

Step 20:

In the game when you query a previously plopped Open Grass lot it'll show the correct original cost and it'll have the new name we gave it:

20 - In Game Existing Open Grass Queried - 7010b-3611.jpg

 

Step 21:

Find the Open Grass in the Parks Menu:

21 - In Game New Grass in Menu - 7010b-3612.jpg

^ Note: Only the new one will show because we told the original to hide (by removing the 0x00001006 OccupantGroups value).

 

Step 22:

Hovering over a plop of the new one with the query tool will show the new name:

22 - In Game New Grass Hover Over - 7010b-3613.jpg

 

Step 23:

And here's the query of the updated lot:

23 - In Game New Grass Queried - 7010b-3614.jpg

 

*:)


  Edited by CorinaMarie  

Made a correction to Step 08.
  • Like 2

Chance favors the prepared mind. ― Louis Pasteur  
Remember, a few hours of trial and error can save you several minutes of looking at the README. -- I Am Devloper (on Twitter)

Clickable ---> The Best of Cori's Posts  (scroll down a wee bit there)    Something fun: MySimtropolis - Invitation to become a SimCity 4 MySim

Are you new here? Check out the Introduction and Guide to Simtropolis.

Share this post


Link to post
Share on other sites

Sign In or register to comment...

To comment in reply, you must be a community member

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


×

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