Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I have an issue, I am using SRD HUDMaker and I can't display a gauge for my custom parameter, says the current and max values are undefined.

Hi!

I need more info. Show me how you are doing this.

I created a new parameter knowned as "Lust", which I intended for it to act like a HP/MP/TP type.

My overall goal was to have this gauge appear using SRD HUDMaker, but it would not be displayed, prompting an undefined current and max value it says.

Below is script I wrote in the notetags for one of my characters


If you press F8/F12 a browser window will open. Go to the CONSOLE tab, and see if there is any error. Something was written in red. If yes, send me a screenshot.

If not, try type there the following: $gameParty.leader().lus

And see if it will return a value. If not, I guess I will need a sample project from you to check what is happening.

Went to console and found this

This error means you are not using my core plugin, Eli Book. It must be installed somewhere above all other Eli Plugins. Without it, the plugin is not being able to parse the plugin parameters, and because of that, it is not working at all.

Hi, I have downloaded the core plugin, and my gauge is showing, but it's displaying no value. How do I set the maximum value for my custom parameter?

(1 edit)

After you make sure that there is no error displaying on the console, this should return your max value:

  • $gameParty.leader().maxlus

The max value is defined as 0, I need it to be 100, how do I set the maximum of the gauge was what I meant

Oh, got it. These parameters are like HP/MP. As so, you need to set their value at 100 on the class note tag you used. 

It's like on the class editor curve, when you set an HP value there, the character will start with that HP value: 100/100 But if he loses 10 HP, it will be like 90/100. So, set on the note tag the lus value to 100. If you want the current(not max) value to start at 0, then you use the script call on the help file to set it at 0.