Keep battle HUD on-screen while messages/dialogue display

Status
Not open for further replies.

Lorenze

Veteran
Veteran
Joined
Mar 17, 2012
Messages
826
Reaction score
543
First Language
English
Primarily Uses
RMMV
Hello all.

Normally, when a message is displayed during battle, the remainder of the battle HUD disappears until it's gone. Due to the way my message system works, I would like to disable it and have the HUD stay on-screen while messages are up.

Here's how my HUD is normally setup (I'm using Moghunter's plugins):

And here's how it looks when a message is displayed:
The result I'm looking for should be the above image, plus the actors' battle status itself still visible.

Can anyone help me out with this? Seems like it'd be a pretty simple fix; I'd be much appreciated. Let me know if you need any more details. Thank you!
 

Lorenze

Veteran
Veteran
Joined
Mar 17, 2012
Messages
826
Reaction score
543
First Language
English
Primarily Uses
RMMV

robhav

Veteran
Veteran
Joined
Jan 31, 2018
Messages
49
Reaction score
16
First Language
English
Primarily Uses
RMMV
If what you are doing is just a Show Text in a battle event this should work. Worked for me in a clean project.

Scene_Battle.prototype.updateStatusWindow = function() {
if (this.isActive() && !this._messageWindow.isClosing()) {
this._statusWindow.open();
}
};
 

Lorenze

Veteran
Veteran
Joined
Mar 17, 2012
Messages
826
Reaction score
543
First Language
English
Primarily Uses
RMMV
@robhav - Mm, no dice, it still gets rid of the HUD. Should've also mentioned I'm using Galv's Message Styles as well (in addition to the aforementioned Mog plugin), that's my bad.
 

robhav

Veteran
Veteran
Joined
Jan 31, 2018
Messages
49
Reaction score
16
First Language
English
Primarily Uses
RMMV
I would guess it's MogHunters rather than Galvs because I don't see anything pertaining to battle in Galv's. I can't test this, but it's from MogHunters hud plugin. I just changed false to true in the if $gameMessage.isBusy part. Maybe this is it.

Battle_Hud.prototype.is_hud_visible = function(sprite) {
if ($gameMessage.isBusy()) {return true};
if ($gameTemp._battleEnd) {return false};
if (!$gameSystem._bhud_visible) {return false};
return true
};
 

Lorenze

Veteran
Veteran
Joined
Mar 17, 2012
Messages
826
Reaction score
543
First Language
English
Primarily Uses
RMMV
@robhav - That did it! Thank you so much, you're a lifesaver!
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top