Trouble with Stairs

<< < (2/2)

Roobs:
Quote from: J. M. Pescado on 2010 January 26, 05:38:35

This is actually some kind of math/clipping glitch. You will find, if you look at your ENTIRE neighborhood, that stairs oriented in ONE way in the global plane work this way, and stairs oriented the other way DON'T. In my neighborhood, north/south oriented stairs work, east/west ones do not. Stair transitioning appears to be handled deep inside the engine, and is not accessible to script. Otherwise I would have fixed this by removing the ability to turn around, and forcing them to always complete the trip.

Ah that would explain it then. Yeah when I built a test setup on the same lot, I had it oriented north/south and not east/west. Tried it just now going the other way, and sure enough it doesn't work. Bizzare.

I suppose moving the whole lot further down the road, so the stairs face the other way, would make the stairs work?

pbox:
Quote from: J. M. Pescado on 2010 January 26, 05:38:35

You will find, if you look at your ENTIRE neighborhood, that stairs oriented in ONE way in the global plane work this way, and stairs oriented the other way DON'T.


O.o

This is just nuts.

Could that be the reason rebuilding sometimes works and sometimes doesn't? So that when I build the stairs in the nonworky direction at first, then nuke and rebuild in the worky one, it would work? Or is that another issue (i.e. do they also break in other, unrelated ways that can be fixed by rebuilding) and they will only ever work when they're *currently* facing the right way, as opposed to at the time they were built?

Also, I take it you're specifically taking about *stacked* stairs, is that right? Or are they even more messed up than that?

J. M. Pescado:
Quote from: pbox on 2010 January 26, 14:59:28

Could that be the reason rebuilding sometimes works and sometimes doesn't? So that when I build the stairs in the nonworky direction at first, then nuke and rebuild in the worky one, it would work?
It's "building it in the worky direction" that is the key. Building them in the non-worky direction never seems to work no matter how many times you do it. To build a stacked staircase in the nonworky direction, you need to offset-stack it, so that the staircase above is one tile ahead of the staircase below. A perfectly vertical stack will fail if drawn EW.

Quote from: pbox on 2010 January 26, 14:59:28

they will only ever work when they're *currently* facing the right way, as opposed to at the time they were built?
This appears to be the case, although I have not conducted extensive experiments. Obvious test: Build a lot the "right" way, pick it up, rotate it, and see if it breaks.

Navigation

[0] Message Index

[*] Previous page