The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Wilkituska on January 16, 2012, 03:52:21 PM

Title: [VX][CLOSED] Event priority fix
Post by: Wilkituska on January 16, 2012, 03:52:21 PM
<Event Priority Fix>
<6/January/2012>




Summary
I have a problem with priorities in RPGMVX. Basically, I use characters twice as tall as average ones (or even more) and since you can only choose one priority for an entire event (same as character, above the character, etc...) it shows only under or only above the player, no matter what part of the map you are.
Example:
[spoiler](https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F4YP6q.jpg&hash=7ca401b58250f0c8d89b3395ae9f30f0d182d3a3)[/spoiler]

What I want?
Just a way to change the priority in-game. I mean, if you step on a tile with an event, then, this or another event changes it's priority to show above the player. When you walk away, that event's priority returns to normal.


Features Desired




Did you search?
Yes

Where did you search?

What did you search for?
Title: Re: [VX][REQUEST] Event priority fix
Post by: cozziekuns on January 16, 2012, 05:27:52 PM
Exhydra's Oversized Event Support (http://rmrk.net/index.php/topic,42952.msg490349.html)

I think that's what you want.
Title: Re: [VX][REQUEST] Event priority fix
Post by: Wilkituska on January 16, 2012, 06:57:19 PM
Quote from: cozziekuns on January 16, 2012, 05:27:52 PM
Exhydra's Oversized Event Support (http://rmrk.net/index.php/topic,42952.msg490349.html)

I think that's what you want.

Actually, not. I already have that script, but the problem is not the size of the event, it's rather the size of the character (and, unfortunately, the player's character is not an event). The error is that the character is tecnically under the event, but he is so tall that his head reaches the tile above that event, therefore, if event priority is under the character, the upper part of the event overlaps his head even when he is under the bottom of the event (only shows correctly when the player is above the event)... And if you do the opposite, and you set the character priority under the event, then it shows the player above it even when he is behind (in the screenshot, for example, the character is behind a chair, but it look like he is above) and, well, in short, if I can't modify the priority in-game, then I have to choose between showing the correct graphics only when player is above the event or only when player is under the event. Hence, the error.

Have I made myself understood?
Title: Re: [VX][REQUEST] Event priority fix
Post by: modern algebra on January 16, 2012, 10:29:13 PM
What happens if you set the event priority to "Same as Character"?
Title: Re: [VX][REQUEST] Event priority fix
Post by: Wilkituska on January 17, 2012, 11:59:22 PM
Quote from: modern algebra on January 16, 2012, 10:29:13 PM
What happens if you set the event priority to "Same as Character"?

I will post some screenshots tomorrow. It's late in my country now.
But, basically, there is no much difference between same as character and under the character (depending on the case). As I said, the problem is that, technically, the character is not in the same tile as event, but two tiles down (character is three tiles tall), so it overlaps his head.

I have a limited english vocabulary, indeed. You will understand better tomorrow, with the screenshots.

P.S.- Sorry for that annoying emoticon, it displays automatically when you type that word.
Title: Re: [VX][REQUEST] Event priority fix
Post by: modern algebra on January 18, 2012, 12:10:32 AM
Well, I've attached two pictures that show what I got when testing with "Same as Character," where both the player and the event are 2 tiles wide by 3 tiles high. The player is the cat woman, and the other one is the event set to "Same as Player" Priority. It looks fine to me.
Title: Re: [VX][REQUEST] Event priority fix
Post by: Wilkituska on January 18, 2012, 06:52:23 PM
Okay, when I saw your pictures I realized something. I've finally tried one thing, and it worked. When choosing graphics for the event, it only displays incorrectly if you choose graphics from a tileset. Graphics with it's own charset work different. What a dumb mistake... I only need to copy all that graphics to new files.

Well, thank you all. And sorry for the inconvenience.