The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Fizzly on August 30, 2009, 07:05:57 PM

Title: [RESOLVED] Displaying equipped accesory on map
Post by: Fizzly on August 30, 2009, 07:05:57 PM
Can anyone help me? I'm noob at scripting, so if it's not hard to you, I'll be VERY GRATEFUL!

Edit: Argh, didn't post in request section, sorry. Please, move it here.
Title: Re: [REQUEST] Displaying equipped accesory on map
Post by: Sartory on August 30, 2009, 09:05:54 PM
Here you go!
http://rmrk.net/index.php/topic,28124.0.html (http://rmrk.net/index.php/topic,28124.0.html)


EDIT: oh, accessory? :S


AHA!  Here you are!:
http://rmrk.net/index.php/topic,31727.0.html
Title: Re: [REQUEST] Displaying equipped accesory on map
Post by: Fizzly on August 30, 2009, 09:59:30 PM
Oh, thanks much!!  ;D
Title: Re: [RESOLVED] Displaying equipped accesory on map
Post by: Fizzly on September 01, 2009, 01:21:34 PM
*bump* Sorry for double posting, but... I have one question:
Is that possible to change image layer priority via script? I mean, I'm using ABS with HUD displayed on map and that equipment-show script. I've like to configure them a little for my game, but I have this problem. The HUD is based on image, which is displayed as transparent bcg on the map, but when the equip script is showing accesory (icon) on map, the icon is below the HUD image... I want it above. Anyone know, how to do it? I've tried to change script sequence in database, but it still won't work.

I have:        I want:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg406.imageshack.us%2Fimg406%2F2903%2Fasdtlc.png&hash=865653f92086a68f6497a0866888f892c51b04ef)
Title: Re: [RESOLVED] Displaying equipped accesory on map
Post by: Grafikal on September 01, 2009, 07:18:14 PM
Something silly of me to suggest, but try placing the accessory script or what ever you're using below the HUD script in the database.
Title: Re: [RESOLVED] Displaying equipped accesory on map
Post by: Fizzly on September 02, 2009, 11:31:09 AM
"I've tried to change script sequence in database, but it still won't work."
Tried.  ::)
Title: Re: [RESOLVED] Displaying equipped accesory on map
Post by: modern algebra on September 03, 2009, 04:34:29 PM
I don't know what HUD you are using, so I can't do it myself, but I think you either need to adjust the z value of the face icon or of the viewport that holds it if the bg and face are using different viewports.

I would imagine that there are two separate sprites, one for the bg and one for the face and in the same viewport, so you need to find whichever sprite is holding the face and make sure the z value is higher than the bg sprite.
Title: Re: [RESOLVED] Displaying equipped accesory on map
Post by: Fizzly on September 05, 2009, 12:50:33 PM
Okay, found the solution, thanks modern_algebra! :)