• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Changing slope allowance: removing retaining walls

Started by selles, June 13, 2013, 09:47:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

selles

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:




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

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:



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!

c.p.

Change the foundation IID to 0x194B1000 in the Building Exemplar, not the Lot exemplar.

selles

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.