SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: buddybud on January 25, 2008, 05:07:38 PM

Title: Question about Lotconfig properties for slope conforming mirrored props.
Post by: buddybud on January 25, 2008, 05:07:38 PM
hi there

ive been playing alot with mirrored props as of late. with great success i should add. however in the mod im developing there is one unique puzzle piece that requires props that are both slope conforming and mirrored.
the problem is not that i cant mirror them its just that the props on the mirrored tiles conform to the slope height of the original position. on the non mirrored tiles, the props work fine.
EDIT picture replaced with more appropriate pic.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg167.imageshack.us%2Fimg167%2F1157%2Fdonotsdogood01wt7.jpg&hash=11a0e7aa66b173981559fa479501e13300ea365e)

the puzzle piece is the diagonal end piece or "stub" as i call it. above is a picture with the mirrored stub tile . as you can see part of my elrail model is not conforming properly. ive played with this extensively. in the picture above the prop is conforming to a position 90' counter clockwise.
In short i need info on the lotconfig properties and how they work for placement of props. i know i saw this in the past and know that atleast 4 of the hex values for the prop determine its placement within the tile, and that positive and negative numbers are represent by specific ranges of said hex properties. can someone refresh me on how these values work and if theres any way to adjust the mirrored props pivot point?

any help would be appreciated.

Edit....heres another picture to show more of what im talking about. the tile on the right is the mirrored tile. green arc shows the position that the prop is deriving its height from. slope is good. my first thought was to adjust the height of the prop but of course that is a variable dependant on the slope. thats no good...anyways. :(

Title: Re: Question about Lotconfig properties for slope conforming mirrored props.
Post by: buddybud on January 25, 2008, 10:41:50 PM
ok....i figured out a way to do this. but the the question of how the lotconfig properties work for prop placement remains of interest to me.

how i did it...i had to creat 2 seperate props with their own mirrors. both props are rendered with different 0,0,0 points. prop one is on the lower left side and its mirror appears as a pink box. prop 2 is the blue box who's mirror is on the lower right side. Instead of setting up both lot and mirror lot identical, the second lot is set with prop 2 at a new position which picks up the slope and height properly. Its kind of hard to explain but ill give more details if requested....hehe...but heres a pic to show it working. the boxes and details will be dealt with accordingly. its a pain in the but however this is the only tile i can think of that has a mirror and is slope conforming, thank bejevus.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg246.imageshack.us%2Fimg246%2F5912%2Fdonotsdogood02if7.jpg&hash=552010b2c69c2b00c532dd7d7a18b54a855cf2d3)
it seems to hang down lower, but thats only another prop i didnt bother to remove or fix at the time of the photo. and its so dark cause i didnt adjust the lighting in that rotation yet. just a trial run....5 hrs later ::)
Title: Re: Question about Lotconfig properties for slope conforming mirrored props.
Post by: wouanagaine on January 26, 2008, 03:30:44 AM
Great to know
Thanks for the report
Title: Re: Question about Lotconfig properties for slope conforming mirrored props.
Post by: jeronij on January 26, 2008, 08:30:42 AM
Hello Buddy, I am glad to see that you found a solution for the problem  :thumbsup: . These pieces are looking excellent btw ;)


About the lotconfig properties.... what are you exactly looking for?. I dont know what you are pursuing, but when I need to place a prop in a T21 lot, I make a lot in LE, I place the lot, I save, and I copy the lotconfig line containing the prop from my lot to my T21 lot.... I hope this helps somehow  ::)
Title: Re: Question about Lotconfig properties for slope conforming mirrored props.
Post by: buddybud on January 27, 2008, 08:36:16 AM
thanks for the reply jeronij.

actually what im interested in is how the value of the properties work.
for example heres five lotconfig values for a prop (0x14A8CFCC)
each lotconfig property coincides with a position on one of the corners or the center of a 1x1 tile.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg508.imageshack.us%2Fimg508%2F8254%2Fhelpfulhelpfulnessre1.jpg&hash=6eab6fdf8d9f5584f7b4e18f1edacb8b15502b1d)

theres six individual entries that change but i dont understand how that effects 5 positions.

the reason im interested in this is because one of the oldtimers at simtropolis once explained how some of these values are corrupt due to a bug. which seems to affect lighting while rotating the prop. i was thinking that that may affect its virtual position when mirrored. sadly ive forgotten and lost the info. i can see a pattern in the numbers but i dont quite get it. in short i want to know how these numbers relate to the position of the prop on the tile.
Title: Re: Question about Lotconfig properties for slope conforming mirrored props.
Post by: RippleJet on January 27, 2008, 06:07:52 PM
Quote from: buddybud on January 27, 2008, 08:36:16 AM
i can see a pattern in the numbers but i dont quite get it. in short i want to know how these numbers relate to the position of the prop on the tile.

This should help you: :)
http://www.sims2wiki.info/wiki.php?title=LotConfigPropertyLotObject
Title: Re: Question about Lotconfig properties for slope conforming mirrored props.
Post by: buddybud on January 28, 2008, 05:06:15 AM
Thats exactly what i was looking for...!!!  ;D

cheers and thanx guys.