Galv's Message Background + Jatopian's Message Window Hide

Dethroner

Villager
Member
Joined
Jun 21, 2016
Messages
12
Reaction score
3
First Language
Rus
Primarily Uses
RMMV
Galv's Message Background - is changing message box's background image, while Jatopian's Message Window Hide hids message box. In general, these two plugins work fine and do not interfere with each other. But there is a big BUT! When the text is hidden, image of message box remains.

All I want: to click the button to hide the message window as in all visual novels and still have my own message backgraund image.

Help me please! And thanks in advance!
 

mlogan

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

I've moved this thread to Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.

 

cedr777

Veteran
Veteran
Joined
Feb 22, 2018
Messages
265
Reaction score
60
First Language
Not English
Primarily Uses
RMMV
Here's a thread that I made that has a similar goal in mind.
https://forums.rpgmakerweb.com/inde...er-the-text-window-appears-disappears.105660/

It requires the use of Yanflys Picture Common Events plugin.
The only problem is if you want it to be synced to the message window, you would need to run the on screen button each time the message window pops up and disappears.

However, this would require a common event for that to be run each time the the message windo appears/disappears. I am requesting a way on how to do that atm.

EDIT: Nevermind, I don't think it's possible because of the way messages are displayed. The game waits for player input before displaying the next message, a click is considered an input so it will undoubtedly cause problems for the on screen buttons. What we need is a plugin specifically tailored to have a visual novel like interface for the message window.
 
Last edited:

Magnus0808

Software Developer
Veteran
Joined
Feb 2, 2019
Messages
147
Reaction score
166
First Language
Danish
Primarily Uses
RMMV
Here you go. This plugin should make them compatible. If you encounter any issues with this please contact me. :)
EDIT: actually this probably disables the posibility to disable custom backgrounds. I'll fix that in a couple of hours
EDIT2: Turned out it didn't because of the sequence of calls in GALV_MessageBackground. However, I added what would have been the fix anyway as I think it is more appropriate.

Code:
//=============================================================================
// MRP_GALV_MessageBackground_MessageHide_Compatibility.js
//=============================================================================

/*:
 * @plugindesc This plugin is to make GALV_MessgeBackground and MessageHide compatibility with eachother.
 * @author Magnus0808
 * @help Have GALV_MessageBackground (version 2.0) and MessageHide (v1.1.0) before this plugin.
 */

(function (){
    var MRP_GALV_HIDE_WM_OLD = Window_Message.prototype.update;
    Window_Message.prototype.update = function() {
        MRP_GALV_HIDE_WM_OLD.call(this);
        if(Galv.MBG){ // Kind of test for if GALV_MessgeBackground is on
            if(MessageHide_messageWindowVisible){
                Galv.MBG.disable = $gameSwitches.value(Galv.MBG.s);
            } else {
                Galv.MBG.disable = true;
            }
        }
    }
 })();
 

Attachments

Last edited:

Dethroner

Villager
Member
Joined
Jun 21, 2016
Messages
12
Reaction score
3
First Language
Rus
Primarily Uses
RMMV
Here you go. This plugin should make them compatible. If you encounter any issues with this please contact me. :)
EDIT: actually this probably disables the posibility to disable custom backgrounds. I'll fix that in a couple of hours
EDIT2: Turned out it didn't because of the sequence of calls in GALV_MessageBackground. However, I added what would have been the fix anyway as I think it is more appropriate.

Code:
//=============================================================================
// MRP_GALV_MessageBackground_MessageHide_Compatibility.js
//=============================================================================

/*:
 * @plugindesc This plugin is to make GALV_MessgeBackground and MessageHide compatibility with eachother.
 * @author Magnus0808
 * @help Have GALV_MessageBackground (version 2.0) and MessageHide (v1.1.0) before this plugin.
 */

(function (){
    var MRP_GALV_HIDE_WM_OLD = Window_Message.prototype.update;
    Window_Message.prototype.update = function() {
        MRP_GALV_HIDE_WM_OLD.call(this);
        if(Galv.MBG){ // Kind of test for if GALV_MessgeBackground is on
            if(MessageHide_messageWindowVisible){
                Galv.MBG.disable = $gameSwitches.value(Galv.MBG.s);
            } else {
                Galv.MBG.disable = true;
            }
        }
    }
 })();
Man, you are a GOD! Thank you! Works perfectly!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top