Legend of Grimrock 2
0 of 0

File information

Last updated

Original upload

Created by

NichG

Uploaded by

nichg

Virus scan

Safe to use

About this mod

A demonstration of how to do elevation tricks in the LoG2 map editor: stairs connecting different elevations and an elevator.

Permissions and credits
This map shows how to use setWorldPositionY to create effects such as staircases and elevators. The trick involves the way that LoG's falling code uses an object's physical y coordinate to determine what it lands on, but uses the map coordinate of the platform to decide the new map coordinate of the falling object. You can use this to make the player 'fall up' when walking up the staircase, allowing them to reach higher elevations. Similarly, if you move a platform underneath the player (e.g. an elevator) then that can be used to adjust their map coordinate as well (though you need to be careful about the party falling through a rising platform here).

There are still a few unpolished bits with this technique - specifically, stepping up onto the stairs can look particularly jerky, and the elevation of attacks made sideways off of the staircase can be confusing to the player.