MV Idea for Gab Window (YEP)

Hi there! So as the title says, I had an idea to use the plugin Gab Window (YEP) [Found here:] http://www.yanfly.moe/wiki/Gab_Window_(YEP) to have some flavor text scroll across the screen. I have a scene in a classroom where a teacher is rambling on about a subject, and I wanted to have a Gab Window display this text. The problem is that there is a lot of dialogue so I can't fit it all in one Gab window, unless I could somehow get the text that is displayed in the Gab Window to scroll. Does anyone know if there would be a way to get Gab Window (YEP) to do this, or maybe it would be better to do it a different way? Any advice is greatly appreciated!
UNTOLD 10_19_2023 10_53_48 PM.png
If the dialogue is not that important and doesn't need to reference any game data (such as variables or player inventory) you could just make a really long picture and type out all of the information in one really long line of text (or just use the default lorem ipsum text and save yourself the time), then use a show picture + move picture event to have it scroll across the screen.
Gabs (or barks) are primarily meant for short, transient remarks, so you're quite literally fighting against the purpose of the plugin / system.

You can consider:
  • Breaking your text into shorter lines and displaying them sequentially. Probably your best bet if this is just flavor text and you want to use the gab plugin.
  • Exploring intermediary dialogue systems that bridge the gap between gabs/barks and standard dialogue, such as a message bubble plugin.
  • Change the way you are thinking about your dialogue. Use gabs as they're intended and use the "Show Text" command for lengthier remarks.
Your cutscene looks like the player cannot move around and needs to sit at a desk listening to the teacher.

Gab Window is meant so that the player can continue to move around while text is being displayed.

Use Show Text command with escape codes you need. For example, you can use \|\^ at the end of your text to have the message box wait a second and then close automatically.
If the dialogue is not that important and doesn't need to reference any game data (such as variables or player inventory) you could just make a really long picture and type out all of the information in one really long line of text (or just use the default lorem ipsum text and save yourself the time), then use a show picture + move picture event to have it scroll across the screen.
Ya I'm considering doing something like that, it's just a little bit of a hassle cus I need the face sprite to stay in place, and I like the semi-transparent black background and fade in/fade out effects that the Gab Window plugin has. If there's no way to modify the plugin then I'll probably just end up recreating it with events, just a little bit more inconvenient is all. 🙂
Gabs (or barks) are primarily meant for short, transient remarks, so you're quite literally fighting against the purpose of the plugin / system.

You can consider:
  • Breaking your text (gabs) up into shorter lines and displaying them sequentially. Probably your best bet if this is just flavor text.
  • Exploring intermediary dialogue systems that bridge the gap between gabs/barks and standard dialogue, such as a message bubble plugin.
  • Change the way you are thinking about your dialogue. Use gabs as they're intended and use the "Show Text" command for lengthier remarks.
I know that Gabs aren't primarily used for this kind of thing, but I do have a specific reason for using them like I am. During this scene the teacher is rambling on about a history subject, but while that is happening, you and another student are whispering back and forth to each other. Using the Gabs Window allows me to have the Teacher rambling in the background while the two students use the regular Show Text to talk, and it makes it so that you're less likely to try and pay attention to what the Teacher is saying when you should be paying attention to what the students are saying. 🙂

I could break it up into smaller lines, and I might try that, but I feel like that makes it feel less "Ramble-y" Y'know? Like if the text scrolls, I feel like it will feel more like he is going on and on and on and on, versus if just fade in and out a few small lines of text. Really, I just need it to feel like he wont shut up about the Irish Potato Famine of 1845 lol.
UNTOLD 10_19_2023 11_19_00 PM.png
What are you expecting us to tell you here? Scrolling text is not a feature of the plugin you're using. And no one is going to add that feature to it for you.

You've already been given a few suggestions in terms of different approaches to take.
I was looking for advice on how to achieve the effect I'm looking for, and I was asking if it was possible with this plugin, that is all lol. I had to get some help getting the plugin to work with my other plugins earlier, so I wasn't sure if there was a way to get the text to scroll that I was just missing, as I'm not familiar with all of the aspects of this plugin. I got very good advice from TheAM-Dol about using a regular scrolling picture, and even good advice about using the text command \|\^ in the future, I just wanted to see if someone knew a way to use this plugin in a way I didn't. I never asked anyone to add anything for me, it seems like you are being very hostile for absolutely no reason, I'm sorry if I offended you somehow.

​

Ya I'm considering doing something like that, it's just a little bit of a hassle cus I need the face sprite to stay in place, and I like the semi-transparent black background and fade in/fade out effects that the Gab Window plugin has.
Hmm??? :LZSskeptic:
All of that can be accomplished with a show picture/move picture event. You'd just need to use more than one.
Show Picture #1: black bar, opacity 0
Show picture #2: Text, opacity 0
Show picture #3: Portrait, opacity 0
Move Picture #1: opacity 130 (wait box unchecked)
Move Picture #2: opacity 255 (wait box unchecked)
Move picture #3: Opacity 255 (wait box checked)
Move picture #2: change X value (wait box unchecked)
My intention was not to be hostile, and I apologize for coming across in that manner.

However, in terms of your question about using the plugin in some sort of different way, the available options are outlined pretty clearly by the plugin developer, and scrolling is not one of those options. That is why I was a bit puzzled about your expectations in terms of the nonexistent scrolling behavior that you mentioned in your OP and your reply to my suggestions.

Good luck with your project and the dialogue effect you are trying to achieve.
Hmm??? :LZSskeptic:
All of that can be accomplished with a show picture/move picture event. You'd just need to use more than one.
Show Picture #1: black bar, opacity 0
Show picture #2: Text, opacity 0
Show picture #3: Portrait, opacity 0
Move Picture #1: opacity 130 (wait box unchecked)
Move Picture #2: opacity 255 (wait box unchecked)
Move picture #3: Opacity 255 (wait box checked)
Move picture #2: change X value (wait box unchecked)
This sounds perfect, thanks for the advice, will definitely try this 🙂
My intention was not to be hostile, and I apologize for coming across in that manner.

However, in terms of your question about using the plugin in some sort of different way, the available options are outlined pretty clearly by the plugin developer, and scrolling is not one of those options. That is why I was a bit puzzled about your expectations in terms of the nonexistent scrolling behavior that you mentioned in your OP and your reply to my suggestions.

Good luck with your project and the dialogue effect you are trying to achieve.
I'm very new to RPG Maker and game development in general, and I've found that asking questions is always a good idea, even if I feel like they may make me feel like an idiot 🙂 I have on multiple occasions asked about a plugin and it's features, only to find out that someone made a cool add-on or compatibility patch that adds new features that I didn't even know about! I apologize if this all came off as noobish, I just figured it was better to ask and be told "Ya you definitely can't do that." then to never ask and never know if maybe someone else had a similar idea as me 🙂
You can always just queue up a number of gab commands with a sentence or whatever of your text in each one.

They should automatically appear, wait for the time specified in the plugin parameter, then fade out and go to the next.
You can always just queue up a number of gab commands with a sentence or whatever of your text in each one.

They should automatically appear, wait for the time specified in the plugin parameter, then fade out and go to the next.
I can see that you're able to adjust the time specified in the plugin parameter, but does anyone know if you can adjust the time using plugin commands? I can see that there are plugin commands for pretty much everything but the time that Gab windows stay on screen for, which appears like it can only be adjusted in the parameters itself. This seems kinda weird right, that I can change pretty much all of the parameters using plugin commands, except for the time that the window stays on screen for?
I can see that you're able to adjust the time specified in the plugin parameter, but does anyone know if you can adjust the time using plugin commands? I can see that there are plugin commands for pretty much everything but the time that Gab windows stay on screen for, which appears like it can only be adjusted in the parameters itself. This seems kinda weird right, that I can change pretty much all of the parameters using plugin commands, except for the time that the window stays on screen for?
If you're willing to dig into plugin files you can just look up where the data the parameter sets is being referenced and manually call the functions that use them.
Alright, I looked into the plugin files and I found what I believe to be the function for the Gab Window Base Time, or the amount of frames the window stays on screen for by default. However, I have never manually called functions in RPG Maker MV before, I'm very new to the engine. How do I do this, or is there a thread that explains how to call functions or something? I just wanna call the function in an event so that it changes the Gab Window Base Time during the event, then when the event is over I can just change it back to the default value. I appreciate any help or advice 🙂
Gab Plugin Function.png
A manual function call is just a script call you do from inside the editor, e.g.
$gameParty.addActor(5);

Edit: Try putting $gameVariables.value(50) in the parameter for wait base time. If that doesn't work, overwrite the function as below:

You can just overwrite that function in a new .js plugin file at the bottom of your plugin list to

Code:
Window_Gab.prototype.startCountdown = function() {
    this._graphicLoading = false;
    this.contentsOpacity = 255;
    this._showCount = $gameVariables.value(50);
    var text = this._text.replace(/\\(.*?)\[(.*?)\]/gi, '');
    this._showCount += text.length * Yanfly.Param.GabTimePerChar;
};

That will bypass the 'wait base time' parameter setting altogether and make it so the function uses whatever control variable 50 is instead. Then you can just change control variable 50 from inside the game. Then just set control variable 50 to 90 (the default value) whenever you want it back to the default.

Oh and you'll have to set Control Variable 50 to 90 at game start because all control variables default to 0.
Edit: Try putting $gameVariables.value(50) in the parameter for wait base time.
That usually won't work - unless an author explicitly says that a parameter can take a formula which goes through eval(), they're parsed from the parameter strings into whatever specific data type they need to be.

But the overwriting will work perfectly.

Original thread: https://forums.rpgmakerweb.com/threads/idea-for-gab-window-yep.162176/