I've got a tileset that I'm using on a few maps in a game I'm working on, and as part of setting it up, I've gone in and set the tiles that I want to be "solid" and "passthru", such as walls.
However, despite multiple setting it and resetting it, rebooting RMMV, saving, etc, I'm still able to walk thru/over the walls I have clearly marked with the 'x' in the Database.
I'm sure it's some kind of glitch, but I can't figure out how to fix it. Does anybody have any suggestions?
Is the passtrough part all the wall or just a section of it? if you put an "O" tile (like a painting or any other decoration that you forgot to cross) over a wall you will open a path into it.
This happens when you " erase " tiles with an empty passable tile. If you have layer 1 tile unpassable and then you erased something on layer 3 or 4 with an invisible passable tile, the program understands you want that to be passable.
There are 2 solutions, I use both of them
Solution 1
In your tiles create a non passable invisible tile and mark it. I made a tile next to it with a sign pass and another non pass so that I always know which invisible tile to use.
When you have this you have to paint the tiles you don't want to be passable with your invisible non passable tile on all the other layers except the ones that have the graphic you want there (wall or whatever)
Solution 2 (easiest one)
There are many scripts with regional options that include making tiles non passable or passable. So when you finish making your map you will only care about stared tiles. You will choose where the player can walk with regions you choose as passable and where not to pass with regions you selected as non passable
I'm still curious though if anybody has an idea as to how/why this is happening to begin with and how to track it down. Because it seems like a bug and shouldn't be happening.
if you have YEP plugins, you can use YEP_RegionRestrictions.
if you dont have 1, make a parallel event in the upper corner with
an erase event so this one re-run when you enter this map again.
you can use a scriptcall for the given region number to block everything.
otherwise, I have no idea either.
another option is YEP_EventHitBox with 1 event and use the note tag to extend
the width of that event to block passage.
there might be different once as well, depending what you want and most
comfortable with.
I do know why, it's actually very simple. RPG maker does not have an erase feature. That's all.
Because of that simingly innocent problem, there are loads of problems. The only way to have really "empty" tiles is to have a new map created, all the tiles will be empty, but once you paint a tile on one layer, that layer is not empty and there is no way to really empty it. you have to understand that a tile that has no graphics in it IS NOT an empty tile. that misconception brings the problems you're facing. that tile without graphic has rules applied to it, like passability and all the settings you add to it.
There is in fact one way to create empty tiles, but it's hard and i don't recommend it because just a misclick can lead to mistakes. The way to create an empty tile is to increase the size of the map, copy an empty tile from the newly created tiles and copy them with shift. not a cool tip.