Shana's Map HUD v1.20

======================================================


Overview


======================================================


This script allows you to display an in-map HUD for


HP,MP,TP and EXP.


You can make it have a constant maximum


width, or you can make the width scale with max HP/MP.


You can use either images,single color or a dual color


gradient for the bars. You can also have an image or


color based background and icons for the bars.


Also allows adjustment of the Z value of the gauges, so


that you can adjust it if necessary. Like if you have


lighting scripts and want the gauges to show below or


above the lighting layer


======================================================


Screenshots


======================================================

Spoiler
maphud01.png
Spoiler
maphud02.png
Spoiler
maphud03.png
======================================================


Download


======================================================


Get it here 🙂
Looks good.  I would suggest letting the user be able to put text (like hp) on the bars to make it look more awesome.

Edit:  realized you could already use pictures as backgrounds lol
Well, you could put HP on the icon... or just use pictures maybe... or maybe I'll add it as an option to the display texts... though since it will be static, I guess, it might be better to do it as a picture background... 🙂
I really like this hud. Very customizable. Works great. But i noticed something. I have ridiculus nimbers on exp bar. Is there a way to round up the percentage up to 2 digits after comma?
Hmmm... Oh well, maybe I could add that...


EDIT: Try the new one... 🙂
Well.. now i have this kind of error:
 
wync.jpg
there that should fix it... I occasionally forget that it was a module so every def needs to have self. in it's name... XD...
Hi Shana, we're trying to use your script but we're completely new to RPG Maker VX Ace and can't figure it out. The part where you say:

Spoiler
To set which actor to show the HUD for, make a script call:

ADIK::MAP_HUD.change_actor(actor_id)

To turn on/off the HUD, make a script call:

ADIK::MAP_HUD.toggle

Take note that the HUD is off by default

The actor and on/off settings are saved and loaded
from your save file
has us completely lost... what are we supposed to do? We either get nothing showing up or an error and we're not sure why... We just want to make it so that the HP bar shows up for Actor 001.

Thanks for any help you can offer! Sorry that we are so confused lol.
Make an event, probably autorun or parallel process, then use that script line...

ADIK::MAP_HUD.change_actor(1)ADIK::MAP_HUD.toggleassuming you want it to show for Actor 1then erase event afterwards, or switch pages so that it doesn't run again
hello Shana, how do you add own image for the hud(hp.mp.exp) in system file? Need mine to look like attached, any help thank you.

Untitled.png
All required instructions are on the script header... If you dont even know how to import resources into the graphics folder, then I suggest familiarizing yourself with the maker first as importing resources is one of the basic things in RM.
Did I catch you on a bad I hate humans who ask simple question day, keep your damn script jerk?
What? i simply told you to familiarize yourself with the editor first before fiddling with scripts. Which is a basic advice in this community. Learn the basics first, we've been there on that same spot, trying to fiddle with a harder portion of the editor when we don't even know the basics of it... Learn the basics first and you'll go a long way.
I've hit a snag in the script.

Whenever I try and use the script call

ADIK::MAP_HUD.toggle

I get an error that says

Script 'Game_Interpreter' line 1411: NoMethodError occured

undefined method 'id' for nil:NilClass

but I've used this script on something before which is why I'm confused as to why this is happening
Are you testing it on a new game or on an old save made before the script was added to the project?
Are you testing it on a new game or on an old save made before the script was added to the project?
A new game, as scripts usually don't work on old saves or some such?
Newer ones do work, it's just a matter of how it was written. Most old scripts were written in a way that it initializes data during load_database which is why it doesn't work on saved gamed made before the game...


try calling ADIK::MAP_HUD.change_actor(id) first to set it to whoever actor you want to use it for... I think I never made it to initialize a default actor.
Newer ones do work, it's just a matter of how it was written. Most old scripts were written in a way that it initializes data during load_database which is why it doesn't work on saved gamed made before the game...

try calling ADIK::MAP_HUD.change_actor(id) first to set it to whoever actor you want to use it for... I think I never made it to initialize a default actor.
That got it to work lol

Thanks for the help!
Hey I keep running into a problem and keep getting this error. Please help. Thank you.Capture.PNG
Newer ones do work, it's just a matter of how it was written. Most old scripts were written in a way that it initializes data during load_database which is why it doesn't work on saved gamed made before the game...


try calling ADIK::MAP_HUD.change_actor(id) first to set it to whoever actor you want to use it for... I think I never made it to initialize a default actor.

I know it's been ages but I have the same problem as the person before me. But I tried the script call you suggested and it still shows me the same error. What else could be amiss?

At first I thought it was my game because I have one too many scripts, but I tried it on an empty project (with my system huds transferred) and it still shows this error. It's like a curse!

Original thread: https://forums.rpgmakerweb.com/threads/shanas-map-hud-v1-20.22668/