Conflict between Yanfly BuffsStatesCore and SRD SuperToolsEngine/HUDMaker

1720910982730.png
1720910988528.png
1720910994269.png

I'm trying to use Yanfly's BuffsStatesCore to change this actor's image, from the guy in glasses to the viney looking guy when he has a particular state applied to him. This works fine if I have the SRD SuperToolsEngine and HUDMaker turned OFF, but when turned on, it overlays the original actor's face over what it should be replaced with. I kinda need these SRD plugins for other necessary UI elements, so getting rid of them entirely isn't really feasible. Note that this same thing occurs when I try to change the actor's face via standard events.

Any suggestions?
You could just make the HUD element have a conditional to not display if the actor has that state
That particular HUD element, where it shows the actors face alongside their HP/SP is part of Yanfly's BattleStatusWindow, not SRD's HudMaker.
You could just make the HUD element have a conditional to not display if the actor has that state
That particular HUD element, where it shows the actors face alongside their HP/SP is part of Yanfly's BattleStatusWindow, not SRD's HudMaker.
Well then just recreate that in HUD Maker instead of having two HUDs at once.
Well then just recreate that in HUD Maker instead of having two HUDs at once.
Because I believe the amount of work to do that would be insane. I was hoping for an easier option instead of redoing the entire battle screen, something along the lines of the actor images refreshing properly or something?
There have been at least four threads about changing faces during battle this year, with different solutions proffered. Something should've come up in a search. 😛

It's particularly difficult to offer you anything meaningful when you haven't shown us how you're changing the actor's faces.

Try adding
Code:
user.battleStatusWindowRefresh();
to your state notetag.
There have been at least four threads about changing faces during battle this year, with different solutions proffered. Something should've come up in a search. 😛

It's particularly difficult to offer you anything meaningful when you haven't shown us how you're changing the actor's faces.

Try adding
Code:
user.battleStatusWindowRefresh();
to your state notetag.
I definitely did search before I posted this, and specifically followed the steps in this post:

including the change in code to the SRD_HUDMaker.js plugin that were recommended.

I have this inside the Note Tag for the status:

Code:
<Custom Apply Effect>



if (target.isActor()) {



if (target.actorId() === 3) {



target.setFaceImage('mountain harbor folks2', 4);



}

}

user.battleStatusWindowRefresh();

</Custom Apply Effect>



<Custom Remove Effect>



if (target.isActor()) {



if (target.actorId() === 3) {



target.setFaceImage('mountain harbor folks', 2);



}

}

user.battleStatusWindowRefresh();

</Custom Remove Effect>

Unfortunately, even with your suggested added code, the same issue still persists if I have HUDMaker and SuperToolsEngine enabled. It works perfectly, IF I have those two plugins turned off.
A couple of notes:
- You should not have spaces in filenames. MV is an HTML-based game, so having characters that are illegal for URLs can cause the game to freeze with load errors once you deploy it and other people play. That's why all of the included assets use camelCase, not spaces.

- It doesn't matter in the Custom Apply Effect, but you should notice that you are going back and forth between user and target - in most cases, that will be wrong.

I don't really know what else to say, other than make sure your SuperTools/HUDMaker/whatever isn't modifying the battle status window. You can try changing the order of those plugins in your plugin manager, changing which is lower.

Someone else might have more concrete ideas.

Original thread: https://forums.rpgmakerweb.com/threads/conflict-between-yanfly-buffsstatescore-and-srd-supertoolsengine-hudmaker.170272/