Terrain Event Graphic Over Player.

Greetings. I'm running into an issue.
See normally, when you set a graphic for an event, if the priority is set as "Same as Player", the player is still "Over" the graphic. For instance if the character has a big sprite, or if they use through to go through the event, the event will always be under the player unless the Priority is set for above the player.
HOWEVER.
If you use a spritesheet with ! in front of it, or if you use a tile from a tileset as the event graphic, it's always above the player unless the priority is set to below the player (Not what I want)
The issue I'm running into is I've set up some farming patches, and when the player interacts with a blank one, it does a little animation where the player swings a farming hoe at it. The sprite clips under the farming patch because it's a sprite that extends past the normal 32x32.
Does anyone know why this occurs and also where in the default Scripts I may be able to change the Z value for tile-based events?
for large sprites, you can use star tile ability and use one of those plugins:
Ocram_StarTileFix (plug and play)
VE_TilePriority (configration needed) + VE_BasicModule
remember there might be more, but Ocram is my favorite, but you need
to checj adnd test to see whats fits you most for compability issues.

EDIT:
While the above is for MV (my bad reading) here is VXA script that should work
for larger sprites.

While I dont own vxa, I cant test it.
@ShadowDragon Those are MV plugins, so will not work in VX Ace.
Here you go - Neon Black made a fix for this.

Just be aware, if you turn it on for events as well as the player, it'll probably cause your game to lag. Better to turn it on just for the player.

@Kes My bad for reading, I edit/updated the post.
Here you go - Neon Black made a fix for this.

Just be aware, if you turn it on for events as well as the player, it'll probably cause your game to lag. Better to turn it on just for the player.

Well the issue I'm having isnt star tiles, its specifically events using tilesets or with a ! In the filename.
For example, I can make two identical events. Priority same as player, everything the same.
If I use a normal character and walk onto the same tile as the event using through, the player sprite will appear OVER the event.
HOWEVER, if I use a tileset graphic the player sprite will appear UNDER the event.
Then we need a screenshot of one such event, because that is not normal.
Please give the whole page, do not crop the part on the left as we need that as well. To take your screenshot please use Alt+PrtSc so that only the active window is included, not the whole of your desktop.
It might also be useful to include a screenshot of the tile set involved in the editor, showing the passability settings.
Then we need a screenshot of one such event, because that is not normal.
Please give the whole page, do not crop the part on the left as we need that as well. To take your screenshot please use Alt+PrtSc so that only the active window is included, not the whole of your desktop.
It might also be useful to include a screenshot of the tile set involved in the editor, showing the passability settings.
movement.png


I used a blank project to show that you can easily replicate this yourself using the default engine.
It's because you have set the graphic of the cave entrance to 'Same as Characters'. It should be 'Below Characters'.
It's because you have set the graphic of the cave entrance to 'Same as Characters'. It should be 'Below Characters'.
Right, but I don't want the event to activate under the player. It needs to be activated by the player next to it.
The "Same as Character" priority allows the player sprite to be over the event, but not if it's a tileset or ! spritesheet. Which is frankly strange.

alicenooo.png

See, I have the player character interact with the tile, which plays an animation where they swing a farming hoe at it. On the left is how it is in game, on the right is how I need it to be (with image editing).

So really what I'm wondering if there is a place somewhere in the default scripts where I can edit a value to change this so tileset graphics will work the same as a normal spritesheet in terms of priority, or will it require custom scripting?
If you want the sprite to activate an event, I don't think that can happen if you set the sprite to 'Through'. Why do you need that?
If you want the sprite to activate an event, I don't think that can happen if you set the sprite to 'Through'. Why do you need that?
I don't want to set it to through. This issue happens no matter what. I was simply using through to show it off easier.
You won't be able to activate the event from next to it, if you are able to walk onto it. I think this is happening because your tile passability is set to O - I'm pretty sure that when you use a tileset for the sprite, it uses the tile passage setting to determine whether it's through or not. Try changing that to X, which should stop you from walking onto it.

Although in the case above, I would simply draw the tile on the map, then use an event with no sprite, with priority set to Same as Characters.
You won't be able to activate the event from next to it, if you are able to walk onto it. I think this is happening because your tile passability is set to O - I'm pretty sure that when you use a tileset for the sprite, it uses the tile passage setting to determine whether it's through or not. Try changing that to X, which should stop you from walking onto it.

Although in the case above, I would simply draw the tile on the map, then use an event with no sprite, with priority set to Same as Characters.
I don't want the player to walk on it, that's fine. But the problem with just using a blank event is that the tile changes graphics several times as the player performs actions.
Okay - in that case just set your tile to not be passable in the tileset.

If this causes issues because you want to use the same tile elsewhere and have it passable, have two versions - one with O and one with X. You'll need to modify the tileset image to do this, so you'll probably want to make a copy of the whole image, and erase the tiles you don't want.
Okay - in that case just set your tile to not be passable in the tileset.

If this causes issues because you want to use the same tile elsewhere and have it passable, have two versions - one with O and one with X. You'll need to modify the tileset image to do this, so you'll probably want to make a copy of the whole image, and erase the tiles you don't want.
Well even with that, the issue is still there whether it's O or X. That being that the tile is still above the player, so if the player has an animation that extends past the 32x32 tile (for instance, using the farming hoe), or if a large sprite follower is tagging along, they'll still clip under it.
SO I managed to figure out somewhat of a solution by using a script call to change the Event's priority to below the player before the animation, and then back to normal after the animation. It's not perfect, and still has the issue of bigger followers clipping into it, but it seems like I'll probably need custom scripting for that. (I also tried fiddling with the Big Sprite fix script to see if I could adjust some things to make it work, to no avail)

Original thread: https://forums.rpgmakerweb.com/threads/terrain-event-graphic-over-player.118189/