SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: selles on June 13, 2013, 09:47:38 AM

Title: Changing slope allowance: removing retaining walls
Post by: selles on June 13, 2013, 09:47:38 AM
I have been trying to make HooHa's parking lots more slope tolerant, so I was digging around to see what values I needed to change using the iLive Reader.

At first I only changed LotConfigPropertyMaxSlopeAllowed and LotConfigPropertyMaxSlopeBeforeLotFoundation.

LotConfigPropertyMaxSlopeBeforeLotFoundation was originally set at 2, and LotConfigPropertyMaxSlopeAllowed was set to 25. I changed both values to 50. I assumed that because the LotFoundation was the same as MaxSlopeAllowed, there wouldn't be an issue with retaining walls. But when I went into the game after making my edits, this is what happened:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FedWFXhw.jpg&hash=51cd0abf0cd1382619492548fb27939b4d8e49f2)


I searched out how to get rid of the retaining walls, and I found a thread which linked a possible fix from a couple other threads.

http://sc4devotion.com/forums/index.php?topic=12469.0 (http://sc4devotion.com/forums/index.php?topic=12469.0)

What I understood from that, was that I just had to change the Building foundation exemplar to 0x194B1000 which is the transparent building foundation. I went back into the game after making this edit, but nothing changed.

Here is what one of the lots looks like in the Reader:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FMQ51cXy.jpg&hash=602bb391a741c614bf0b7a34244a42fa1aefe5bf)

In red are the changes I made to the slope allowances. It appears that works fine, except I'm still getting a retaining wall for what I imagine are slopes greater than 2 (which was the original value of LotConfigPropertyMaxSlopeBeforeLotFoundation). In yellow is the edit in which I changed the Building foundation to the transparent foundation. But then it dawned on me that the retaining walls I see are Lot foundations and not building foundations, and I assume that's why my work in the Reader hasn't removed the retaining wall. In blue, I've tried deleting the RetainingWallType and reindex LotConfig, but that didn't solve the problem either.

Is there a way for me to get rid of this retaining wall? At this point I'm assuming it has something to do with the RetainingWallType, and that I have to set this exemplar to a transparent retaining wall. But at the same time I thought that could have been averted by the LotConfigPropertyMaxSlopeBeforeLotFoundation exemplar. So really I have no idea where to proceed from here. Any help is appreciated!
Title: Re: Changing slope allowance: removing retaining walls
Post by: c.p. on June 13, 2013, 01:44:20 PM
Change the foundation IID to 0x194B1000 in the Building Exemplar, not the Lot exemplar.
Title: Re: Changing slope allowance: removing retaining walls
Post by: selles on June 13, 2013, 03:59:45 PM
Brilliant! Thank you so much for your help! I'm still a bit new with the Reader, but I'm sure I'll start to catch on. Thanks again.