Stairs Glitch

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Allanius2
Posts: 124
Joined: Mon Apr 14, 2014 10:12 pm

Stairs Glitch

Post 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?
User avatar
Allanius2
Posts: 124
Joined: Mon Apr 14, 2014 10:12 pm

Re: Stairs Glitch

Post 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.
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Stairs Glitch

Post by Komag »

You may have discovered a new bug, at least I've never heard of this one!
Finished Dungeons - complete mods to play
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: Stairs Glitch

Post 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.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
User avatar
Allanius2
Posts: 124
Joined: Mon Apr 14, 2014 10:12 pm

Re: Stairs Glitch

Post 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.
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: Stairs Glitch

Post 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).
Post Reply