HUD Maker

Hey everybody. Last night I came across something remarkable, it's a HUD maker plugin that helps you make HUD's and swap around windows! Amazing. I always wondered how people were making such amazing and original game huds and now I know.

Anyway, you can add things like a bar/gauge on the main map window which displays your health amount, you add in the script

$gameParty.leader().hp
$gameParty.leader().mhp

But I wondered how one might show other information such as a variable like Hunger? Is there coding for such things?

I specifically mean for the gauge btw, so it shows it going up and down.
I haven't experimented with that plugin, but it looks like just a normal script eval, so try this:
Code:
$gameVariables.value(1)
This will return the value of variable #1, just change the number as appropriate. =)
Thankyou for responding.
This does indeed work if I'm just using a text box displaying a number but when using the gauge it doesn't work. The Gauge just remains blank/empty. With the Gauge there seems to be two boxes to fill in like with the HP example I gave.
If it turns out I'll have to use just a text based number to display the info then fair enough but if I can get the gauge working it'll look more epic lol.
The second box is for the MAX value so that the gauge can calculate the percentage of the bar that is filled. If the max is a static value, like say 100, you can just enter that in.

That plugin I linked to you the other day uses SRD's HUD Maker if you wanted to use it as a reference. I didn't include SRD's plugins with it as that would probably violate his ToS but if you add Super Tools and HUD Maker into the demo, the HUD should show up. The configuration file for it is already there.
omg it's working. It'ssssssssss workingggggggggggggggg!!!! This is going to look so good. 😮

Thanks!
I tried Googling but no clear answer. I'm a pain for constantly asking questions but does anyone know how to do the same thing but for the number of a particular item in the inventory?
This time i'm just using a text/number and not a gauge.
I tried $gameParty.item32() and all manner of other possibilities just trying to get it to work but it just keeps saying error 😕
Try:
Code:
$gameParty.numItems($dataItems[1])
Replace the 1 with the ID of the item you want to count. If you want to count weapons or armors instead, swap $dataItems for $dataWeapons or $dataArmors respectively. ^_^
Thanks for trying, unfortunately it's not working. The number doesn't change. 🙁
Did you watch SRD's tutorial on his Hud Maker?

He talks about the variable names and such in there. I think he even has a reference guide for them in the help file.
Yeh I watched them all but didn't recall him mention the variables or what coding to use to get variables in a gauge, only codes he typed in was the ones for HP and MP. But I've got the variables covered now anyway thanks to the helpful people on this forum. 🙂
Only thing not working now is the item count but It's not as important for my game as the variables thing was.
Based on that video, it looks like the eval part of the text HUD part is enclosed in ${}, so maybe this would work?
Code:
Items: ${$gameParty.numItems($dataItems[1])}
Nah I tried that already, still doesn't work. lol
I guess it could be a plugin conflict? I have several Yanfly plugins which effects items.
Oh, like Item Core? Are you trying to count independent items? If so, looks like something along these lines could be worth a try:
Code:
Count: ${$gameParty.numIndependentItems($dataItems[1])}
(Third time lucky? 😅)
Holy crap, it's working!!!! YES!!!! You are a genius!!!!! Thankyooooou!!!!!
Happy to help! xP
If someone still wonder in 2020: this worked for me (RPG Maker MV 1.6.2)
${$gameVariables.value(1)}

Original thread: https://forums.rpgmakerweb.com/threads/hud-maker.92705/