How to show and change bust portrait instead of charset sprite during battle?

Hello, everyone. I'm a little stuck with my project and need some help.

So lets get straight to it. I want to show a bust portrait of the character during the battle instead of the small charset sprites. It's going to be static but I want it to change depending on %hp of the character or maybe even a variable which I'm gonna change from a common event. Either way will be fine with me. Anyone have an Idea how to do it?

Check the images below:
Spoiler
1.png
2.png
You could work this around by using your busts on the battler sheet.
You could work this around by using your busts on the battler sheet.
what battler sheet are you referring to? If you are talking about the character sprites in sv_actors then it's not working , I've tried putting a bust picture there and using it but it is not showing, only a small part of it like a square.
Check out the resource standards. (In RPGM press F1, go to documentation> side-view character standards.) Basically the sheet can be any size you'd like, but it has to have 6 equal rows and 9 columns in order to show up correctly in the game. When you drop your bust into the default size, it's just showing you the image of one chibi sprite which is why you're seeing a square.

Take a look at this thread if you want a visual reference, it's got large full bodied sprites.

Setting it up like this would be the easy method, since it's a pretty standard set up and has default poses for common actions anyway (as explained in the documentation)

However, you could use this plugin instead. It's easy to set up if you want to use a single static image. There are also options to set up different motions/images for poses, e.g. you'd probably be able to set it up so there's only one image for 'idle' unlike the method above which would require you to copy and paste the idle image 3 times. It might be harder to figure out the setup given that you won't be able to just follow the standard guide, but it'll also give you more freedom/flexibility to do what you want.
Spoiler
Check out the resource standards. (In RPGM press F1, go to documentation> side-view character standards.) Basically the sheet can be any size you'd like, but it has to have 6 equal rows and 9 columns in order to show up correctly in the game. When you drop your bust into the default size, it's just showing you the image of one chibi sprite which is why you're seeing a square.

Take a look at this thread if you want a visual reference, it's got large full bodied sprites.

Setting it up like this would be the easy method, since it's a pretty standard set up and has default poses for common actions anyway (as explained in the documentation)

However, you could use this plugin instead. It's easy to set up if you want to use a single static image. There are also options to set up different motions/images for poses, e.g. you'd probably be able to set it up so there's only one image for 'idle' unlike the method above which would require you to copy and paste the idle image 3 times. It might be harder to figure out the setup given that you won't be able to just follow the standard guide, but it'll also give you more freedom/flexibility to do what you want.
Thank you, I didn't knew that it is possible to scale up the sprites.
Also about Victor's plugin, I tried it but it comflicts with another of my plugins so it's not an option.

So that's half the battle won but I still need to figure a way to change the normal bust to a damaged one and then to more damaged one, etc.
I think this might be done with switching sprite sheets,but I'm not sure that it is possible during battle? If it, is there an easy way to do that?
If you're making a normal sprite sheet, it handles the sprite changes automatically. Organise your file like this.
OB0rLBf.png

Crisis/Danger is displayed when your character is near death. (I don't know the exact number, but I've heard that it's something like when only 25% of the max hp is left.)

If get's a bit more complicated if you want to have more than one damaged pose. (The 'damage' one above shows when the player has been hit.)

You can change the sprite in battle. In your troops tab, you can set a condition to occur when the player's HP is below a certain level and then on page 3 of the event commands under system settings, you can use 'change actor images' and change the sv sprite sheet.

Another option would be to take advantage of the state/sleeping slots. Have your second damage pose in one of those. Then you'll want to create a new state that changes the SV motion to abnormal or sleeping (whichever you'd like to use.) Set it to be removed at the end of the battle but leave everything else blank (that way the player won't even notice a state has been applied.)

The hardest part is figuring out how to get the game to recognise if the player's Hp increases and change the image back/remove the state.

One idea would be to have a switch turn on when the weak pose has been activated. The switch turns on a parallel common event, which is checking to see whether the player's HP has increased. You can't check hp from a conditional branch, so you have to set the hp as a variable and then check if the variable if higher than x. It uses whole numbers rather than percentages though, so it's a bit tricky.

The other idea is using Yanfly's Buffs and State Cores (If you're using his Battler engine + the state method.) There's lunatic code to set a custom condition for a state to be removed, which I'm going to assume you can write to be hp% dependant. I did see someone on the forum who wrote a code for the state to be added if the hp is low (can't find it now though D:<)


I really tried to come up with a good method, but I'm not smart enough. You might need to make a new thread to figure out this condition. Sorry I couldn't be of more help 😅
Spoiler
If you're making a normal sprite sheet, it handles the sprite changes automatically. Organise your file like this.
OB0rLBf.png

Crisis/Danger is displayed when your character is near death. (I don't know the exact number, but I've heard that it's something like when only 25% of the max hp is left.)

If get's a bit more complicated if you want to have more than one damaged pose. (The 'damage' one above shows when the player has been hit.)

You can change the sprite in battle. In your troops tab, you can set a condition to occur when the player's HP is below a certain level and then on page 3 of the event commands under system settings, you can use 'change actor images' and change the sv sprite sheet.

Another option would be to take advantage of the state/sleeping slots. Have your second damage pose in one of those. Then you'll want to create a new state that changes the SV motion to abnormal or sleeping (whichever you'd like to use.) Set it to be removed at the end of the battle but leave everything else blank (that way the player won't even notice a state has been applied.)

The hardest part is figuring out how to get the game to recognise if the player's Hp increases and change the image back/remove the state.

One idea would be to have a switch turn on when the weak pose has been activated. The switch turns on a parallel common event, which is checking to see whether the player's HP has increased. You can't check hp from a conditional branch, so you have to set the hp as a variable and then check if the variable if higher than x. It uses whole numbers rather than percentages though, so it's a bit tricky.

The other idea is using Yanfly's Buffs and State Cores (If you're using his Battler engine + the state method.) There's lunatic code to set a custom condition for a state to be removed, which I'm going to assume you can write to be hp% dependant. I did see someone on the forum who wrote a code for the state to be added if the hp is low (can't find it now though D:<)


I really tried to come up with a good method, but I'm not smart enough. You might need to make a new thread to figure out this condition. Sorry I couldn't be of more help 😅
Thank you again for the suggestions, I'm really grateful for your help. 🙂
I will do some research tomorrow and see if I can figure it out.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-show-and-change-bust-portrait-instead-of-charset-sprite-during-battle.82805/