MV/MZ Changing Enemy SV Sprites Based on their HP? (Using VisuStella)

Hello Everyone!

I'm tinkering a bit with the visuals for RPG Maker sideview battles and i'm trying out some ideas.

I got a plugin that changes an actor’s SV sprite based on their HP, and it works well.

Now I want to do the same for enemies and noticed that VisuStella's plugin allows enemies to use player sprites.

Is there a way to make enemy sprites change based on HP with VisuStella?
If not, is there any other method or workaround I could try?

Also:
Not sure if I should make a separate post for this — but I saw a front-view battle setup where you see the backs of the characters at a slight angle, and they change image when casting or attacking.

Does anyone know a plugin for this kind of setup?


Thank you!
Try and change the enemy sprite with a script like:
$gameTroop.members()[0]._svBattlerData.name = "Actor1_1"

Then you can go to Battle Core mechanics settings and set the general 'Post-Damage' setting to check if (target.isEnemy()) check the hpRate() and make it read filenames from the enemy meta notetags to change it.

EDIT: If you don't use all the motions, you can also replace some with the damaged motions and use states and state notetags that dictate the motion to use.
Try and change the enemy sprite with a script like:
$gameTroop.members()[0]._svBattlerData.name = "Actor1_1"

Then you can go to Battle Core mechanics settings and set the general 'Post-Damage' setting to check if (target.isEnemy()) check the hpRate() and make it read filenames from the enemy meta notetags to change it.

EDIT: If you don't use all the motions, you can also replace some with the damaged motions and use states and state notetags that dictate the motion to use.

Thank you for this, I will try this when I get back to MZ.

I had tried a plugin too to change the sprite of an enemy based on damage, but I couldn't get it to work.

Original thread: https://forums.rpgmakerweb.com/threads/changing-enemy-sv-sprites-based-on-their-hp-using-visustella.178849/