The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => VX Scripts Database => Topic started by: FlipelyFlip on February 06, 2012, 10:16:54 PM

Title: LP System v1.1
Post by: FlipelyFlip on February 06, 2012, 10:16:54 PM
LP System v1.1
FlipelyFlip
06.Feb.2012


Introduction
Heyey,
this script is written by me and needed my whole scripting knowledge to maximum.
I've learned a lot with this script, but it's not intressting for you xD

This Script is used to create a new parameter called LP. LP is used for defining
how many chances the actor or enemy has to stay alive. If HP reaches 0 your LP
counter will lose 1 LP and the HP will fill up to maxhp. If damage is greater
than left HP, it will still decrease the new HP too. Means, when your Actor
has only 20 HP left and an enemy deals 50 damage, you will loose 20 HP and 1 LP
fill your HP to max and then you will loose the left 30 HP.

Features
- creates new parameter
- easy to use, but powerfull

Script
Please take Script from demo (:

Customization
You can set for each actor and enemy the LP.
You can set a maximum for the LP
You can set a default amount for LP for actor and enemy
Also you can set the LP recover for a Item.

Compatibility
Should be compatible with every other script.

Screenshot
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.imagesload.net%2Fimg%2FLP_System1.PNG&hash=5283f53498a90ccd26acb4218fab7eda3dc225f8)
showing in the Menu (yeah I know I removed the class)

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.imagesload.net%2Fimg%2FLP_System2.PNG&hash=94957763eae5258d194f3a46efd6a45edf7fd853)
at battle (yeah mp gauge and lp gauge are shorter to fit in together)

DEMO
Demo can be found here: Link (http://www.mediafire.com/?pi824k7a273kc5h)

Version History
v 1.1
- added a Replace Class function to replace the showing class in main menu
- added a second MenuStatus Window for showing the LP in Item menu because
  if Replace Class is false, it won't show it there.

v 1.0
- define Max LP
- define Default Actor LP
- define Actor LP
- define Default Enemy LP
- define Enemy LP
- define Item Recover

Installation
Just place it above Main and under Materials

FAQ
Is it compatible with Script XYZ?
Should be, just test it out!

Terms and Conditions
Free for using it in non-commercial games. commercial games please pn me or write an email to me.
We will make then a good deal (:
E-Mail: flipely@NO_SPAMgmail.com
remove NO_SPAM ;)

Credits
Credits are only for me. I worked nearly a week on this and get frustrated if something won't work!
I lost nearly all my nerves and forced my whole knowledge of scripting to come out.

Thanks to
I'd like to thank Leif for his help, when I needed it, and for all the hints he gave me to get the script work.
Also I like to thank gubid for his video tutorials he made. I learned a lot from them.

~flip
Title: Re: LP System v1.0
Post by: pacdiggity on February 07, 2012, 11:16:59 AM
Awesome stuff! I suggest adding an option to limit the LP gauge in the menu to the status screen only, so the class is still displayed. But, you know, whatever.

Would you mind me converting this to VXA? :3
Title: Re: LP System v1.1
Post by: FlipelyFlip on February 07, 2012, 04:18:19 PM
Sure I can do it, I'll update it in a few minutes to this option (:

EDIT: Ah yeah, I will also do a porting to Ace when I have the time (:

EDIT2: Updated (:

~flip