Impassible Tile passible for no reason!

HELP_Traversal.JPG


I'm losing my mind. As you can see, tiles which are marked impassible are, for no explicable reason, passible. I have tried changing the passible toggle back-and-forth. I have tried replacing the tiles on the map. I have renamed the files. I have ensured there was a "turn through off" line, even though there is no "through" line running. I'm at my wit's end.

Things that might be important to note:
No icons show up for the tiles when I hit Passage (4 dir). No arrows at all.
The brown wooden tiles are marked as impassible and work as intended.
Maybe you have a layer of invisible tiles above. It is a good habit not to use transparent tiles to fill the png file.

Also the first tile of section B should be a star tile if I recall correctly.
Maybe you have a layer of invisible tiles above. It is a good habit not to use transparent tiles to fill the png file.

Also the first tile of section B should be a star tile if I recall correctly.
3 things:

1. I already predicted that as a possibility, so I set an invisible tile to impassible and put it over the spot, before doubling back with the regular wall tile. No dice.

2. I don't think I did that? I am a fool though, it's not impossible I did something silly like that. How would I find out and fix it, if that's the case.
Edit: I misread what you said, however tile making hard 🙁

3. It's supposed to be a star? (I literally am unable to set any of those tiles to stars for some reason. I do not know why.)
Sorry seems the star tile problem was fixed long time ago.
My suggest is you fill those transparent tiles with a solid color so you can find problem quickly.
I'm losing my mind.
no, you're not - that is the expected behaviour if you use a ceiling tile (with special passability to simulate a 2-level-map) in place of a wall tile.

If you check the orginal A4 tiles carefully, you'll see that they are always pairs of regular walls with fitting ceilings/wall-tops above them. And the wall-tops ARE passable under special circumstances (only from below) despite being marked impassable, to allow a player to "climb up" to them with a ladder that is placed on the truly impassable wall below those tiles.

And while the bright yellow makes it difficult to see, I think you used the ceiling portion instead of the wall portion for that line of the wall.
Ah, I think you are right. Judging from the brightness of the yellow, it must be the upper part.
Well, in such case if You have troubles of controling what is passable and what is not, why not using a bit of JS and special approach? 😛
rpg_objects.js:
JavaScript:
Game_CharacterBase.prototype.isMapPassable = function(x, y, d) {
    var x2 = $gameMap.roundXWithDirection(x, d);
    var y2 = $gameMap.roundYWithDirection(y, d);
    var d2 = this.reverseDir(d);
    return $gameMap.isPassable(x, y, d) && $gameMap.isPassable(x2, y2, d2);
};
This above, is default function that cheks if tile is Passable or not, You could simply modify it as:
JavaScript:
Game_CharacterBase.prototype.isMapPassable = function(x, y, d) {
    var x2 = $gameMap.roundXWithDirection(x, d);
    var y2 = $gameMap.roundYWithDirection(y, d);
    var d2 = this.reverseDir(d);
    if( $gameMap.regionId(x2, y2) == 1 ){return false;}
    if( $gameMap.regionId(x2, y2) == 2 ){return true;}
    return $gameMap.isPassable(x, y, d) && $gameMap.isPassable(x2, y2, d2);
};
The flat if statements checking if the tile that You trying to enter with the character is either region 1 or 2, if tile have region 1, it will block You to go there regardless of what tiles were set to, if the region is having value 2, it will let You go thru no matter what tiles says 😛

ofc. You can replace Region IDs with anything, and control where You can go and where not with simple region coloring 🙂
1737733173669.png

Simply,
1) copy the code above ( with the extra if statements )
2) open rpg_objects.js in any text editor, I believe You already have one 😛
3) Find the "Game_CharacterBase.prototype.isMapPassable" function ( use CTRL + F )
4) Replace the function with the one given above
5) You can replace which regions do what by simply changing numbers, for example:
if( $gameMap.regionId(x2, y2) == 5 ){return true;}
Would make region 5 to work as force pass region ( it's having green color in the engine 😛 )
6) Done
You can now just paint specific tiles that You want to either be passable or not using regions 😀
open rpg_objects.js in any text editor, I believe You already have one 😛
Do not modify the rpg_objects file directly.
You should always write to a plugin.
I wanted to make this clear since the OP appears to be a new users.

Additionally, since this is MV, you can simply use YEP Region Restrictions - part of the free plugin collection - to get this functionality.
Finally, rather than program something to cover up the problem, a proper solution should be found instead of burying it. I suspect Andar is correct. The map should be adjusted, using regions to correct passability is not a good way to solve a bug. This is a bad habit to teach.
no, you're not - that is the expected behaviour if you use a ceiling tile (with special passability to simulate a 2-level-map) in place of a wall tile.

If you check the orginal A4 tiles carefully, you'll see that they are always pairs of regular walls with fitting ceilings/wall-tops above them. And the wall-tops ARE passable under special circumstances (only from below) despite being marked impassable, to allow a player to "climb up" to them with a ladder that is placed on the truly impassable wall below those tiles.

And while the bright yellow makes it difficult to see, I think you used the ceiling portion instead of the wall portion for that line of the wall.

I had no idea that wall-tops are passable like that, I was using the wall-top as a regular wall! I changed it to the regular, actual wall, and the behavior fixed immediately. Although this means I now have to change around my entire sprite sheet (scary), this also squashes a "bug" that had been plaguing my game since creation, which is very nice!

... I wonder what other unspoken tile-set rules there are, chances are there might've been a few tile-set rules that I have no clue about that totally bugged a part of some of my other games.
Spoiler
1737770673029.png
1737770802592.png
Not sure if this counts a trick.
Basically the game is a top view puzzle, so you only see top of the walls so I use A5 tiles to create walls. And use A2 to create inner and outer shadows of the walls.
The original walls don't look correct without top tiles so I have to think of another way.
Not sure if this counts a trick.
Basically the game is a top view puzzle, so you only see top of the walls so I use A5 tiles to create walls. And use A2 to create inner and outer shadows of the walls.
The original walls don't look correct without top tiles so I have to think of another way.
I never considered that! That's actually really cool!
I had no idea that wall-tops are passable like that, I was using the wall-top as a regular wall!
one hint on that could have been the actual format of the A4 sheet - if you check the picture instead of the tiles in the editor, you would have seen that the true wall tiles are 4-cell (96x96 pixel) autotiles, while the top tiles were full 6-cell (96x144 pixel) autotiles.

A good start would always be the help file with the asset standards as that describes a lot.
and I don't know what tricks you don't know.
two things come to mind directly: the boat and ship passability is hardcoded but different based on tile position in A1 (see helpfile), no matter what the picture of the tile is - ever seen a boat row through lava if you replace some of the water tiles with lava tiles?

and the second is that in playtest (but not in the deployed game) you can hold either ctrl or alt (don't remember which atm) to disable all passability. just in case that you got stuck during testing a map and can get out without restart.
one hint on that could have been the actual format of the A4 sheet - if you check the picture instead of the tiles in the editor, you would have seen that the true wall tiles are 4-cell (96x96 pixel) autotiles, while the top tiles were full 6-cell (96x144 pixel) autotiles.

A good start would always be the help file with the asset standards as that describes a lot.
and I don't know what tricks you don't know.
two things come to mind directly: the boat and ship passability is hardcoded but different based on tile position in A1 (see helpfile), no matter what the picture of the tile is - ever seen a boat row through lava if you replace some of the water tiles with lava tiles?

and the second is that in playtest (but not in the deployed game) you can hold either ctrl or alt (don't remember which atm) to disable all passability. just in case that you got stuck during testing a map and can get out without restart.
What's the "Help file"? That's news to me, and I haven't found anything like that in the files yet?
What's the "Help file"?
Help -> Contents -> Documentation -> Asset Standards

Actually the documentation is the whole manual on the software, so it's good to keep in mind for future references.

Original thread: https://forums.rpgmakerweb.com/threads/impassible-tile-passible-for-no-reason.174915/