Shared HP, or, one HP bar for the whole party

Hi, folks!  I'm lookin' for a plugin that will calculate/display HP a little differently.  Basically, what I want is for the party to share one HP bar, and for the game to be over when that pool of HP has been depleted.

I want this pool to be calculated by adding together the active member's of the party's HP.  For example, if the active party is Harold (100), Therese (200), and Marsha (50), the party HP would be 350.  However, if it was Harold (100), Marsha (50), and Lucius (50), the party HP would be 200.

Ideally, you could damage any member of the party and deplete HP, but doing >= an individual party member's private HP pool would not cause them to become incapacitated.  Rather, their private HP pool merely represents how much they add to the total HP.  As such, if they were individually affected by a status that halved their total HP, they would offer less to the total HP bar rather than the total HP bar becoming halved (e.g. Therese in party A gets hit with a status effect that puts her Max HP at 50%, so the party HP goes down to 250 rather than 175, since she is the only one affected.).

Most of my game is built with a bunch of YEP plugins, so if this could be compatible with those, that'd be great!

Thanks a bunch for reading, and here's hopin' someone can help me out!
Alrighty, time to bump this sucker~

PSHEW
BAMMITY BUMP who's gonna bite (pls bite ;__ 😉

Depending on how expensive this would be, I'd be willing to paaaay~  or do a skill trade, especially if the thing being traded is you need some dialogue edits~ <W<
Would the actors not ever die or become incapacitated individually then? 

Will the single HP bar be shown only in battle, or will there be one HP bar shown globally so in the menu there is only one HP bar? How will this affect other things such as MP/TP?  Is there only one TP/MP bar as well?

Also could you be a bit more specific with what plugins you use, specifically those that may affect how damage is handled.
This could be interesting for enemies too.
Would the actors not ever die or become incapacitated individually then? 

Will the single HP bar be shown only in battle, or will there be one HP bar shown globally so in the menu there is only one HP bar? How will this affect other things such as MP/TP?  Is there only one TP/MP bar as well?

Also could you be a bit more specific with what plugins you use, specifically those that may affect how damage is handled.
Woo, thanks for the reply!

The actors wouldn't individually die; they could be affected by states that incapacitate them temporarily (such as stun or sleep), but they wouldn't get traditionally knocked out/killed.

The single HP bar would only be shown in battle!  In the menu I'd want to show each actor's total HP, but that's something separate to be thinking about, I think...?   idk I'm not the expert here. OTL

MP/TP would still be individual.

And sure!  Here's an image of my current script list; lemme know if you have any troubles with accessing it.  I'm not suuuure which ones would do stuff with damage apart from stuff like the Damage core and Battle Core and the like, so hopefully this list helps anyone taking a crack at this.  Also if you need any further explanation on what some of these scripts are, I can go open 'em up and get you more info.

Thanks again for the reply, and I hope this brings a little more clarity.
Thank you for the information, I can do this but you should understand that it will be overwriting a lot of things, since damage is meant to be individual and stuff, so compatibility may be an issue with future plugins that you choose to use, however I'll try to make it as compatible as possible. 
Ahh, that'd be wonderful!  And yeah, good to know.  Thanks a bunch for trying to keep it accessible! ;w; <3

I really appreciate it!
Did you have any ideas how on you wanted the bar to be displayed, like where and such?
Did you have any ideas how on you wanted the bar to be displayed, like where and such?
Hmm, ideally a vertical bar spanning from top to bottom on the far right of the screen would be great!  If vertical is too weird/complicated, then a horizontal one over near the command window would be super fine.
Like so?  hpgauge.jpg
GORGEOUS!!!!  Yesss, like that <W<  Thanks a million!
I am in no way going to call this finished yet, I just want to get your opinion on it to see if its how you want/anything additional you'd like.

Please get the plugin here: https://bitbucket.org/liquidize/anima-framework/raw/0e584cc5b7b436f783544aea8c3cf7f67123b732/Misc/Anima_PartyHP.js

Save it as Anima_PartyHP.js and place it towards, or at the bottom of your plugin list. As as I said, it overwrites a lot of core functionality. The party has a single HP pool, and the player does not "die" until that pool is emptied, so no actor dies until the entire parties HP reaches 0, when an actor takes damage, no matter which actor it is, the HP pool for the party is decreased. This functionality exists both in battle and out, so outside of battle the player won't see "Game over" until all actors are dead as well (or you force game over with a command).

Feel free to let me know of any issues, or additional features you'd like/things that you want changed,etc,etc.

Thanks.
I just tested it out, and it's looking great so far!  It works beautifully~ <3

I think the only thing I'd wanna add on is some way of displaying exactly how much HP is left.  Is there a way to display HP and MHP as a number by the HP bar?

Thanks a bunch for all the help, I really appreciate it.
How about this?

https://bitbucket.org/liquidize/anima-framework/raw/96119d5cee86a7a74d89a83a680566b90e8fd43e/Misc/Anima_PartyHP.js
Hm hm, this update seems to have caused the bar to vanish.  here's an image!
Seems like you don't need that status window any longer. What if you added mp/tp/states next to each actor instead?
Hm hm, this update seems to have caused the bar to vanish.  here's an image!
I had to increase the size of the window to add the text, change the X Position parameter of the plugin to:

Graphics.boxWidth - 200;
Ah, there it is!

Alrighty, 2 things I'm noticing:

1) There seems to be more HP in the HP bar than the MHP of the party members.  I was testing with two party members, one with 71 HP and the other with 450, and the total was 1043, according to the HP bar.  I pared it down to one party member (the one with 71 HP), and the total became 143 HP.  So I'm not sure where this extra HP is coming from.

2) Originally I had some states set up that would affect each party member's MHP, assuming that this would affect the total HP.  You've mentioned that this script overwrites a lot of the ways damage is calculated, so it makes sense this isn't working anymore.  However, is there a way to have this functionality with this script...?  (i.e. Party member A has a total of 200 hp, contributing to the party total of 600.  They are hit with this status effect that makes their MHP 100, and so the party total becomes 500).

Other than that, this is still looking fantastic!  I'm very pleased. ;w;
I've fixed the issue with them having more HP then they should as well as added states affecting the HP (as well as buffs). Please use this one: https://bitbucket.org/liquidize/anima-framework/raw/6cf057b0e07b1997a3e1e2fdd86dfb61e1167240/Misc/Anima_PartyHP.js

Original thread: https://forums.rpgmakerweb.com/threads/shared-hp-or-one-hp-bar-for-the-whole-party.52238/