(MV & MZ) Aero's Gab Windows

● ARCHIVED · READ-ONLY
Started by Aerosys 37 posts Page 1 of 2 View original ↗
  1. 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


    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!
  2. 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?
  3. AquaEcho said:
    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!
  4. Moved to Plugin Releases
  5. Another excellent plugin by Aerosys! Do you have example javascript of how you did the bottom left on the HUD screenshot?
  6. twosnakes said:
    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] ...
  7. 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
  8. Beachsidey0 said:
    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]'
  9. Aerosys said:
    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
  10. Ah sorry, here the escaping was wrong xD

    Try \n instead.
  11. Aerosys said:
    Ah sorry, here the escaping was wrong xD

    Try \n instead.
    That fixed it thank you so much!
  12. 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.
  13. 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.
  14. HunkyMattel said:
    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.

    HunkyMattel said:
    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.
  15. Aerosys said:
    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.
  16. Giving SRD HUDMaker a run for its money
  17. HunkyMattel said:
    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?
    gambitben said:
    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...
  18. 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?
  19. gambitben said:
    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!

    gambitben said:
    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.
  20. Aerosys said:
    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!!