(MV & MZ) Aero's Gab Windows

A friend of mine asked me if I could make a Gab Window plugin for him, and although there should be many out there, I thought this would be a fun task to do!

Gab Windows are text windows that you can dynamically put on the game screen, whether they are part of the game’s HUD or a speech bubble above the player or any other NPC. As they interpret text codes (\C, \V, …), doing something with Icons and Variables becomes super simple!

1715611904670.png



Spoiler: More Screenshot(s)
1714568886570.gif

Features​

  • You can add as many Gab Windows as you want to your Game to create a HUD
  • A Gab Window can be used as part of your HUD or as a speech bubble above your hero or an NPC
  • Gab Windows understand Message Codes. You can easily choose a Text Color, draw Icons, and display Variables!
  • Auto Expire: A Gab Window will automatically close itself after x frames (speech bubble) or stay until you remove it using a plugin command (HUD)
  • A Gab Window will be less opaque when it covers the player
  • You can override the background type (window, dimmed, transparent) and the window skin for each Gab Window
  • Open & close animations are played
  • Gab Windows are persisted in your save game

How To...​

MZ users can use Plugin Commands to add or remove Gab Windows, but they can also use JavaScript. MV users must use JavaScript to use this plugin.

JavaScript is explained in the plugin help and here: https://aerosys.blog/hud-gab-windows

Download​

Right-click, save as...

Final Words​

Open for feedback and suggestions!
I'm glad you made this because it's a fairly common request that MZ particularly lacked in options. The player can move while the gab window is on screen, right?
I'm glad you made this because it's a fairly common request that MZ particularly lacked in options. The player can move while the gab window is on screen, right?
Of course, they can!
Moved to Plugin Releases
Another excellent plugin by Aerosys! Do you have example javascript of how you did the bottom left on the HUD screenshot?
Another excellent plugin by Aerosys! Do you have example javascript of how you did the bottom left on the HUD screenshot?
Thanks!

For the positioning: Set x to 20, y to Graphics.boxHeight - 20, and anchor to { x: 0, y: 1 }. Anchor is only needed for MV; for MZ you can select "bottom left".

For the content: I just typed it by hand, but I think you can put every skill icon and name in variables like

Variable: Key X Icon
Variable: Key X Skillname
Variable: Key 1 Icon
Variable: Key 1 Skillname
...

And then use Variable OP to set them like this:
Code:
$gameParty.leader().skills()[0] && $gameParty.leader().skills()[0].iconIndex
AND
$gameParty.leader().skills()[0] && $gameParty.leader().skills()[0].name
to show first, second, third... skill of the party leader

Alternatively
Code:
$dataSkills[1].iconIndex
AND
$dataSkills[1].name
to show Skill with ID 1

And then the Text would be X: \I[\V[1]] \V[2] ...
Hi I am having trouble getting my text to display in rows. I am using the MV version of the plugin and it works but I cannot get my variables to show in rows. Here is the javascript code
Code:
$gameScreen.addGabWindow('HUD', {
 align: 'left',
 anchor: { x: 0, y: 1.0 },
 eventId: 1,
 text: 'HP: \\V[542] FP: \\V[543] OFP: \\V[544] DFP: \\V[545] Medi: \\V[564] Gliders: \\V[556]',
 x: 20,
 Y: Graphics.boxHeight - 20,
})
Event 1 is the moveable character shown in the picture. I want each variable to show on a different row.
Gab.jpg
but I cannot get my variables to show in rows
Use the \n symbol. Because you are writing in JavaScript, you need to escape it. Your line should look like this:

Code:
'HP: \\V[542]\\nFP: \\V[543]\\nOFP: \\V[544]\\nDFP: \\V[545]\\nMedi: \\V[564]\\nGliders: \\V[556]'
Use the \n symbol. Because you are writing in JavaScript, you need to escape it. Your line should look like this:

Code:
'HP: \\V[542]\\nFP: \\V[543]\\nOFP: \\V[544]\\nDFP: \\V[545]\\nMedi: \\V[564]\\nGliders: \\V[556]'
Tried pasting the text code as you said, and it now shows it like this.
Gab.jpg
Ah sorry, here the escaping was wrong xD

Try \n instead.
Ah sorry, here the escaping was wrong xD

Try \n instead.
That fixed it thank you so much!
Version 1.0.4 is out!

New Feature: Expire on Map Change!

When creating a Window, you may now decide that this Window will disappear as soon as the player changes the map.
Hi! I'm loving your plugin, and in the map it works perfectly, but for the love of my life I can't make it work during battles. Does it work in battle and I can't figure it, or it doesn't?

Also, I would love if you could add an option to make the messages fade in and fade out.
Hi! I'm loving your plugin, and in the map it works perfectly, but for the love of my life I can't make it work during battles. Does it work in battle and I can't figure it, or it doesn't?
Right now, windows don't support the battle scene - but I can add them.

Also, I would love if you could add an option to make the messages fade in and fade out.
Yes, should be doable.

I will ping you when new updates are available.
Right now, windows don't support the battle scene - but I can add them.
I second this, it'll turn this amazing plugin into a god tier one 😉 Loving it so far.
Giving SRD HUDMaker a run for its money
Hi! I'm loving your plugin, and in the map it works perfectly, but for the love of my life I can't make it work during battles. Does it work in battle and I can't figure it, or it doesn't?
I second this, it'll turn this amazing plugin into a god tier one 😉 Loving it so far.

I uploaded a new version to allow windows in the battle scene!

Please try it out and tell me everything that comes into your mind, like should they be carried over from map to battle (right now, they are not), should they be carried over to the next battle (right now, they are not), do you need more settings in the Plugin Manager/Plugin Commands, and so on...
I'll try it later today, but at first glance I'd say that having the option of them carrying over from map to battle and from battle to battle would be great. More options are always just better (also i'd would make good use of such a feature 😉 ) I'll add more later as I try it. Thank you for the hard work!

I'm trying to make the gab window appear duign battle but can't. Is the script call different?
I'll try it later today, but at first glance I'd say that having the option of them carrying over from map to battle and from battle to battle would be great.
Alright, I will add such option!

I'm trying to make the gab window appear duign battle but can't. Is the script call different?
In MZ there’s now a second command, but for MV it’s the same. I send you a dm because I don’t want to feed this thread with (mostly situational) error related ping pong messages.
I uploaded a new version to allow windows in the battle scene!

Please try it out and tell me everything that comes into your mind, like should they be carried over from map to battle (right now, they are not), should they be carried over to the next battle (right now, they are not), do you need more settings in the Plugin Manager/Plugin Commands, and so on...
I'll try it today and let you know! Thanks for your work, I really didnt expect it so Quick!

EDIT: Works perfectly, thank you A LOT!!

Original thread: https://forums.rpgmakerweb.com/threads/mv-mz-aeros-gab-windows.168229/