Add Yep Visual Guage

main
xian18 2 years ago
parent 37463aa483
commit 160dec0a5b
Signed by: SaltedFish
GPG Key ID: B0C26448E9EF40CA

@ -33,6 +33,7 @@ var $plugins =
{"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}},
{"name":"YEP_X_BattleSysATB","status":true,"description":"v1.25 时间槽战斗系统☁️","parameters":{"---ATB 设置---":"","Per Tick":"user.agi","Initial Speed":"0","Full Gauge":"Math.max(5000, BattleManager.highestBaseAgi() * 100)","Charge Gauge":"0","Pre-Emptive Bonuses":"0.8","Surprise Bonuses":"0.8","---逃跑---":"","Escape Ratio":"0.125 * $gameParty.agility() / $gameTroop.agility()","Fail Escape Boost":"0.025","---Turn---":"","Full Turn":"Math.min(200, BattleManager.lowestBaseAgi() * 8)","Flash Enemy":"true","---Rubberband---":"","Enable Rubberband":"false","Minimum Speed":"0.5 * BattleManager.highestBaseAgi()","Maximum Speed":"1.5 * BattleManager.highestBaseAgi()","---准备音乐---":"","Ready Sound":"Decision1","Ready Volume":"90","Ready Pitch":"120","Ready Pan":"0","---选项---":"","ATB Speed Text":"ATB速度","Default ATB Speed":"10","---窗口---":"","Lock Status Window":"true","Gauge Style":"1","Gauge Text":"Turn","Gauge Text Align":"center","ATB Gauge Color 1":"13","ATB Gauge Color 2":"5","Slow Gauge Color 1":"12","Slow Gauge Color 2":"4","Fast Gauge Color 1":"26","Fast Gauge Color 2":"27","Stop Gauge Color 1":"7","Stop Gauge Color 2":"8","Full Gauge Color 1":"14","Full Gauge Color 2":"6","Charge Gauge Color 1":"2","Charge Gauge Color 2":"10"}}, {"name":"YEP_X_BattleSysATB","status":true,"description":"v1.25 时间槽战斗系统☁️","parameters":{"---ATB 设置---":"","Per Tick":"user.agi","Initial Speed":"0","Full Gauge":"Math.max(5000, BattleManager.highestBaseAgi() * 100)","Charge Gauge":"0","Pre-Emptive Bonuses":"0.8","Surprise Bonuses":"0.8","---逃跑---":"","Escape Ratio":"0.125 * $gameParty.agility() / $gameTroop.agility()","Fail Escape Boost":"0.025","---Turn---":"","Full Turn":"Math.min(200, BattleManager.lowestBaseAgi() * 8)","Flash Enemy":"true","---Rubberband---":"","Enable Rubberband":"false","Minimum Speed":"0.5 * BattleManager.highestBaseAgi()","Maximum Speed":"1.5 * BattleManager.highestBaseAgi()","---准备音乐---":"","Ready Sound":"Decision1","Ready Volume":"90","Ready Pitch":"120","Ready Pan":"0","---选项---":"","ATB Speed Text":"ATB速度","Default ATB Speed":"10","---窗口---":"","Lock Status Window":"true","Gauge Style":"1","Gauge Text":"Turn","Gauge Text Align":"center","ATB Gauge Color 1":"13","ATB Gauge Color 2":"5","Slow Gauge Color 1":"12","Slow Gauge Color 2":"4","Fast Gauge Color 1":"26","Fast Gauge Color 2":"27","Stop Gauge Color 1":"7","Stop Gauge Color 2":"8","Full Gauge Color 1":"14","Full Gauge Color 2":"6","Charge Gauge Color 1":"2","Charge Gauge Color 2":"10"}},
{"name":"YEP_X_VisualATBGauge","status":true,"description":"v1.03 时间槽外观☁️","parameters":{"Show Gauges":"true","Minimum Gauge Width":"144","Always Show":"true","Gauge Position":"false","Y Buffer":"-32","Use Thick Gauges":"true"}}, {"name":"YEP_X_VisualATBGauge","status":true,"description":"v1.03 时间槽外观☁️","parameters":{"Show Gauges":"true","Minimum Gauge Width":"144","Always Show":"true","Gauge Position":"false","Y Buffer":"-32","Use Thick Gauges":"true"}},
{"name":"YEP_X_VisualHpGauge","status":true,"description":"v1.07 (Requires YEP_BattleEngineCore.js) Reveal HP Gauges\nwhen a battler is selected or takes damage in battle.","parameters":{"---General---":"","Display Actor":"true","Defeat First":"false","Always Visible":"true","---Appearance---":"","Minimum Gauge Width":"144","Gauge Height":"18","Back Color":"19","HP Color 1":"20","HP Color 2":"21","Gauge Duration":"30","Gauge Position":"false","Y Buffer":"-16","Use Thick Gauges":"true","---Text Display---":"","Show HP":"true","Show Value":"true","Show Max":"true"}},
{"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}},
{"name":"YEP_EventChasePlayer","status":true,"description":"v1.05 事件追逐☁️","parameters":{"Sight Lock":"300","See Player":"true","Alert Timer":"120","Alert Balloon":"1","Alert Sound":"Attack1","Alert Common Event":"0","Return After":"true","Return Wait":"180"}}, {"name":"YEP_EventChasePlayer","status":true,"description":"v1.05 事件追逐☁️","parameters":{"Sight Lock":"300","See Player":"true","Alert Timer":"120","Alert Balloon":"1","Alert Sound":"Attack1","Alert Common Event":"0","Return After":"true","Return Wait":"180"}},
{"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}},

@ -611,4 +611,4 @@ require('nw.gui').Window.get().showDevTools();
} }
//============================================================================= //=============================================================================
// End of File // End of File
//============================================================================= //=============================================================================

@ -1,4 +1,4 @@
//============================================================================= //=============================================================================
// Yanfly Engine Plugins - Battle Engine Extension - Visual HP Gauge // Yanfly Engine Plugins - Battle Engine Extension - Visual HP Gauge
// YEP_X_VisualHpGauge.js // YEP_X_VisualHpGauge.js
//============================================================================= //=============================================================================
@ -8,92 +8,140 @@ Imported.YEP_X_VisualHpGauge = true;
var Yanfly = Yanfly || {}; var Yanfly = Yanfly || {};
Yanfly.VHG = Yanfly.VHG || {}; Yanfly.VHG = Yanfly.VHG || {};
Yanfly.VHG.version = 1.07
//============================================================================= //=============================================================================
/*: /*:
* @plugindesc v1.06 血量槽外观 * @plugindesc v1.07 (Requires YEP_BattleEngineCore.js) Reveal HP Gauges
* when a battler is selected or takes damage in battle.
* @author Yanfly Engine Plugins * @author Yanfly Engine Plugins
* *
* @param ---全局--- * @param ---General---
* @default * @default
* *
* @param Display Actor * @param Display Actor
* @text 角色HP条 * @parent ---General---
* @type boolean
* @on YES
* @off NO
* @desc Do you wish to display the HP Gauge for actors? * @desc Do you wish to display the HP Gauge for actors?
* NO - false YES - true * NO - false YES - true
* @default true * @default true
* *
* @param Defeat First * @param Defeat First
* @text 敌人需击败显示血条 * @parent ---General---
* @type boolean
* @on YES
* @off NO
* @desc Enemies must be defeated first before showing the HP Gauge. * @desc Enemies must be defeated first before showing the HP Gauge.
* NO - false YES - true * NO - false YES - true
* @default false * @default false
* *
* @param Always Visible * @param Always Visible
* @text 始终可见 * @parent ---General---
* @type boolean
* @on YES
* @off NO
* @desc HP Gauge is always visible and doesn't fade away. * @desc HP Gauge is always visible and doesn't fade away.
* NO - false YES - true * NO - false YES - true
* @default false * @default false
* *
* @param ---外观--- * @param ---Appearance---
* @default * @default
* *
* @param Minimum Gauge Width * @param Minimum Gauge Width
* @parent ---Appearance---
* @type number
* @min 1
* @desc This is the minimum width in pixels for HP Gauges. * @desc This is the minimum width in pixels for HP Gauges.
* @default 144 * @default 144
* *
* @param Gauge Height * @param Gauge Height
* @parent ---Appearance---
* @type number
* @min 1
* @desc This is the height in pixels for HP Gauges. * @desc This is the height in pixels for HP Gauges.
* @default 18 * @default 18
* *
* @param Back Color * @param Back Color
* @parent ---Appearance---
* @desc This is the text color used for the back of HP Gauges. * @desc This is the text color used for the back of HP Gauges.
* @default 19 * @default 19
* *
* @param HP Color 1 * @param HP Color 1
* @parent ---Appearance---
* @type number
* @min 0
* @max 31
* @desc This is the text color used for the 1st part of HP Gauges. * @desc This is the text color used for the 1st part of HP Gauges.
* @default 20 * @default 20
* *
* @param HP Color 2 * @param HP Color 2
* @parent ---Appearance---
* @type number
* @min 0
* @max 31
* @desc This is the text color used for the 2nd part of HP Gauges. * @desc This is the text color used for the 2nd part of HP Gauges.
* @default 21 * @default 21
* *
* @param Gauge Duration * @param Gauge Duration
* @text * @parent ---Appearance---
* @type number
* @min 0
* @desc This is the frames the HP gauge will continue to show after * @desc This is the frames the HP gauge will continue to show after
* it finishes draining or filling. * it finishes draining or filling.
* @default 30 * @default 30
* *
* @param Gauge Position * @param Gauge Position
* @text 条位置 * @parent ---Appearance---
* @type boolean
* @on Above
* @off Below
* @desc Where do you wish to show the HP gauge? * @desc Where do you wish to show the HP gauge?
* BELOW - false ABOVE - true * BELOW - false ABOVE - true
* @default false * @default false
* *
* @param Y Buffer * @param Y Buffer
* @parent ---Appearance---
* @type number
* @desc How much do you wish to shift the gauge Y position? * @desc How much do you wish to shift the gauge Y position?
* @default -16 * @default -16
* *
* @param Use Thick Gauges * @param Use Thick Gauges
* @text 使用厚量规 * @parent ---Appearance---
* @type boolean
* @on Thick
* @off Normal
* @desc Use the thick gauges provided by this plugin? * @desc Use the thick gauges provided by this plugin?
* Default - false Thick - true * Default - false Thick - true
* @default true * @default true
* *
* @param ---文本显示--- * @param ---Text Display---
* @default * @default
* *
* @param Show HP * @param Show HP
* @parent ---Text Display---
* @type boolean
* @on YES
* @off NO
* @desc Show the actual 'HP' text. * @desc Show the actual 'HP' text.
* NO - false YES - true * NO - false YES - true
* @default false * @default false
* *
* @param Show Value * @param Show Value
* @parent ---Text Display---
* @type boolean
* @on YES
* @off NO
* @desc Show the HP value. * @desc Show the HP value.
* NO - false YES - true * NO - false YES - true
* @default false * @default false
* *
* @param Show Max * @param Show Max
* @parent ---Text Display---
* @type boolean
* @on YES
* @off NO
* @desc Show the MaxHP value if value is shown? * @desc Show the MaxHP value if value is shown?
* NO - false YES - true * NO - false YES - true
* @default false * @default false
@ -103,14 +151,18 @@ Yanfly.VHG = Yanfly.VHG || {};
* Introduction * Introduction
* ============================================================================ * ============================================================================
* *
* 这个插件需要YEP_BattleEngineCore战斗引擎核心确保放在这个插件下面 * This plugin requires YEP_BattleEngineCore.
* * Make sure this plugin is located under YEP_BattleEngineCore in the plugin
* list.
* *
* 这个插件可以在敌方被击中或者选择时显示血量你也可以设置队员的 * This plugin shows the HP Gauges of enemies as they're selected or while they
* 血量显示你可以调整血量显示的参数 * take damage. You can also opt for actors to show their HP Gauge as well.
* Adjust the parameters to change the way you want the HP Gauges to appear.
* *
* 敌方默认不需要先击倒在显示血量这个可以通过参数设定但是在编 * By default, enemies would need to be defeated first in order for the gauges
* 辑器战斗测试时血量会一直显示除非敌方隐藏 * to show up. This can be changed within the parameter settings. However,
* during battle test, the HP gauges are always shown unless the enemy has a
* hidden HP gauge.
* *
* ============================================================================ * ============================================================================
* Notetags * Notetags
@ -118,39 +170,35 @@ Yanfly.VHG = Yanfly.VHG || {};
* *
* Class and Enemy Notetags: * Class and Enemy Notetags:
* <Hide HP Gauge> * <Hide HP Gauge>
* 隐藏血量
* This HP gauge will always be hidden if this notetag is present. * This HP gauge will always be hidden if this notetag is present.
* *
* <Show HP Gauge> * <Show HP Gauge>
* 显示血量
* This HP gauge will always be shown if this notetag is present while the * This HP gauge will always be shown if this notetag is present while the
* target is selected or taking damage. * target is selected or taking damage.
* *
* <HP Gauge Width: x> * <HP Gauge Width: x>
* 血量槽宽度如果宽度小于最小宽度将会取最小宽度
* This will set the battler's HP Gauge width to x pixels. However, if this * This will set the battler's HP Gauge width to x pixels. However, if this
* width is less than the minimum width, minimum width will take priority. * width is less than the minimum width, minimum width will take priority.
* *
* <HP Gauge Height: x> * <HP Gauge Height: x>
* 血量槽高度
* This set's the HP Gauge height to x pixels. * This set's the HP Gauge height to x pixels.
* *
* <HP Gauge Back Color: x> * <HP Gauge Back Color: x>
* 血量槽背景颜色
* This changes the HP Gauge's back color to x text color. * This changes the HP Gauge's back color to x text color.
* *
* <HP Gauge Color 1: x> * <HP Gauge Color 1: x>
* 血量槽颜色1
* This changes the HP Gauge's color 1 to x text color. * This changes the HP Gauge's color 1 to x text color.
* *
* <HP Gauge Color 2: x> * <HP Gauge Color 2: x>
* 血量槽颜色2
* This changes the HP Gauge's color 2 to x text color. * This changes the HP Gauge's color 2 to x text color.
* *
* ============================================================================ * ============================================================================
* Changelog * Changelog
* ============================================================================ * ============================================================================
* *
* Version 1.07:
* - Updated for RPG Maker MV version 1.5.0.
*
* Version 1.06: * Version 1.06:
* - Compatibility update with State Categories. * - Compatibility update with State Categories.
* *

Loading…
Cancel
Save