The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Event Systems => Topic started by: :) on April 08, 2007, 01:21:26 AM

Title: [XP] On map HP/SP Visual v3.0 [RMXP Event System]
Post by: :) on April 08, 2007, 01:21:26 AM
Visual Hp/SP v3.0

What does it do?
-WIth this system you can visually see an aproximate of your current HP and SP in a visual located on the bottom left of the game.
- Ablility to scroll through hud to view all hp/sp's

Screenshots
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg50.imageshack.us%2Fimg50%2F2515%2Fscreenshtgk0.png&hash=4bdfbe1ad638cecc037237b64afd8915d4fd446a)

Credits:

Questions/Comments? Please leave all feedback here.

Update: Now has SP!
- Now ability to see all character's HP/SP's by press S.

Instructions
-Press S to scroll through hero's. walk around and do some battles to test it.
Title: Re: Visual Health v1.0 [RMXP Event System]
Post by: modern algebra on April 08, 2007, 01:34:54 AM
No need to credit me Nouman - my participation was minor at best.  :D
Title: Re: Visual Health v1.0 [RMXP Event System]
Post by: :) on April 08, 2007, 01:40:45 AM
No way! I had no clue how to get the percentage. You kicked this whole thing off!  :)
If anyone helps me in anyway to make something, their in the credits as well. =D
Title: Re: Visual HPSP v2.0 [RMXP Event System]
Post by: :) on April 08, 2007, 04:37:04 AM
New Version!

What's New?

Title: Re: On map HP/SP Visual v2.0 [RMXP Event System]
Post by: Zeriab on April 08, 2007, 06:34:57 PM
Great work Nouman. I like this idea.
I checked it out and I would have done it a bit different.
I'm attaching a version where I changed the Hp part for you to see.
It does not do the exact same. I've made the health show as full for the first 10 percent instead of being full only when the hp is full.
This also means that the next pic don't span 19 percent but 10 like the rest.
Title: Re: On map HP/SP Visual v2.0 [RMXP Event System]
Post by: :) on April 08, 2007, 06:46:53 PM
wow! That method is very clever. I am going to try and re make the SP part using that way.

Thanks, Zeriab!
Title: Re: On map HP/SP Visual v2.0 [RMXP Event System]
Post by: Zeriab on April 08, 2007, 07:05:44 PM
Thanks.
I just thought there was no reason to calculate the percentage more than once.
I didn't change the SP part because I thought you would learn more by doing it yourself ^_^
Title: Re: On map HP/SP Visual v2.5 [RMXP Event System]
Post by: :) on April 08, 2007, 07:37:25 PM
Sweet. your help is amazing!
I fixed the sp and have uplaoded it.

Next step I am trying to do: Make it so you can button imput and change to view another party members health and sp, sorta scroll through the hud.
Title: Re: On map HP/SP Visual v2.5 [RMXP Event System]
Post by: Kokowam on April 08, 2007, 09:21:08 PM
Ohh... That's pretty awesome... Lol. Isn't the blue outline thing a part of an optical illusion? :P Anyways, this is pretty cool and would go nicely with an ABS.
Title: Re: On map HP/SP Visual v2.5 [RMXP Event System]
Post by: Snailer on April 08, 2007, 09:29:21 PM
Lol i made a similar system once but it was only SP but worked exactly the same .

Nice work guys.
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: :) on April 08, 2007, 11:00:20 PM
NEW VERSION!

If you haven't tried the demo or even if you have, it's a must get now!

What's new?
-Character names
-Ablility to scroll through character's by pressing S.

Enjoy!!!
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: Kokowam on April 08, 2007, 11:01:02 PM
Holy crap that's awesome... XD

EDIT: Could it be done so that you change leaders if you press S? That would make things look a bit better, IMO.
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: :) on April 08, 2007, 11:13:34 PM
I guess I can try that. =D

I can probally cheat and just have it change the person's in front sprit. XD
The system already checks who's in party or not so changing aluxes spirit won't do anything. =D
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: Kokowam on April 08, 2007, 11:17:40 PM
Lol. If you cheat, then the name will be the same, the class will be the same, and etc. Not good in the long run XP I don't get your second line, though.
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: :) on April 08, 2007, 11:20:25 PM
eh I guess your right, but changing might be complicated.  :-\
I would have to check who's in the party blah blah then get rid of the party then put them all back in.

I'll try the cheating way first. it will just switch the person's image on the map.
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: Kokowam on April 08, 2007, 11:26:51 PM
Lol. Maybe just leave the leader changing to Blizz's scripted version? If you do party memorization (I did that for just two characters and it was hard >_>) it would take... 4! = 4x3x2x1 = 24 variable settings, I guess... -_-
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: Zeriab on April 09, 2007, 11:22:32 AM
I like what you have done.
Swapping actors isn't very difficult. It is one of those things that is easier to script
Anyway I have attached a version where the lead actor is swapped, but the structure of the party is not kept.
You should try to create a version where the actors are cycled through like you'd normally expect. (Hint: Usage of another variable might be good)
You should also change the Select so whether or not actors are swapped depends on a switch.
This swapping should naturally be disregard if a custom script defines the position and a scripting solution should be used.

@mastermoo: You won't need so many variables.
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: Kokowam on April 09, 2007, 12:38:57 PM
No. You'd need one variable but you'd need a common event that parallel processes to check the order of the people so that if (example using two people) Arshes is first, Basil is second, the variable = 1. If there's just Arshes, 2. If just Basil, 3. If Basil first, Arshes first, 4. That alone would take a confusing common event with a bunch of conditional branches. It would take more than 24 considering there is more than just all 4 characters in the party.
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: Zeriab on April 09, 2007, 01:30:08 PM
Lol. I doubt you can actors positions with event commands alone (not considering script snippets)
You can neither with variables nor a conditional branch check the position of actors in your party.
You can just check whether or not they are in your party.
Unless I have overseen the command you must already know their position. This can be done when you are adding and removing.
Assuming a max of 4 party members all you need is 4 variables for storing their position.
Then it's just to map the value of each variable to a particular actor.
You might have to use 1 or 2 additional 'temporary' variables when shifting and moving around.

You are just making it more complex than is needed.
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: Kokowam on April 09, 2007, 01:42:25 PM
Ack! You're right. The position can't be determined with events alone. >< And it's probably just complex because it's the first thought that popped into my head without thinking about how to simplify it :P
Title: Re: On map HP/SP Visual v3.0 [RMXP Event System]
Post by: drakenkanon on July 19, 2008, 11:34:07 AM
i like it, but cant you post more screens? from when he loses mp en hp