problems with passability in RPG Maker MZ

Hello everyone, I tried to solve the problem by looking for an answer on the Internet, and by reading already existing branches on the forum, but I did not get a complete solution and answer to my questions, so I had to register to ask these questions directly to those who understand this better.

My problem is the passability of the character through objects, I drew my own textures, for example, bushes and trees, and put X passability where it is not needed on the first tier and a star on the top, I also took into account the fact that there should be an empty field on the B tab with a star and also all the cells are filled because this can lead to problems, so I even tried to just insert my own textures into an already ready-made tileset, but in the test where the X character goes through them, but at the same time part of the texture with a star works fine, and what exactly the main thing is that some places where the X character is still standing do not pass.

Also, in order to prevent guesswork as to why this parting is not correct, I will immediately point out that I made the ground on the first lower layer, bushes, trees and stones on the third and leaves that I decided to make a single texture on the 4th highest level.

I am also attaching an image of the tileset settings and the map itself.
Most likely, I'm doing something wrong or missing some important step, but I can't figure out which one, because when I literally do step-by-step videos on the Internet or use ready-made tilesets, everything works correctly, but as soon as I start using my own tiles, everything stops working .
And I immediately apologize for this wall of text.
It has nothing to do with your tilesets, it's because you drew characters that are more than one tile tall.

The star display of sprites is determined by that tile, not by the tile some spaces below where your character's feet are.

You'll need to use a plugin that fixes star passability for tall sprites.
At first guess - you have a passable but invisible tile on the top layer.

as @ATT_Turan mentioned the behaviour is correct for the upper half, but your problem is that the lower half of the sprite stands on a tile that is supposed to be impassable.

and that can only happen in one of three cases:
1) the top layer of that position contains a passable tile (bottom ground, layer 2 impassable bush, layer 3 passable air) - which is why you should always only use the first B tile with the star for erasing, no other clear tile.
2) the party or the event is on through and ignores all passabilities
3) you have a plugin that messes with passabilities


EDIT: and I see several air tiles set to passable instead of star in your tileset.
Good call @Andar I didn't notice that.
As far as I understand, you have everything set up correctly. However, the issue lies with the size of the character sprites, which are larger than the program's standard size for characters. My guess is that the bush tiles that should overlap the character can be turned into events, and depending on the player's position, change their priority. Maybe there are simpler ways, but it's the first one that comes to mind. In order to provide a clearer explanation, I've included several images for visual reference. I hope this will help.
@xeneeve like att_turan above you missed that the player stands on an impassable tile.
the star tile effect would not be that problematic if the player didn't get on the impassable bush.
@xeneeve like att_turan above you missed that the player stands on an impassable tile.
the star tile effect would not be that problematic if the player didn't get on the impassable bush.
Oh, thank you for informing me! I don't know how I managed to miss that. 😅
Це не має нічого спільного з вашим набором фішок, це тому, що ви намалювали персонажів, висота яких перевищує один тайл.

Показ зірки спрайтів визначається цією плиткою, а не плиткою трохи нижче, де знаходяться ноги вашого персонажа.

Вам потрібно буде використовувати плагін, який виправляє прохідність зірок для високих спрайтів.
Oh, I didn't know about it and didn't even think about it, then if possible, give a link or the name of this plugin that can solve this issue. Thank you.
Oh, I didn't know about it and didn't even think about it, then if possible, give a link or the name of this plugin that can solve this issue. Thank you.
Хлопче, тут справа не зовсім в плагіні. Нижча половина великого куща відмічена хрестиком, тобто гравець НЕ може по ньому ходити. На скріншоті же він якимось чином стоїть на тому тайлі. Тут або ви налаштували головного персонажа так що він може проходити через подібні тайли, або ви спочатку збереглися, потім зробили правки в налаштуванні тайлсету, а потім загрузилися. Нові параметри не оновилися, тому і маєте таку проблему. Можливо це якийсь плагін вам таке наворотив, особливо якщо він додає або змінює механіку пересування (ну типу можливості ходити по діагоналі або щось на кшталт). Можливо ви додали випадково стороннє проходження? Наскільки я знаю це теж щось може зламати ... але це не точно lol. Короче, матиму надію що це вам допоможе у вирішенні проблеми.

@xeneeve This is an English-only forum, please make sure to post in English.

or the name of this plugin that can solve this issue. Thank you.
but it cannot solve your issue because your true issue has nothing at all to do with the star passability fix.
my post above explains where your tileset is wrong and needs to be corrected, or how you need to map correctly.
but it cannot solve your issue because your true issue has nothing at all to do with the star passability fix.
my post above explains where your tileset is wrong and needs to be corrected, or how you need to map correctly.
Oh, sorry I didn't notice your message right away because I was reading on my phone.
I realized that my problem is the first point, I checked and it is really a problem with the uppermost layer of leaves due to the fact that there are stars on them to simulate walking under the crowns of trees, and if you remove this layer, everything works correctly, but now there is another question the possibility to import the leaves as a single image as in the screenshot in order to preserve this effect, because now if you leave the leaves but without the star sign, the lower layers are visible on top?

And again, thank you very much for your help😠

Хлопче, тут справа не зовсім в плагіні. Нижча половина великого куща відмічена хрестиком, тобто гравець НЕ може по ньому ходити. На скріншоті же він якимось чином стоїть на тому тайлі. Тут або ви налаштували головного персонажа так що він може проходити через подібні тайли, або ви спочатку збереглися, потім зробили правки в налаштуванні тайлсету, а потім загрузилися. Нові параметри не оновилися, тому і маєте таку проблему. Можливо це якийсь плагін вам таке наворотив, особливо якщо він додає або змінює механіку пересування (ну типу можливості ходити по діагоналі або щось на кшталт). Можливо ви додали випадково стороннє проходження? Наскільки я знаю це теж щось може зламати ... але це не точно lol. Короче, матиму надію що це вам допоможе у вирішенні проблеми.
А все вже😠
But anyway thanks for the help
If you have problems with finding a plugin to help, you can always do it with eventing.
because now if you leave the leaves but without the star sign, the lower layers are visible on top?
We obviously talking about different things, because what I said was basically that you need MORE star-tiles, not less: that several of the tiles you have as passable need to be set to star to work correctly.

please give the map screenshot again, but this time please mark the tiles you have problems with.
we already found two different problems but neither seem to be the one you're looking at.
We obviously talking about different things, because what I said was basically that you need MORE star-tiles, not less: that several of the tiles you have as passable need to be set to star to work correctly.

please give the map screenshot again, but this time please mark the tiles you have problems with.
we already found two different problems but neither seem to be the one you're looking at.
I apologize, so I didn't quite understand what you wrote.
Here are the screenshots, on the first one I marked with a red cross where there are problems with passing and where the character should not pass (it is also visible that in some places the normal settings remain) and I also add screenshots with the tilesets settings.
Yes, it is what I originally thought as a problem.

First: When placing your trees you are destroying the passability of anything behind them by their branches forcing passability. The following shows stars you need to add (others are missing as well)

need_star.jpg



Second, whereever you have a transparent tile it should be set to star to prevent you fom accidentally messing with passability when selecting a large tile zone to place.
At MAXIMUM you'll need a single "air" tile set to passable and a single one set to impassable to override the regular passability exactly where you intend to do that - which means those special tiles can't be scattered through your tileset, they need to be where you know to select them if and ONLY IF you intend to use that advanced mapping technique.

The next screenshot shows what should be set to star:
should_be_star.jpg



Make those changes and most of your problems should go away.
Anything remains make new screenshots with markings for us to find out where your tileset is still wrong.
Make those changes and most of your problems should go away.
I did everything you wrote and it finally started working correctly, checked several times and found no more problems.

Thank you very much for your help and time.

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-passability-in-rpg-maker-mz.163021/