Page 1 of 1

Stairs Glitch

Posted: Tue May 20, 2014 5:37 pm
by Allanius2
I'm having a problem with the stairs in a mod I'm working on and I have no idea why. If you create 3 levels and design level 3 like this:

Code: Select all

     U
     H
     S
where U = stairs up, H = empty hallway, S = hall with starting position, D = stairs down

Level 2 like this:

Code: Select all

     H H H
     D    H
        U H
Level 1 :

Code: Select all

    H D
Align each stairs down over the stairs up from below. Now, if you walk up both sets of stairs everything is fine, but if you walk from level 2 down, the animation treats the stairs as if they were up instead if down. You go through the ceiling and into the stairs going up from the side even though the stairs up are to the left of the stairs down. Anyone have any idea why this is and possibly a way to correct the problem without moving the stairs?

Re: Stairs Glitch

Posted: Tue May 20, 2014 8:17 pm
by Allanius2
Never mind, I figured it out. The problem is even though the editor shows stairs as a 1 square wide, 1 square deep icon, it is actually rendered as 1 square wide, 2 squares deep. By placing them as I did, the hidden sections overlapped causing the problem.

Re: Stairs Glitch

Posted: Tue May 20, 2014 8:18 pm
by Komag
You may have discovered a new bug, at least I've never heard of this one!

Re: Stairs Glitch

Posted: Tue May 20, 2014 8:19 pm
by Skuggasveinn
I tried this layout and yes this does indeed happen :?
Seems to be a bug if the stairs are to close together, if its possible for you move the stairs then that's an easy fix, but if the layout needs to be like this then I guess you can script it so that the stairs are spawned and destroyed depending on if your are coming up or going down.

but yeah, weird bug.

Skuggasveinn.

Re: Stairs Glitch

Posted: Tue May 20, 2014 8:31 pm
by Allanius2
If you have an open hallway behind the stairs you will also see the ceiling (on upward stairs) or floor (on downward stairs) of that hall. If more updates to the editor are being made and/or if this event could occur in LoG2, the icons for the stairs should reflect the real size of the rendered stairs.

Re: Stairs Glitch

Posted: Tue May 20, 2014 9:16 pm
by Isaac
I've seen this one before, while making my ORRR2 room.
Allanius2 wrote:If you have an open hallway behind the stairs you will also see the ceiling (on upward stairs) or floor (on downward stairs) of that hall. If more updates to the editor are being made and/or if this event could occur in LoG2, the icons for the stairs should reflect the real size of the rendered stairs.
There is such a hallway on level three of ORRR2, between my room and the center Hub. We had to script asset swaps to change them out depending on where the player is; (in the hall, or near the stairs).