- Apr 4, 2012
- Reaction score
- First Language
- Primarily Uses
Thanks, Hudell! I'll give this a shot as soon as I get home! Can't wait!
I added 4 new params to the gauge add on:
ScriptValue, ScriptMaxValue, Height and AutoRefresh
if you set something to the ScriptValue and ScriptMaxValue params, that will be used instead of the variables.
You can use the following script line to get the HP of the first member of the party:
$gameActors._data[$gameParty._actors || 1].hp
If there's nobody on the party, it will pick the HP from Actor 1 instead (just so it doesn't throw an error).
For the max hp, just change "hp" for "mhp" on that line.
The new AutoRefresh param allow you to disable the auto refresh of the gauge. You can use this if you're experiencing some kind of lag because of a complex script being called to check if the HUD needs to be updated (you shouldn't have a problem with simple scripts).
I also updated the main OrangeHud plugin with an AutoRefresh param that affects all HUDs.
Hi there Hudell,
I have a glitch with the gauges
My variable is counting down from 100 to 1 every 60 frames, and this variable is being passed to the gauge.
However, the gauge is blinking on every refresh - it goes completely blank and then comes back again with the new value. Any idea?
Has anyone been able to successfully change the font face for the HUD text? I've tried changing it in the main HUD plugin and the individual line plugins but can't seem to get it working....
Can you make me a simple demo so that I can debug that?
Inside the "fonts" folder of your game, there's a file called gamefont.css. Open that file with a text editor. You'll see the following lines:
That's the default font used by rpg maker. To be able to use another one, you have do duplicate those lines and replace the name of the file and the name of the font-family. Then you can write the same font-family on OrangeHud and it will work.
I'll also add new options to control the gauge visibility.
you added the same file to the plugin list twice, but rpgmaker doesn't understands that. you have to duplicate the .js file inside the plugins folder and use a different filename for the copied one
Days Remaining %1