Set Player/Event Priority

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Hi guys, I'm looking at doing this roller door mechanic for my project and I got the graphics for it, but the problem is that graphics do not overlap each other properly.


Let me further explain:


There is a 3x3 section in which you enter and above the area there is a door that is set on "above characters" priority that moves down below you simulating a roller door closing over you as if you entered the garage. The problem is when the roller door graphic moves over you- if your graphic is higher than 48x48 pixels- the top half is exposed.


I've been at it for a few hours trying visual tricks to make it seem that the whole object is above you- but it can't seem to be done. It seems my only choice is to have a plugin or script command that can set your character OR event priority manually. The Master plugin list does not to my knowledge contain such a thing yet.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
if all the elements of the door are set to above actor that should not happen - please check the event for that section of the door.


Alternatively, you can combine the entire 3x3 section into a single sprite (there is no size limit on sprites, only the editor cuts off the rest of the sprite to allow you to access the other grid positions) and move that single door sprite that way.
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Forgot a minor detail, just above the 3x3 area is a single grid of the building's sign, it's set on the highest priority but the door itself on high priority covers over it. Even have made an event simulating the sign that goes above the door, but because the door graphic is much larger and is set below it on the grid- it takes priority in level height.
 
Last edited by a moderator:

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
Trymaking it Same as charackter and mark also "Through" Option in that Event. Not sure if that helps.(That was wrong)


Else if Events are both on above , than the Event with the highest ID will overlap Events with lower ID.


Atleast that was the case in Ace.
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
That sort of works, I could maybe get it to work but the issue with the player or the vehicle's graphic is taller than the grid it overlaps that door.
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
Can you post Pictures so we can understand the problem better in detail.
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
First screenshot depicts the main function, the event that is selected controls the door, after meeting the conditions for the door


to close, the northenmost event is that door. The door is set on same level as player.


setup.png


As by these image exaples, the door functions nicely lowering itself simulating the roller door moving downwards, underieth the sign like it's supposed to as if the roller door mechanism is inside under the roof part. However once it reaches the vehicle/player, it plays up and looks like this:setup2.png


Now if the door is set above player- it will overlap the sign making it look just as wrong. This is why I am seeing a plugin that can command players/events to change there priority settings.
 
Last edited by a moderator:

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
I wrote before that the Event with the highest id is shown on top of the lower id one if both are on above.


I dont get the Info out of the Pictures, i thought i would but those dont help, sorry.


Maybe someone who owns MV can help.
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
I tried that theory- but somehow I don't think it's working in this program, the sign event is there set on 'above player' because it's supposed to be covering over the roller door event- which in turn the roller door covers over the player. The mapping graphic of the sign is set with the star indicating above events/player but events themselves take higher priority even still.


It's confusing I know.
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
The Sign on the Garage was an Event , now suddenly after you got some Answers suddenly your sign is a Map tile with Star :) .


It is no wonder that its not working, you are switching the details  again and again.


Here an experiment for you :


Create 2 Event NPC on "Above" and make one of them through on,  than teleport or walk them on top of each other.


You will see that the Event with the higher ID will be shown on top of the other. This alone should solve your initial Problem. 


(This does not aply with "same as char" its working differently)


Good Luck
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
I've followed the instructions, the ID doesn't seem to matter on this program: also it seems that no matter what happens- if you have two events set on both above player, the event the southernmost will stand above events behind it. Sorry if this is complicated.
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
This only happens with events on priority "same as char". did you recheck the events? human error is very common in game making.


Is it possible that you have a plug inn something called "Star Passability something Fix"?


In Ace this worked perfectly fine, maybe its just the MV Maker itself, bugging around?


Maybe making a Bug report in the correct sub forum, if its a bug with this engine they would be interested in this and would fix it in future versions hopefully.
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Checked millions of times haha, I strive to make sure everything is 100% perfect- but yeah human error does pop up on occasion.


I have no such plugin installed, there is a possibility MV is glitching out- this isn't the first time I've encountered problems with the system and even so when I move onto new areas like using screen panning I find them options replaced by an inferior one with a different name even.


Though I'm not entirely convinced this is a bug- perhaps it's actually intended to be made this way- I gather that events that are closes to the bottom are set to overlap something, sort of like having a tall person standing in front of another at the same size- realistically the person in front shows more which I can understand, it's just frustrating when the player's priority level can't be adjusted.
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
Than this is different in MV than in Ace, iam sorry, Damn why would they change something that worked perfectly fine.


I used it for example for self evented visual equipment. Good to know this Bug of MV, maybe reporting it to the Developers could help.
 
Last edited by a moderator:

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
147
Reaction score
108
First Language
Ukrainian
I think this plugin will do needed work for you - link


There is z value for events graphic
 
Last edited by a moderator:

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
I will investigate that plugin and see if i can be of any use for this problem.
 

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
147
Reaction score
108
First Language
Ukrainian
My English is bad so i can`t understand properly whats your problem is. But i try to do same thing as in your pictures example, but only with plugin. And i don`t have any problem.


I don`t have proper graphics for it. But as you can see all works fine. Vehicle graphics is 64x64
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
What you have there is exactly what I am looking for, I would love to know in good detail how you accomplished it :)
 

Krimer

Veteran
Veteran
Joined
May 10, 2013
Messages
147
Reaction score
108
First Language
Ukrainian
nothing special, with plugin you can control graphic priority.


Something like this, first two parameters is x and y, third is z, with z you can do what you need)
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,197
Reaction score
274
First Language
English
Primarily Uses
N/A
Just wanted to let you know I got around to doing this and it is 100% perfect. Spot on exactly how I'd like it.


Thank you so much for helping me Krimmer and everyone else who wanted to help me. I really do appreciate it folks :)
 

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,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top