In combat morale bar

MelodyofE

Villager
Member
Joined
Mar 29, 2016
Messages
18
Reaction score
3
First Language
English
Primarily Uses
N/A
In the game that me and a friend are currently working on, we want to implement a morale bar in combat. I’ve been searching and found a number of plugins, but I still haven't found anything to actually make it work. I was wondering if anyone could point me in the direction of some plugins that can make this happen.

Ideally, we want to display a bar that fills and empties as things happen. Characters taking and deal damage would affect the bar. Critical hits would fill it more and certain actions, such as skills, will give bonuses/penalties to morale. And once the morale bar reaches certain levels, bonuses and penalties will be applied to the party.

I’ve found some plugins that can help me display a bar in combat such as OrangeHUD, but I can’t find a way to make the bar move as morale is gained and lost. I have some idea of how to do things to affect morale through variables, but not sure of a way to make things like taking damage in combat affect variable. And ideally the morale will reset after combat ends, but that's not necessarily required. I can work around that.

I know this is probably going to require multiple plugins and or common events and things, so I know it’s a lot. But if anyone can point me to some plugins that might help me accomplish even parts of this, I’d really appreciate it!

Thanks in advance for any assistance!
 

Rugman

Veteran
Veteran
Joined
Jun 11, 2020
Messages
146
Reaction score
37
First Language
English
Primarily Uses
RMMV
If you’re not planning on using tp for your game you could repurpose the tp bar into a morale bar.
 

MelodyofE

Villager
Member
Joined
Mar 29, 2016
Messages
18
Reaction score
3
First Language
English
Primarily Uses
N/A
Oh! I didn't get a message that there was a response. I am using TP and even if I wasn't, I wanted the morale bar to affect everyone, not individually. So the morale bar will be raised or lowered if anyone takes or deals damage and there will be party-wide buffs and debuffs based on the morale level.

I can try to put various things together, but one thing I can't figure out is how to have a variable be affected by combat actions.
 

Rugman

Veteran
Veteran
Joined
Jun 11, 2020
Messages
146
Reaction score
37
First Language
English
Primarily Uses
RMMV
You can set common events in your skills that can change your variables.
 

MelodyofE

Villager
Member
Joined
Mar 29, 2016
Messages
18
Reaction score
3
First Language
English
Primarily Uses
N/A
It's true I can do that, but I'd like the thing that triggers the variable to change be "take damage" rather than because a skill was used. The big difference is that I could make, say, the attack command modify the variable, but then the variable would change even if the user missed. I can't figure out how to make it so that the attack must hit in order for the variable to change.
 

Rugman

Veteran
Veteran
Joined
Jun 11, 2020
Messages
146
Reaction score
37
First Language
English
Primarily Uses
RMMV
I bet you could use a script call in a troop event to check if the attack hit. Yanfly's base troop events would let you copy it to all troops. Not sure what the script call would be but I know I've seen a thread where someone else needed to check if an attack hit. You might try searching for it.
 

MelodyofE

Villager
Member
Joined
Mar 29, 2016
Messages
18
Reaction score
3
First Language
English
Primarily Uses
N/A
Hm... Interesting. I do have that plugin. I will have to do some poking around and see if I can find anything. Thanks for the suggestion!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,196
Members
137,773
Latest member
Kirakirna
Top