MV MOG_BattleHud- Need to show the HP/MP meters BEHIND the face graphic.

I'm 99% sure this is going to turn out to have an extremely simple solution that I just couldn't figure out for whatever reason. It's one of those.

But as the title says, I'm using MOG's BattleHud and I want the HP and MP meters to be BEHIND the actor's face graphic instead of in front. I will be leaving the TP meter on top. I messed with the script myself and was able to get the meters to show behind their own backing graphic, and got the HP/MP numbers to show behind the meters instead of on top- but that's pretty useless, so I undid it. I just don't know why the face is so stubborn about staying on the top. The layering of all the other sprites seem to be easily manipulated, but nothing's positioning relative to the face seems to be possible to change. It gets even weirder considering the "Turn" graphic (orange stroke) spawns behind the face just fine.

Due to the graphics/motion design in my ability/items/other windows, as well as the battle commands being mapped to directional keys (which requires BattleHud to do), I'm not willing to switch plugins.

Thanks



hudhelp1.png

hudhelp2.png
Hello! What is the version of the plugin? Because that happened when the plugin was outdated, current version works.
Hello! What is the version of the plugin? Because that happened when the plugin was outdated, current version works.
5.04, it also says Template 11.

Can you link me to the download of your version?
Oh, i have the same, just instead of the same 5.04 it says 5.04 * . It's weird because a long time ago someone had the same issue and it worked by updating the plugin.

Here is their official download: https://mogplugins.wordpress.com/rpg-maker-mv/
Oh, i have the same, just instead of the same 5.04 it says 5.04 * . It's weird because a long time ago someone had the same issue and it worked by updating the plugin.

Here is their official download: https://mogplugins.wordpress.com/rpg-maker-mv/
Just updated and replaced the plugin. Unfortunately the meter is still in front of the face, even with the priority set
Hm... I'm not exactly proficient but i'll check the code to see if there's really an issue with it.

EDIT:
@Ghostscreen Ok, i think i got the issue but it requires you to edit the code: It's possible for you?
Hm... I'm not exactly proficient but i'll check the code to see if there's really an issue with it.

EDIT:
@Ghostscreen Ok, i think i got the issue but it requires you to edit the code: It's possible for you?
AWESOME. And yes I can, this isn't my brightest moment, but I've been a web developer for a few years lol. Fire away
Move line 2666 after 2674, and delete it from 2666
Code:
this.create_base_sprites();

Note: I'm kinda infering it since i don't have access to my PC rn
Move line 2666 after 2674, and delete it from 2666
Code:
this.create_base_sprites();

Note: I'm kinda infering it since i don't have access to my PC rn
IT WORKED...not exactly sure how I'll show TP on top by doing it this way, though. There must be some way to make an exception for it. Thank you!
At line 2767 there's the creation methods of each bar separately, you can play with those!
At line 2767 there's the creation methods of each bar separately, you can play with those!
Moved the lines thar draw the tp meter and number up to the create_base_sprites function just above it and got it to work. Thanks again!
Glad to be of help, just make sure each bar works normally. There's bound to be some issues when doing sprite draws.
Glad to be of help, just make sure each bar works normally. There's bound to be some issues when doing sprite draws.
Tested. All 3 bars and all 3 numbers are fine

Original thread: https://forums.rpgmakerweb.com/threads/mog_battlehud-need-to-show-the-hp-mp-meters-behind-the-face-graphic.163455/