RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
LP System v1.1

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 75
RMRK Junior
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

showing in the Menu (yeah I know I removed the class)


at battle (yeah mp gauge and lp gauge are shorter to fit in together)

DEMO
Demo can be found here: Link

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
« Last Edit: February 07, 2012, 05:07:10 PM by FlipelyFlip »

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
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
it's like a metaphor or something i don't know

**
Rep:
Level 75
RMRK Junior
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
« Last Edit: February 07, 2012, 06:48:09 PM by FlipelyFlip »