Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NUUN Butler HP Gauge - NUUN_ButlerHPGauge.js
Plugin desc : Butler HP Gauge
License : MIT License
Author : NUUN
Website : https://github.com/munokura/NUUN-MZ-plugins/blob/master/NUUN_ButlerHPGauge.js
Desc page : https://github.com/nuun888/MZ
Download Page : https://raw.githubusercontent.com/munokura/NUUN-MZ-plugins/master/NUUN_ButlerHPGauge.js
File name : NUUN_ButlerHPGauge.js
Help of plugin :
@target MZ @url https://github.com/nuun888/MZ @plugindesc Butler HP Gauge @author NUUN @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/NUUN-MZ-plugins ). Original plugin by NUUN. Please check the latest official version at: https://github.com/nuun888/MZ ----- Displays an HP gauge on the enemy or SV actor battler. Enemy character or actor memo field <HPGaugeX:[position]> Adjusts the X coordinate of the HP gauge. (Relative coordinates) <HPGaugeY:[position]> Adjusts the Y coordinate of the HP gauge. (Relative coordinates) Enemy character memo field <NoHPGauge> Does not display the HP gauge. <HPGaugeLength:[width], [height]> Specifies the width of the HP gauge. [position]: Coordinate [width]: Gauge width [height]: Gauge height Battle event notes <HPGaugePosition:[Id],[x],[y]> Adjusts the gauge position of the [Id]th monster in the enemy group. (Relative coordinates) [Id]: Display order number [x]: X coordinate [y]: Y coordinate [id] specifies the ID of the monster placed in the enemy group settings. A number appears in the upper left corner of the monster image; enter that number here. Featured Memo Field <HPGaugeVisible> If an actor with this feature is present, the enemy's HP gauge will be displayed. <EnemyHPGaugeVisible> Enemies with this feature will have their HP gauge displayed. Enemy Memo Field <HPGaugeMask:[eval]> If the condition is not met, the HP value display will be changed to ???. this Enemy Data this.enemy() Enemy Database Data Example: <HPGaugeMask:this.hp < this.mhp * 0.3> Only displays the enemy's HP when its HP is below 30%. Initial HP Gauge Display Displays when an actor with the <HPGaugeVisible> feature is in the battle team, or if it is registered when linked to the Pokédex. When using the above feature, set the initial HP gauge display to hidden. Please be sure to update the Battler Overlay Base to the latest version. This plugin requires NUUN_Base Ver. 1.2.0 or later. If you have Pseudo 3D Battle installed, place this plugin below it. If you have configured the corresponding gauge with the Gauge Display Extension plugin, please configure the font size with the Gauge Display Extension plugin. Terms of Use This plugin is distributed under the MIT License. Update History January 2, 2025 Ver. 1.7.7 Fixed an issue where the transformed monster's gauge would remain displayed even if it was set to hidden. September 11, 2024 Ver. 1.7.6 Fixed an issue where a stack error would occur when entering certain scripts. November 4, 2023 Ver. 1.7.5 Fixed an issue where <HPGaugeVisible> was not working. August 3, 2023 Ver. 1.7.4 Fixed an issue where NoHPGauge was not working with some plugins. June 23, 2023 Ver. 1.7.3 Fixed an issue where NoHPGauge was not working. June 2, 2023 Ver. 1.7.2 Processing fixes. May 28, 2023 Ver. 1.7.1 Processing fixes. May 28, 2023 Ver. 1.7.0 Added the ability to display gauges on SV actors. May 6, 2023 Ver. 1.6.1 Fixed the HP gauge display to fade in and out. September 17, 2022 Ver. 1.6.0 Added the ability to specify the width and height of the HP gauge for each enemy character. May 14, 2022 Ver. 1.5.0 Changed the definition regarding major changes to the battler display processing. January 10, 2022 Ver. 1.4.2 Further fixes. January 10, 2022 Ver. 1.4.1 Fixed an issue where the gauge would display from coordinate 0 even when displayed as a label. December 19, 2021 Ver. 1.4.0 Gauge visualization support. November 8, 2021 Ver. 1.3.3 Changed the setting method for enemy group coordinate changes. November 6, 2021 Ver. 1.3.2 Removed unnecessary processing. November 5, 2021 Ver. 1.3.1 Changed the unnatural tag name for gauge coordinates from enemy groups. November 5, 2021 Ver. 1.3.0 Added a feature to adjust gauge coordinates for each monster in an enemy group. September 2, 2021 Ver. 1.2.7 Added a centering feature. August 31, 2021 Ver. 1.2.6 Fixed an issue where HP labels would appear in the margins when hidden. August 29, 2021 Ver. 1.2.5 Fixed conflicts with some plugins. July 15, 2021 Ver. 1.2.4 Processing optimization: Some processing has been moved to NUUN_Base. July 13, 2021 Ver. 1.2.3 Fixed conflicts with plugins that delete enemy images and add new enemy images. June 28, 2021 Ver. 1.2.2 Fixed processing that had stopped working. June 28, 2021 Ver. 1.2.1 Added a feature to hide HP under certain conditions. June 26, 2021 Ver. 1.2.0 Added a feature to display the HP gauge depending on the situation. June 20, 2021 Ver. 1.1.1 Added a feature to display the HP gauge by registering it in the monster encyclopedia (NUUN_EnemyBook). June 19, 2021 Ver. 1.1.0 Added a feature to set the display timing of the HP gauge. June 19, 2021 Ver. 1.0.3 Some processing changes made to support Pseudo 3D Battle Ver. 1.1. May 24, 2021 Ver. 1.0.2 Added a feature to hide HP labels and values. May 24, 2021 Ver. 1.0.1 Added a feature to hide HP gauges. May 24, 2021 Ver. 1.0.0 First release @param EnemySetting @text Enemy Settings @default ------------------------------ @param EnemyVisibleSetting @text Display settings @default ------------------------------ @parent EnemySetting @param HPPosition @text Enemy HP gauge location @desc Enemy character's HP gauge position @type select @default 0 @option No display @value -1 @option Above the enemy image @value 0 @option Under the enemy image @value 1 @option Center of enemy image @value 2 @parent EnemyVisibleSetting @param HPVisible @text Enemy HP gauge display timing @desc Enemy HP gauge display timing @type select @default 0 @option Always Show @value 0 @option When selected @value 1 @option When damaged @value 2 @option When selected, when damaged @value 3 @parent EnemyVisibleSetting @param GaugeSetting @text Enemy Gauge Settings @default ------------------------------ @parent EnemySetting @param GaugeWidth @text Gauge width @desc Specifies the width of the enemy's gauge. @type number @default 128 @min 0 @parent GaugeSetting @param GaugeHeight @text Gauge vertical width @desc Specifies the vertical width of the enemy's gauge. @type number @default 12 @min 0 @parent GaugeSetting @param Gauge_X @text Gauge X coordinate @desc Specifies the X coordinate (relative coordinate) of the enemy's gauge. @type number @default 0 @min -9999 @parent GaugeSetting @param Gauge_Y @text Gauge Y coordinate @desc Specifies the Y coordinate (relative coordinate) of the enemy's gauge. @type number @default 0 @min -9999 @parent GaugeSetting @param HPLabelVisible @text HP labeling @desc Shows enemy HP labels. @type boolean @default true @parent GaugeSetting @param HPValueVisible @text HP numerical display @desc Displays HP values. @type boolean @default true @parent GaugeSetting @param ValueFontSize @text Numeric Font Size @desc Number font size (from main font size) @type number @default -6 @min -9999 @parent GaugeSetting @param LabelFontSize @text Label Font Size @desc Label font size (from main font size). @type number @default -2 @min -9999 @parent GaugeSetting @param MaskValueName @text Characters used to hide HP values @desc Characters used to hide HP values. @type string @default ???? @parent GaugeSetting @param SpecialSetting @text Special Settings @default ------------------------------ @parent GaugeSetting @param HPVisibleMode @text Initial HP gauge display @desc The initial HP gauge display. It will be displayed depending on the feature and the timing of the HP gauge display. @type select @default 0 @option display @value 0 @option hidden @value 1 @parent SpecialSetting @param EnemyBookSetting @text Pokédex linked settings @default ------------------------------ @parent GaugeSetting @param HPEnemyBookVisible @text HP gauge display timing (Monster Encyclopedia) @desc HP gauge display timing (Monster Encyclopedia) @type select @default 0 @option Not specified @value 0 @option Displayed after encyclopedia registration @value 1 @option Displayed after registering encyclopedia information @value 2 @parent EnemyBookSetting @param ActorSetting @text Actor Settings @default ------------------------------ @param ActorVisibleSetting @text Display settings @default ------------------------------ @parent ActorSetting @param ActorHPPosition @text HP gauge location @desc Actor's HP gauge location @type select @default -1 @option No display @value -1 @option Above the SV image @value 0 @option Under the SV image @value 1 @parent ActorVisibleSetting @param ActorHPVisible @text Actor HP gauge display timing @desc Actor HP gauge display timing @type select @default 0 @option Always Show @value 0 @option When selected @value 1 @option When damaged @value 2 @option When selected, when damaged @value 3 @parent ActorVisibleSetting @param ActorGaugeSetting @text Actor Gauge Settings @default ------------------------------ @parent ActorSetting @param ActorGaugeWidth @text Gauge width @desc Specifies the width of the actor's gauge. @type number @default 128 @min 0 @parent ActorGaugeSetting @param ActorGaugeHeight @text Gauge vertical width @desc Specifies the vertical width of the actor's gauge. @type number @default 12 @min 0 @parent ActorGaugeSetting @param ActorGauge_X @text Gauge X coordinate @desc Specifies the X coordinate (relative coordinate) of the actor's gauge. @type number @default 0 @min -9999 @parent ActorGaugeSetting @param ActorGauge_Y @text Gauge Y coordinate @desc Specifies the Y coordinate (relative coordinate) of the actor's gauge. @type number @default 0 @min -9999 @parent ActorGaugeSetting @param ActorHPLabelVisible @text HP labeling @desc Displays the actor's HP label. @type boolean @default true @parent ActorGaugeSetting @param ActorHPValueVisible @text HP numerical display @desc Displays the actor's HP value. @type boolean @default true @parent ActorGaugeSetting @param ActorValueFontSize @text Numeric Font Size @desc Actor number font size (from main font size) @type number @default -6 @min -9999 @parent ActorGaugeSetting @param ActorLabelFontSize @text Label Font Size @desc Actor label font size (from main font size). @type number @default -2 @min -9999 @parent ActorGaugeSetting