DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
497
Reaction score
84
First Language
Italian
Primarily Uses
Hello guys.

I tried to understand the script but i can't figure out how to add the total HP of a monster, near the actual hp.

This is the script: https://atelierrgss.wordpress.com/rmv-hp-gauge/

I thought that it could be more cool in a way like this... where at left you have actual hp, and right total hp.

Cattura.JPG

I know that numbers are "created" with a spritesheet:

HPGaugeEnemy_C.png

So i think that for create a slash "/" for divide the actual HP, maybe it's not so simple, i think.

I don't know if it's possible in a simple way... :(

Let me know, please.
Thank you in advise
 

TheGentlemanLoser

"And when we fall, we will fall together..."
Veteran
Joined
Dec 30, 2020
Messages
215
Reaction score
259
First Language
English
Primarily Uses
RMMV
I think you're going to create a function (probably not technically the correct term) that calculates and parses the monster's max hp and feeds that back to the spritesheet to display. I don't think that should BE TOO complicated, but I'm certain it will require more knowledge of JS than I possess.
 

DarkSearinox92

Veteran
Veteran
Joined
Jan 8, 2013
Messages
497
Reaction score
84
First Language
Italian
Primarily Uses
I think you're going to create a function (probably not technically the correct term) that calculates and parses the monster's max hp and feeds that back to the spritesheet to display. I don't think that should BE TOO complicated, but I'm certain it will require more knowledge of JS than I possess.

I think that all you need is only to print the total hp. A fixed number.
Because the function that calculates the hp of the monster, already exist, and it's what you see.
The problem is that the number that you see, will update every time you deal damage, of course.
But what about add another function as a copy of the first, that remain fixed, near the first??

(as for the dividing slash "/", I don't know...)
 

Latest Threads

Latest Posts

Latest Profile Posts

I've been working on some ABS team A.I. for 'A New Suburbia', and thought I'd share.

I'm generally quite please although the AI is a little grenade heavy right now :rolleyes: - Sneaking and stalking next! Please excuse the terrible map... it was just for ease of viewing!
Voting for the second round of the Map Madness Tournament is now live! Vote for your favorite in each matchup! https://forums.rpgmakerweb.com/index.php?forums/map-madness-2021-polls.187/
Just bought the Visustella All Waves bundle... Time to go IN!!
Oh, I was just confirmed I'll be doing small online classes during june - july, on one side I'm nervous and looking forward it, on the other one: I've became the very thing I swore to destroy. :kaodes:
Work starts today at 2pm. I hate jeans, but the dress code says I have to wear them... That's how I discovered I was a plus size. Shopping for my first pair of jeans.
Anyhow, I'll post a new video on TheDazzlingsAreBack as soon as I'm able to.

Forum statistics

Threads
110,575
Messages
1,054,322
Members
143,688
Latest member
Smug
Top