Full HP Cost for Skills/Commands

Alyon93

Veteran
Veteran
Joined
May 19, 2015
Messages
62
Reaction score
2
First Language
Italian
Primarily Uses
N/A
Hi guys!  :)  

I need your help for a system I'm trying to realize.

Basically in my game characters have only one gauge(Energy) that works for both HP and MP aswell.

You can find a post here with all the reasons:

http://forums.rpgmakerweb.com/index.php?/topic/43162-hp-gauge-only-tips-and-opinions/

You can also comment and give me some tips or opinions if you want.

As for my request is the following:

I was able to introduce an HP cost for skills/commands. In the proper formula I've add "a.hp -= x;" and so now it actually wastes x HP when used.

What I want is that HP now would work just like MP/TP, so if you don't have at least a number of HP greater than the actual cost per skill/command, that skill/command should be locked and grayed out.
In the same way I want a special command "Rest" to be unlocked when you can't use any other skill or command(except for items of course).
Also in the skill choice menù I would like to check the actual requirement of HP(since the MP wouldn't exist in my game every skill would cost 0 but that's not right).

I know it's basically changing one of the basics of every RPG but it seems to me a pretty original idea and a more strategic approach to your resources.
I'd do it myself if I knew how to script in RGSS3, but still I don't know it very well so if you can help me I'd be much thankful!


As always sorry for my bad english(I'm italian) and thanks to everyone who had patience and courtesy to read all this long request. :)
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Yanfly wrote a script that lets you use HP costs for skills, maybe try that and see if it does what you want? I'm not sure if it can be used without the Yanfly battle engine though.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,666
First Language
German
Primarily Uses
RMMV
there are several skill cost scripts available on the master script list, please check if you can use one of them.


The one from Yanfly should be able to do what you want, and several others as well.
 

Alyon93

Veteran
Veteran
Joined
May 19, 2015
Messages
62
Reaction score
2
First Language
Italian
Primarily Uses
N/A
Shame on me  :(  

I shoud have checked earlier the MSL.

Two Yanfly scripts have made exactly what I wanted. One being the "Skill Cost Manager" and the other being the "Skill Restrictions".

Thanks anyway for giving me the right address to find the solution!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,847
Messages
1,016,968
Members
137,561
Latest member
JaCrispy85
Top