MV Always show max HP

Hello!

Does anyone know how can I always show max HP even if it's "too long"? As far as I know, drawCurrentAndMax is responsible for this, but I can't get any result while trying to alter it. Is there a plugin or any fixes that could help me with that?
the CurrentAndMax value = just the value, the responsible for for showing
that is the "Gauge" function itself for HP, MP and or TP.

the question as well, where do you want to show it?
as that is something you didn't specify.
Thank you for your reply!
the CurrentAndMax value = just the value
Hmm, seemed like the function checks for the length and drawing the values.

where do you want to show it?
Oh, right. I'm using TMMapHpGauge plugin and it shows the HP of the party leader while on a map. And when the HP number becomes 4 digits long it stops showing the max HP. I'm pretty sure it's not the plugin's fault, but maybe I'm wrong.
so far I checked the plugin quickly, I think you need to set the GaugeWindowWidth
to be wider, as you can "Hide" it probably too, the window shouldn't be visible.

you can test if the numbers are showing by than, as I dont use it, as if just get
the current/max value from the HP settings.

test that out, or play around the parameters, as that might be the issue.
otherwise, the plugin database can come in handy if you use multiple plugins,
so it could be the culprit of one of them.
the CurrentAndMax value = just the value, the responsible for for showing
that is the "Gauge" function itself for HP, MP and or TP.
I think you're confused - the drawGauge() just does what it says, draws the gauge (the bar with color inside of it). As the OP said, drawCurrentAndMax() does what it says, draws the text for the current and max values if there's room.

I can't get any result while trying to alter it.
It would help if you showed how you attempted to alter it.

The math is a little convoluted, broken up amongst four variables and three lines, but basically you need to edit both the valueWidth so that it's larger:
Code:
var valueWidth = this.textWidth('0000');
put as many 0s there as digits you want to be able to display.

Then, make sure the value being passed into the function as width is large enough.
Thank you guys! I tried all bunch of things, it broke on me a few times, but in the end I was able to solve it by simply adding to the width in drawCurrentAndMax() that drawActorHp() calls. It shifted the number a bit, but overall to works now, thanks!

but basically you need to edit both the valueWidth so that it's larger
Interestingly enough, that didn't change anything. I'm not sure why though. But now it's fine.

Original thread: https://forums.rpgmakerweb.com/threads/always-show-max-hp.157663/