The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Passelel on February 06, 2010, 08:20:50 PM

Title: [REQUEST] Constant on-screen portrait
Post by: Passelel on February 06, 2010, 08:20:50 PM
<Name of Proposed Script>
<Date Proposed>



Summary
Basically, I'd want a character portrait that stays on the screen all the time, showing the physical and emotional status of the main character. It should also move, not to obstruct the view to the player character.

Features Desired


Screenshot
Here's an example from the, uh, wonderful RyonaRPG. That particular RPG was created using RPG Maker 2k, though.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg710.imageshack.us%2Fimg710%2F2324%2F56227736.jpg&hash=9528d9c0cb22330071dcce3e6997d055e6b59c6b)

Games it's been in



Did you search?
Why, I sure did.

Searching
Checked out the script database here and hbgames's forum, in addition to some google-fu. Unfortunately, I'm not really sure what are the proper keywords for this. "On-screen" and "Portrait" or anything related to those didn't exactly produce many results.

It's simple and universal enough to probably already exist somewhere. But like I said, I haven't actually found anything. Thanks for your time.
Title: Re: [REQUEST] Constant on-screen portrait
Post by: Grafikal on February 06, 2010, 10:36:41 PM
Wow, you don't even need a script for this. It's called "Show Picture". It's an event command. Show it and you turn it off by, oh shi- turning it off with the corresponding event command.
Title: Re: [REQUEST] Constant on-screen portrait
Post by: Passelel on February 06, 2010, 10:47:36 PM
Yeah, that's nice and all. Except for the whole "Moving away from the player" part which I mentioned. A simple show picture will get in the way pretty fast.
Title: Re: [REQUEST] Constant on-screen portrait
Post by: Grafikal on February 06, 2010, 10:55:22 PM
The player only walks to the edge of a screen when they're at the edge of a map, otherwise, they're always in the middle of the map. Set conditions on a map that if a player is within 8 tiles of the left edge of the map, then remove picture and show the reverse of that picture on the right. Vice versa for the other side. Very simple stuff. It just requires a bit set up, which for some reason every non-veteran member here assumes using scripts makes their games much easier, when in fact it's just a waste of time for the very talented scripters we have here. Not to say that they wouldn't do this, but it's just a very simple fix with events, imho. I always prefer eventing over scripts unless I know that the events will either slow down the game or is impossible to do with scripts, and to make sure it is impossible without scripts. I always ask or post about what I'm trying to do to make certain.
Title: Re: [REQUEST] Constant on-screen portrait
Post by: Passelel on February 06, 2010, 10:59:49 PM
Well, fair enough. However, let's assume then I want the portrait to change if the character's HP is below 50%. That doable easily?
Title: Re: [REQUEST] Constant on-screen portrait
Post by: Grafikal on February 06, 2010, 11:46:57 PM
Set another conditional. You'd have to have the picture for it though. Just make a variable = Player's HP. If variable is <= 50%, then erase what picture is there and show the beaten picture.