Welcome to PGMV! 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.
TM Map Hp Gauge - TMMapHpGauge.js
Plugin desc : Displays face graphics and HP gauges on the map scene.
License : MIT License
Author : tomoaky
Desc page : https://github.com/munokura/tomoaky-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMMapHpGauge.js
File name : TMMapHpGauge.js
Help of plugin :
@plugindesc Displays face graphics and HP gauges on the map scene.
@author tomoaky
@url https://github.com/munokura/tomoaky-MV-plugins
@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/tomoaky-MV-plugins ).
Original plugin by tomoaky.
-----
TMPlugin - Map HP Gauge ver1.4.4
How to Use:
Adjust the plugin parameters to display your preferred HP gauge.
This plugin has been tested with RPG Maker MV Version 1.6.2.
This plugin is distributed under the MIT License and is free for commercial use, modification, and redistribution.
Plugin Commands:
showHpGauge
Displays the HP gauge window.
If the plugin parameter startVisible is 0,
the HP gauge will not be displayed until this command is executed.
showHpGauge A
Displays Gauge A. If the type is set in the plugin parameter,
it will automatically be displayed when the game starts.
hideHpGauge
Hides the HP gauge window. It will remain hidden until the showHpGauge command is executed.
hideHpGauge B
Hides Gauge B. It will remain hidden until the showHpGauge B command is executed.
moveHpGaugeWindow 100 200
Moves the HP gauge window to the X coordinate = 100 / Y coordinate = 200 position.
Plugin Parameter Notes:
gaugeA - gaugeD
param
If the gauge type is VN, set the game variable number to be treated as the current value of the gauge.
max
If the gauge type is VN, specify the game variable number to be treated as the maximum value of the gauge.
The maximum value will only be achieved by assigning a value to the game variable with the number set in this parameter.
This setting only affects the length of the gauge; it does not prevent the variable value from exceeding the maximum value.
windowOpacity / collideOpacity
windowOpacity affects the window frame and background, while collideOpacity affects the gauge and face graphics.
If the windowOpacity value is lower than collideOpacity, the windowOpacity value will be used as the opacity when overlapping with the player.
However, the collideOpacity value applies as usual to the gauge and face graphic.
faceOffsetX
Setting this value to -1000 will hide the face graphic.
vnMax
If the value is true, the maximum value will also be displayed. However, if there is not enough space to display both the current and maximum values (i.e., the gauge is too short), only the current value will be displayed, regardless of the vnMax setting.
@param gaugeWindowX
@desc HP gauge window X coordinate Initial value: 0
@default 0
@type number
@min -1000
@param gaugeWindowY
@desc Y coordinate of HP gauge window Initial value: 0
@default 0
@type number
@min -1000
@param gaugeWindowWidth
@desc HP Gauge Window Width Default: 288
@default 288
@type number
@param gaugeWindowHeight
@desc HP Gauge Window Height Default: 64
@default 64
@type number
@param gaugeA
@desc Gauge A parameters
@default {"type":"HP","x":"12","y":"12","width":"144","height":"36","fontSize":"28","param":"0","max":"0","name":"AP","color":"#ff60c0 #ffa0e0"}
@type struct<Gauge>
@param gaugeB
@desc Gauge B parameters
@default {"type":"","x":"12","y":"12","width":"144","height":"36","fontSize":"28","param":"0","max":"0","name":"AP","color":"#ff60c0 #ffa0e0"}
@type struct<Gauge>
@param gaugeC
@desc Gauge C parameters
@default {"type":"","x":"12","y":"12","width":"144","height":"36","fontSize":"28","param":"0","max":"0","name":"AP","color":"#ff60c0 #ffa0e0"}
@type struct<Gauge>
@param gaugeD
@desc Gauge D parameters
@default {"type":"","x":"12","y":"12","width":"144","height":"36","fontSize":"28","param":"0","max":"0","name":"AP","color":"#ff60c0 #ffa0e0"}
@type struct<Gauge>
@param faceOffsetX
@desc X coordinate offset value for face graphics. Default: -4 (-1000 means no face graphics are used).
@default -4
@type number
@min -1000
@param faceOffsetY
@desc Y coordinate correction value for face graphics Initial value: -4
@default -4
@type number
@min -1000
@param stateIconMax
@desc Number of state icons to display Default: 4
@default 4
@type number
@param stateIconX
@desc State icon X coordinate Default: 156
@default 156
@type number
@min -1000
@param stateIconY
@desc State icon Y coordinate Default: 24
@default 24
@type number
@min -1000
@param stateIconScale
@desc State icon magnification (%) Default: 100
@default 100
@type number
@param stateIconOpacity
@desc State icon opacity (0 to 255) Default: 255
@default 255
@type number
@param goldWidth
@desc Width of money display Default: 0 (0 = no display)
@default 0
@type number
@param goldX
@desc X coordinate of money display Default: 12
@default 12
@type number
@min -9999
@param goldY
@desc Y coordinate of money display Default: 12
@default 12
@type number
@min -1000
@param vnMax
@desc Whether to display the maximum value of the gauge type VN. Default: OFF (true = ON - displayed / false = OFF - hidden)
@default false
@type boolean
@param shakeTime
@desc Time (frames) to shake the window when taking damage. Default: 20 (0 means no shaking).
@default 20
@type number
@param startVisible
@desc Display state at the start of the game Default: ON (true = ON Display / false = OFF Hidden)
@default true
@type boolean
@param windowOpacity
@desc HP Gauge Window Opacity Default: 255
@default 255
@type number
@param collideOpacity
@desc Opacity when overlapping with the player Initial value: 128 (0 to 255)
@default 128
@type number
@max 255
@param messageBusyHide
@desc Hide the HP gauge window while the message window is displayed. Default: ON ( true = ON hide / false = OFF do not hide )
@default true
@type boolean
@param eventBusyHide
@desc Hide the HP gauge window while an event is running. Default: ON (true = ON hide / false = OFF do not hide)
@default true
@type boolean
@param useBattleScene
@desc Displays the HP gauge window even during battles. Default: OFF (true = ON - Show / false = OFF - Hide)
@default false
@type boolean
@param gaugeWindowBattleX
@desc X coordinate of the HP gauge window in the battle scene. Initial value: 0
@default 0
@type number
@min -1000
@param gaugeWindowBattleY
@desc Y coordinate of the HP gauge window in the battle scene. Initial value: 0
@default 0
@type number
@min -1000