Tileset Passability Questions

Hello,


I recently discovered that there were some passabillity problems on my maps, specifically that the player is able to pass through cliffs.


I tracked the problem and it seems that whenever I put a passable tile on top of the cliff's edge, it will become passable from all directions.


Is there a way to circumvent that? Basically, I'd like those tiles to 'adapt' the passability from the tile they were placed upon.


Sorry if it's a bit of a noobish question, but I've read through the tileset tutorials and couldn't find a solution to this.


Here is a picture to illustrate what I'm talking about:


Left: cliff as it is supposed to be; Right: cliff is passable from all directions

tileset.png
not directly


You're using ceiling tiles for one of your cliff levels. That is basically what they're intended for, but it also has some effects you need to watch.


Basically both floor tiles and ceiling tiles are passable, but you can't pass directly from one to the other - in interior dungeon maps that is used to simulate a 2-level-dungeon with the player being able to walk both on the floor and on the top of the walls.


To get from one to the other, you'll need an override - usually a ladder-looking passable tile on the upper map layer.


However, due to engine limitations any passable tile on the upper map level (basically all passable decorations) become such overrides.


So the only way around that is by understanding that and being more carefull where you place which decoration. Because if the decoration is impassable (tree instead of leaves for example) then that is no problem.
That is the way the engine works.  You have a few choices.


1] Don't put passable tiles that close to the edge.


2] Have a non-passable version of a few tiles which you keep for such occasions.


3] Put a blank event on top of that tile, set it to 'same as characters', and then it becomes impassable.  For such occasions I put in a comment that it is a movement blocker so that when I come back to the map later, I can remember why there's this stray event sitting there.


4] There may be a plug in which allows modding of passabilities.  In Ace Shaz had a great little script for that, but I don't know if it's been ported over, or if someone has done anything similar.
@Andar I see. I think I get how it works now. Thank you very much! 🙂


@Kes Thank you very much! Using events to block movement is a very good idea. I was hoping that there was a way to have them on an upper layer though, so I could keep the cliff's edges, but I suppose that's not possible without plugins. Now that I think about it, I think I could use Yanfly's Doodads for that purpose...


Thanks a ton <3

Original thread: https://forums.rpgmakerweb.com/threads/tileset-passability-questions.74260/