How can I make a character pass under a wall tile?

I want to make something like there is in some of the early Final Fantasy games, where you can walk up to certain walls on the left and right sides of the room and you will pass under them and into the black space around the room, where you can then follow an invisible path to a secret room.

How can I achieve this?
[SIZE=12pt]You can do this with events. You'll need a character sheet with the wall tile on it, then place an event where the character should be able to walk through the wall and set the graphic to the wall tile you placed on the character sheet. Finally set the event to be 'Above characters'. So long as the tile beneath the event is passable, the character will appear to walk through the wall.[/SIZE]
Or you can use a Wall-tile that has Star passability (that wall tile needs to be on one of the B to E slots, you can't use an Autotile for this).


That will automatically place the wall above the player sprite.
The problem with that option is that sometimes when you pass under you can just see the top of the sprite's head.  It's fine if you are going up or down, it's when you are going from side to side that the difficulty can occur.
[SIZE=12pt]You can do this with events. You'll need a character sheet with the wall tile on it, then place an event where the character should be able to walk through the wall and set the graphic to the wall tile you placed on the character sheet. Finally set the event to be 'Above characters'. So long as the tile beneath the event is passable, the character will appear to walk through the wall.[/SIZE]
But how can I make this work with a wall autotile? Also it seems to not select the area properly, it's way bigger than a normal tile.
But how can I make this work with a wall autotile? Also it seems to not select the area properly, it's way bigger than a normal tile.
Autotiles cannot be used for this - that's why many of the walltiles are also duplicated on B to E sheets.
If that tile isn't available there, then you need to edit the tilesets to get it there.
Autotiles cannot be used for this - that's why many of the walltiles are also duplicated on B to E sheets.

If that tile isn't available there, then you need to edit the tilesets to get it there.
I put it on the D sheet, but there's seemingly no way to just get a piece of the autotile. My walls are 1 ceiling autotile thick, and I can't seem to make it look like a proper piece of the wall.

(Removed image since it's solved and it's supposed to be a really secret spot in my game)

I want the player to pass through the wall on the right side near that pot at the bottom, but even if I put it on B-E, I can't get it to take that shape.
no, not with those kinds of autotiles.


In those cases your only solution is to make a screenshot of the map with the tile, then cut out the 32x32 pixel area of that tile and copy it over an unused tile of one of the B to E sheets and use that modified tilesheet in the tileset for the room.


Only with that edited form from the screenshot you can place that tile correctly, because those tiles are cut and reassembled by the engine, you won't find an identical tile in the tileset.
no, not with those kinds of autotiles.

In those cases your only solution is to make a screenshot of the map with the tile, then cut out the 32x32 pixel area of that tile and copy it over an unused tile of one of the B to E sheets and use that modified tilesheet in the tileset for the room.

Only with that edited form from the screenshot you can place that tile correctly, because those tiles are cut and reassembled by the engine, you won't find an identical tile in the tileset.
Well then... is there a script that can achieve this?
Personally, I like to use Neon Black's Terrain Tags. It lets you do cover and block tiles, as well as make the player move diagonally (like on a slope), and you can even make bridges that the player can go over and under without using events; it's a pretty handy script.
Personally, I like to use Neon Black's Terrain Tags. It lets you do cover and block tiles, as well as make the player move diagonally (like on a slope), and you can even make bridges that the player can go over and under without using events; it's a pretty handy script.
This seemed like a good script but... my head sticks out... See the pink on the lower right?

(Removed image since it's solved and it's supposed to be a really secret spot in my game)
Put a cover tile there, and then also place a blank event there with it's priority set to "Same as Characters." That should fix it.  🙂
Put a cover tile there, and then also place a blank event there with it's priority set to "Same as Characters." That should fix it.  🙂
That totally did fix it 🙂

Thanks everyone. Thread resolved 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-character-pass-under-a-wall-tile.23222/