I'm not sure both if I need a script for this, or if it's possible through scripts, but I've found no other way to do it. What I'm trying to do is to make a tile in a tileset be above events that have priority "below characters", but below the player. Would it be possible to make a script displays the tileset tile like this if the terrain tag is 1?
thanks for any help!
Make priority of tile set tiles above events
● ARCHIVED · READ-ONLY
-
-
Can you give a description of what exactly you want to achieve? You only described how you want to do something, not what (as in what happens in the game).
Changing such priorities needs a script, but messing around with tile priority in this way has the risk of breaking the map structure. To prevent that you should first check if other ways are possible, and even if we can't think of a better way any scripter would need more information to write a script that can be used. -
☆mark should work for all event/actor/followers
-
☆mark should work for all event/actor/followers
The Star mark makes the tile be displayed above both actors and events, what I'm looking for is that the tile be displayed above events with priority "below characters", and below actors. -
Can you give a description of what exactly you want to achieve? You only described how you want to do something, not what (as in what happens in the game).
I have a sprite for events that is 32x64, but for one specific use of that sprite, there should be something in the tileset that covers part of it. This tileset tile should not cover the player though, so in the game the event should be displayed below the tileset tile, and the actor should be displayed above it -
but for one specific use of that sprite,
What is that "specific use"? That is what I was asking.
Because there are different solutions that don't fit every case and use. For example there is one script for large actors that solves such problems by turning the player into a shadow if it goes behind walls that can't be displayed on top of the player. Or sometimes you don't use tiles but pictures where you change the z-level, but that depends on the map and doesn't work in all cases.
And sometimes you only trick the player into thinking it's ordered differently by using tricky transparency, but that doesn't work with animated parts.
To find an alternative that works for you, we need to know what you want to do instead of how you want it to do - because your chances for getting such a script are rather low at the moment, because most scripters are busy porting their scripts to RMMV. -
That's too much trouble to go through in script just to make 1 sprite working, so it's best that you use some of the work around out there.
Remember that the default behaviour of the event engine can already do what you want there.
[1] Above Character puts the object(event/actor) at the same level as the ☆ mark. From there, the top half of the sprite has priority over the tile making it show above all.
[2] Normal puts the object below the ☆ marked tiles and depends on its Y location, the top/bottom half of the sprite is rendered differently according to the other overlap objects and their settings.
[3] Below Character puts the object at the bottom most layer right before the lowest tile layer, so you can easily use the ☆ mark tile or another event(set to through) with the priority set to normal to show above it. -
[1] Above Character puts the object(event/actor) at the same level as the ☆ mark. From there, the top half of the sprite has priority over the tile making it show above all.
Thanks so much, this can actually accomplish what I'm seeking to do, but how does one change the priority of an actor? -
All you need is to make one event to be below character, and another that's either above or normal for that part that you want it to cover up the actor.
So there's no need to change the priority of an actor there. Just 2 events.
edit:
remember to add ! to the file name so the event sprite will fit as tiles, without it, it will be move 4 pixels higher. -
you can't change the priority of an actor - the priority is always relative to the actor, that's why they're called "above characters" (meaning above party actors) etc.