Custom Tileset Table Autotile Problem

Hello! I've been struggling a bit with the autotiling feature for the A2 tables (they are a custom tileset). I made "counter-like" table designs (not to be confused with the "counter" setting in the Tileset Database) where majority of the tile is occupied, save for some empty space near the sides at the bottom, like this:

Table Autotile Problem Reference 1.png


(The red lines show where the tileset splits, by the way)

I also made regular table designs that look like this:

Table Autotile Problem Reference 2.png


But I've encountered an issue where when I use them in the editor, some of my regular-looking table tiles tile fine, as do some of my "counter-like" table tiles, but some keep the transparent spaces underneath. The issue persists into playtesting of the game, with the transparent parts turning into the default black background, so I think it's not an editor glitch. Here is the issue in action in the editor:

Table Autotile Problem Reference 3.png


As shown, the first two A2 tables have the bit of transparent spaces remaining at the bottom, while my other two designs don't have that problem. However, their settings in the Tileset Database are all the same. They are all tiles with "Passage" disabled, as well as "Counter" disabled, and I didn't touch any of the other settings. In case it is of relevance, the floor tiles are also my custom work, and they all have "Passage" enabled. Additionally, the tables that have the same shape are copy-pastes of each other, and I double-checked my custom tileset to make sure that the transparent spaces in the PNGs were actually transparent (ex: there's no super low-opacity layer of pixels in the transparent area that the editor is recognizing as occupied).

Has anyone else encountered this problem before? Or know how to fix it? Any help would be appreciated!
Please show an image of your Tilesets tab, with the Counter flag visible, so we can see the ones that don't work as well as the ones that do.

I believe only the tiles in the right column will draw correctly as counters, so it may be that you've got it in the wrong place.
Thank you for your help! My Tilesets tab in Database looks like this:

Table Autotile Problem Reference 4.png


With "Counter" enabled, the problem now looks like this in the editor (two different colored floors provided for clarity, since the second table that doesn't tile correctly is hard to see in the first floor color):

Table Autotile Problem Reference 5.png
Looks like the tiles are in the wrong section. I am not sure on the exact parameters but generally auto tiles with transparency have to be on the second half of the A2 sheet, possibly anywhere on A2, not sure. Try moving them there and see if it looks right, if it does you know that's the issue.
Unfortunately you have cropped away some important information, so now I need to get you to look again at something else. When we ask for a screenshot of something, please just use Alt+PrintScreen to get the entire active window without the desktop, and don't crop it any further.

It looks like your counters are all on the A2 sheet, which is fine. I thought it was only the rightmost column that could be counters, but on checking the documentation, it appears maybe columns 2, 4, 6 and 8 can all have transparency and will overlap whatever is on columns 1, 3, 5 and 7 respectively. Though looking at the default tilesets, I'm not even sure that is correct.

Is your tileset set to World mode or Area mode?


I would try making the two right-most columns the tables rather than giving them an entire row across the bottom.
Thank you both so much for your help! Keeping all tables in the rightmost half of the A2 tileset sheet worked for me.

Original thread: https://forums.rpgmakerweb.com/threads/custom-tileset-table-autotile-problem.124517/