How do i disable values on enemy gauges

Yestarday I added Visustella core & Skills and states core to the plugin list of my game and its causing a weird issue where it will show the amount of HP a enemy has on their gauge.
I cannot figure out how to disable this feature and ive been reading through the 2 plugins config (or whatever its called) for hours but I just cannot figure it out.
Im using CAE_tweaks v14 for the enemy gauges.
imageeeeeee.png

another random thing is that whenever i added visustella, extra space on the main menu appeared. No idea what thats about. It doesnt bother me that much since Im probably gonna make a custom menu at some point but why not mention it I guess
imageeeeeeeeeeeeeeeeeeeeeeeee.png

If its needed, just in case ill also send my plugin list.
adasdadsda.png
It looks like a conflict between the two plugins and it's difficult to make compatibility patches with VisuStella because they obfuscate their code. A lot of plugin devs won't bother because it's poking in the dark.
@caethyril
Edit: Never mind, I think that only affects grouping with commas, not whether it's shown or not.
Edit: Never mind, I think that only affects grouping with commas, not whether it's shown or not.
Funilly enough I tried the same haha. Thanks for trying though

It looks like a conflict between the two plugins and it's difficult to make compatibility patches with VisuStella because they obfuscate their code. A lot of plugin devs won't bother because it's poking in the dark.
@caethyril
Ah thats fair. Thanks for pinging cae though. I was thinking of doing so but Im far too awkward to do it lol
Oof. Yea, VisuStella conflicts are tough. 😴

For Cae_Tweaks v14:

Q12 (Quit command)​

I notice you've got Game End & Quit Game there; I guess one of those is from VisuStella? I suggest turning off Cae_Tweaks Q12, at least on the title screen (my command won't be added if its display text is blank).

Alternatively, try commenting out lines 12311~12318 (i.e. add // to the start of each line):
JavaScript:
        // Accommodate new command.
        void (alias => {
            Scene_Title.prototype.commandWindowRect = function() {
                const rect = alias.apply(this, arguments);
                rect.height += Window_Selectable.prototype.itemHeight();
                return rect;
            };
        })(Scene_Title.prototype.commandWindowRect);

Q30 (Enemy Gauges)​

Quick sanity check: make sure the Show Gauge Value parameter of my plugin is set to false.

It's a bit odd, because Cae_Tweaks Q30 implements enemy gauges as a new class, and overrides that new class's inherited drawLabel and drawValue methods. But in your screenshot, I notice the label ("HP") is intact and, like you mention, the value is displayed. I suspect VisuStella apply some patches after the database has loaded, though, which could explain it.

You could try editing line 14159:
JavaScript:
    const N = "Sprite_EnemyGauge";
...to this:
JavaScript:
    const N = "Sprite_EnemyGaugeCae";
That should make it less likely that another plugin overwrites my code for these gauges.


Otherwise, in general you could try loading my plugin before VisuStella's (or any plugin that seems to be conflicting), just to see what happens. I doubt it'll help, but it might break in illuminatingly-different ways.

As always, remember to save your project to apply Plugin Manager changes before testing. 👋
Oof. Yea, VisuStella conflicts are tough. 😴

For Cae_Tweaks v14:

Q12 (Quit command)​

I notice you've got Game End & Quit Game there; I guess one of those is from VisuStella? I suggest turning off Cae_Tweaks Q12, at least on the title screen (my command won't be added if its display text is blank).

Alternatively, try commenting out lines 12311~12318 (i.e. add // to the start of each line):
JavaScript:
        // Accommodate new command.
        void (alias => {
            Scene_Title.prototype.commandWindowRect = function() {
                const rect = alias.apply(this, arguments);
                rect.height += Window_Selectable.prototype.itemHeight();
                return rect;
            };
        })(Scene_Title.prototype.commandWindowRect);

Q30 (Enemy Gauges)​

Quick sanity check: make sure the Show Gauge Value parameter of my plugin is set to false.

It's a bit odd, because Cae_Tweaks Q30 implements enemy gauges as a new class, and overrides that new class's inherited drawLabel and drawValue methods. But in your screenshot, I notice the label ("HP") is intact and, like you mention, the value is displayed. I suspect VisuStella apply some patches after the database has loaded, though, which could explain it.

You could try editing line 14159:
JavaScript:
    const N = "Sprite_EnemyGauge";
...to this:
JavaScript:
    const N = "Sprite_EnemyGaugeCae";
That should make it less likely that another plugin overwrites my code for these gauges.


Otherwise, in general you could try loading my plugin before VisuStella's (or any plugin that seems to be conflicting), just to see what happens. I doubt it'll help, but it might break in illuminatingly-different ways.

As always, remember to save your project to apply Plugin Manager changes before testing. 👋
Thank you Cae for your response.
I dont know how I didnt notice game end and game quit lol. Thanks for pointing it out.
Disabling Q12 did remove the extra space... Woopsies. Thats awkward for not noticing that haha
Show gauge value is off. Never turned it on since I never wanted the player to see the amount of HP a creature has.
Putting the plugin over visustella did nothing.
Changing the code doesnt seem to do anything too. When I did it i made sure to save the file, close RPGM, reopen RPGM and open the game.
adadasdasdwadsd.png

Honestly might be easier to just remove the Visustella plugins. I needed one feature from it (hiding menu only skills in battles and it displaying how many turns a state lasts for but i could live without it too lol) but the plugin has done nothing but trouble haha

Thanks for responding though
Putting the plugin over visustella did nothing.
Changing the code doesnt seem to do anything too.
Oh, drat. I guess VisuStella overrides drawGauge or something, skipping the relevant parts of my code.

Honestly might be easier to just remove the Visustella plugins. I needed one feature from it (hiding menu only skills in battles and it displaying how many turns a state lasts for but i could live without it too lol)
You might be interested in this thread~
In case it helps, with my plugins:
  • Cae_Tweaks Q20 is a very basic "show turns on state/buff icon" thing.
  • Cae_OnUseEffects has a <show condition: script> Skill/Item notetag, e.g.

    <show condition: return !$gameParty.inBattle()>
    I.e. "show iff the party is not in battle". You'd need something different to hide/show skill types. Regardless, OnUseEffects has a lot of other stuff, so you may want to see if there's a simpler alternative available.
Oh, drat. I guess VisuStella overrides drawGauge or something, skipping the relevant parts of my code.


You might be interested in this thread~
In case it helps, with my plugins:
  • Cae_Tweaks Q20 is a very basic "show turns on state/buff icon" thing.
  • Cae_OnUseEffects has a <show condition: script> Skill/Item notetag, e.g.

    <show condition: return !$gameParty.inBattle()>

    I.e. "show iff the party is not in battle". You'd need something different to hide/show skill types. Regardless, OnUseEffects has a lot of other stuff, so you may want to see if there's a simpler alternative available.
Oh damn! Thanks Cae for helping again 😀

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-disable-values-on-enemy-gauges.170739/