Prevent player from being able to walk through the tops of hills?

Video as seen in this video, the player is not able to walk through the brown wall parts of the hill, but is able to walk through the green top parts of the hill. The problem is on corners such as the one in the video, this allows the player to get to the top of the hill illogically. I tried making the tops of the hills impassable with an X, but that made it impossible to move on the hilltops even if you got up there normally, like with stairs or a ladder.
The video is not entirely helpful because you're using some custom-drawn tileset.

We need you to show us where on the tilesheet you've placed those tiles, because that looks like you put them in the wrong places.

Ceiling tiles are the upper tile of each pair in the A4 section. They should only be accessible from walking up into them, or if you're already on one, per passability hard coded into the engine.

1734055805174.png


So that looks like you placed them in a part of the sheet for ground tiles.
The video is not entirely helpful because you're using some custom-drawn tileset.

We need you to show us where on the tilesheet you've placed those tiles, because that looks like you put them in the wrong places.

Ceiling tiles are the upper tile of each pair in the A4 section. They should only be accessible from walking up into them, or if you're already on one, per passability hard coded into the engine.

View attachment 325458

So that looks like you placed them in a part of the sheet for ground tiles.
1734060206264.png
1734062852628.png


o passability means you can walk on it. If you look at the default settings in a new proejct, ceilings should be x passability (per my screenshot above). Once you're on there, you should be able to move between them. If not, then share screenshots of that setup.

(I know you said in your first post that you tried that, but starting from a point of it being set up wrong can't help to troubleshoot anything else 😉 )
If you have a hill that you want people to walk on, but not on/off, then the easiest way, imo, is to use the "Passage (4 dir) button on your tilesets tab. There you can click on the edges to stop movement you don't want. For example:
1734074917852.png

The setting on the black tiles (all little dots) show that these tiles are marked with an X, making them impassible. The tiles beneath that with 4 arrows show that these are marked with O allowing movement in all 4 directions. The tiles on the left are mixed dots and arrows. Where I don't want the player to go, i.e. over the edges, I have changed the arrow to a dot.
To do it this way, your hill needs to be on A5.
Changing back to an X fixed it, thank you
View attachment 325481

o passability means you can walk on it. If you look at the default settings in a new proejct, ceilings should be x passability (per my screenshot above). Once you're on there, you should be able to move between them. If not, then share screenshots of that setup.

(I know you said in your first post that you tried that, but starting from a point of it being set up wrong can't help to troubleshoot anything else 😉 )

Original thread: https://forums.rpgmakerweb.com/threads/prevent-player-from-being-able-to-walk-through-the-tops-of-hills.173879/