Make priority of tile set tiles above events

MusicTF

Soundtrack Composer
Veteran
Joined
Mar 30, 2015
Messages
102
Reaction score
8
First Language
English
Primarily Uses
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!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
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.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
☆mark should work for all event/actor/followers
 

MusicTF

Soundtrack Composer
Veteran
Joined
Mar 30, 2015
Messages
102
Reaction score
8
First Language
English
Primarily Uses
☆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.
 

MusicTF

Soundtrack Composer
Veteran
Joined
Mar 30, 2015
Messages
102
Reaction score
8
First Language
English
Primarily Uses
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
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
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.
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
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.
 

MusicTF

Soundtrack Composer
Veteran
Joined
Mar 30, 2015
Messages
102
Reaction score
8
First Language
English
Primarily Uses
[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?
 

MeowFace

Meow
Veteran
Joined
Feb 22, 2015
Messages
1,034
Reaction score
184
First Language
Meowish
Primarily Uses
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.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top