Tall grass A2 tile- Set as bush, but bush feature doesn't work on the solo tile or on the bottom end of a group of them.

As the title says. Here's some screenshots of what I mean.

1 top works.png

Top tile works.

2 middle works.png

Central tiles work.

3 bottom doesnt work.png

Bottom tile doesn't.

4 solo doesnt work.png

Solo tile doesn't.

set as bush.png

Tile is set as bush.

Please advise, please and thanks. Only solution I've been able to come up with on my own is an invisible B/C/etc tile with the bush tag placed on a layer above it every single time, which isn't feasible.
The bush flag is handled by code, independently of the tile.
1) please show a screenshot of your plugin manager with all your plugins to check which plugins change your game code.

2) does this happen with other A2 tiles if you set them to bush temporarily?
3) does this happen in a new project without any plugins added?
3) which version is your editor, and which version is your project core?
The project core can be older if you didn't update it manually
The bush flag is handled by code, independently of the tile.
1) please show a screenshot of your plugin manager with all your plugins to check which plugins change your game code.

2) does this happen with other A2 tiles if you set them to bush temporarily?
3) does this happen in a new project without any plugins added?
3) which version is your editor, and which version is your project core?
The project core can be older if you didn't update it manually
1)
2023-09-05 10_39_43-Plugin Manager.png

I tested this with all plugins disabled on this project as well. Issue still occurs.

2)
Yes, it does happen with other A2 tiles. Just tested it. It doesn't happen with A1 tiles though, or B/C tiles, I've noticed.

3)
No. I made a new project and put in only my tile set and characters, and the issue does not seem to occur.

4)
2023-09-05 10_48_15-About RPG Maker MZ.png

2023-09-05 10_48_42-Corescript Updater.png
Alright... bit of an update on this. When I tested it on a fresh project, what I did was replace the 002 Outside tile set with my assets. However, after continuously troubleshooting this, I realized that creating a fresh tile set and putting my assets onto it resulted in the same bug that I'm dealing with. No plugins, no anything. I decided to try and replicate this with the default assets and no changes to the game files.

Totally default settings:

w1.png


Works a treat:

w2.png


However, making the fresh tile set settings, using the default assets, setting the tall grass to be a bush...

dw1.png


dw2.png


It doesn't work!

Unless I'm totally blind, I do not see a single setting in the tile set menu that controls why this would happen. As I said before, the bush setting seems to work perfectly fine on A1 auto tiles, so why the issues in A2?

I've essentially confirmed this is not a plugin issue, and anyone should be able to replicate this. Do any of you know what is causing this discrepancy in bush function? I don't understand the JSON file enough to look at it and make heads or tails of what could be doing this, so I'm totally stuck.
Hmmm. You're not crazy. I see it too. But I can't explain it yet.
It looks like just toggling the bush flag on and off changes something. Got to be something in the tileset.json data file. Because I don't see anything In the core scripts. I even have a plugin that SHOULD ignore the bush flag while standing on an autotile's bottom edge.
And it wasn't working like it should until I toggled the flag.

My guess is that there is a value that's only there by default.
Hmmm. You're not crazy. I see it too. But I can't explain it yet.
It looks like just toggling the bush flag on and off changes something. Got to be something in the tileset.json data file. Because I don't see anything In the core scripts. I even have a plugin that SHOULD ignore the bush flag while standing on an autotile's bottom edge.
And it wasn't working like it should until I toggled the flag.

My guess is that there is a value that's only there by default.
Well, that's frustrating. Hopefully someone out there knows exactly what it is, the thought of manually applying all my tile set settings over a default copy, while something I can definitely do if I have to, doesn't enthuse me.
It looks like just toggling the bush flag on and off changes something. Got to be something in the tileset.json data file.
I think I can confirm that.

I copied the default Tileset.json, went into the editor, removed the default bushes then put them back and saved.

Ran a diff on the two files and the contents of the Outside tileset were different.

I don't know what the values mean, but there are whole chunks of entries set to 3584 instead of 3648.

1694135010019.png


That would indicate a bug in the editor itself - I'd suggest OP report this to Gotcha customer support.
I think I can confirm that.

I copied the default Tileset.json, went into the editor, removed the default bushes then put them back and saved.

Ran a diff on the two files and the contents of the Outside tileset were different.

I don't know what the values mean, but there are whole chunks of entries set to 3584 instead of 3648.

View attachment 275888

That would indicate a bug in the editor itself - I'd suggest OP report this to Gotcha customer support.
What's the best avenue to do so?
Their Web site? Has a Contact link on the front page.
I don't know what the values mean, but there are whole chunks of entries set to 3584 instead of 3648.
If it's passability data 3584 simply means "impassible to boat, ship, and airship may not land". Not sure about 3648... let me think...

no down: 1
no left: 2
no right: 4
no up: 8
star: 16
ladder: 32
bush: 64
table: 128
barrier: 256
no boat: 512
no ship: 1024
no airship: 2048

So... 3648 would mean "no boat, no ship, no airship, bush". So if 3648 changes to 3584, it conforms with the observation that it stops behaving as a bush.
Tried manually fiddling with the tilesets json, didn't get the hang of it so I just decided to copy a default tile set page and paste it over my own, and redo all my settings around it without undoing the bush toggle, which worked. I'll submit a bug report.
I don't know what the values mean, but there are whole chunks of entries set to 3584 instead of 3648.

View attachment 275888
They might be tile ids. If they're autotiles each segment of autotile has a different id.
@AquaEcho There's no way the different portions of autotiles would add up to the thousands, and I don't see why the same one would be listed many times.

I'm presuming that what werzaque wrote above in terms of the bitwise tile flags is accurate.
@AquaEcho There's no way the different portions of autotiles would add up to the thousands, and I don't see why the same one would be listed many times.

I'm presuming that what werzaque wrote above in terms of the bitwise tile flags is accurate.
Although I do think that in this case it's the tile passability flags, the tiledata actually does go into the thousands. It's 48 possible patterns PER autotile, after all.
I submitted the bug report with all the details from this thread as well as a link to the thread itself. After a couple messages back and forth, the support staff sent this:


"This is Maker Series customer support team.

Thank you for playing RPG Maker MZ.

In line with this matter, we have cnfirmed[sic] the reported issue.

Rest assured that we will transfer this matter to developers for the further investigation.

Once again, our apologies for the inconvenience that this has caused you.

Thank you for your continued support for Maker Series.
------------------------------------------------
Maker Series Customer Support"
Although I do think that in this case it's the tile passability flags, the tiledata actually does go into the thousands. It's 48 possible patterns PER autotile, after all.
Why would that be stored in the tileset's JSON? That's a part of the map data, saying which portions of which autotile are displayed in this square.

You, in fact, can't change which spaces on the tileset are for autotiles or not, it's hard-coded in.
Issue still persists, however, I wanted to provide more information: changing the tile tag of a functional A2 bush also breaks it in this way. Figured that out when messing around with my footstep sound plugin. Had to set the rustling leaves sound tag to 0 to compensate for that fact (which didn't even end up working either).

EDIT: 1.8.0 fixed this! Glad I made this thread/the reports 🙂 If you were running into this issue, update your corescript, then edit your A2 bushes, removing and then replacing the bush setting and applying the change each time.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/tall-grass-a2-tile-set-as-bush-but-bush-feature-doesnt-work-on-the-solo-tile-or-on-the-bottom-end-of-a-group-of-them.160924/