じ☆ve冰风 发表于 2026-7-28 20:08:03

HP Color Controller


HP Color Controller
by AceOfAces_Mod
   Version R1.05a (28/8/2020)

This plugin expands the customization by adding additional HP bar colors and one additional HP text color to the engine. This allows the developer to change the color depending on the actor's remaining HP.

Features:​

[*]Easy to use and configure.
[*]Compatibility mode for use with scripts that have their HP color (Normal only).
Screenshots:

Spoiler
http://i.imgur.com/hmhrPD1.png

http://i.imgur.com/4vdsHzJ.png




Demo:
    Pretty self-explanatory. No demo needed.

Setup and Instructions:​

[*]Place the plugin file to your project’s js/plugins folder.
[*]On the plugin Manager, place this plugin below any plugin that changes HP Bars as well (such as Yanfly’s Core Engine). If you don’t have any of these on your project, you can place it anywhere.
[*]After turning it on, save and playtest. If the game didn’t crash after opening the menu and you can see the bars green, the plugin is installed properly. Adjust the settings within the Plugin Manager.
If you wish to use the HP bar colors set by the other script, turn on the compatibility mode by setting its value to true. Compatibility mode will simply ignore Normal HP Color 1 and Normal HP Color 2 and will use the preset color (or the other plugin’s color, if it rerouted the selection).


Compatibility:​
Tested with RPG Maker MV version 1.3.4. Versions older than 1.3 might work, but I cannot guarantee compatibility. Fully compatible with MV version 1.6.x. Compatible with most plugins.

    Download:
GitHub (Add-ons available here as well)
Full plugin documentation here (covers technical info as well).
You can post issues with the plugin here or on Github.
Licensed under the MIT license. Can be used in commercial and non-commercial games.

Credits:
    AceOfAces_Mod

Changelog:​
SpoilerR1.05 Revision 1 ( R1.05A )

[*]Re-worked the HP Text Color Picker to be part of the API.​

R1.05

[*]Improved color picker logic. This may improve performance in edge cases.​
[*]Added API.​
[*]Fixed some bugs.​

R1.04

[*]Added a new color.​
[*]Added settings to handle the new color.​

R1.03 Revision 2 ( R1.03B )

[*]Minor tweak on the code's logic.​

R1.03 Revision 1 ( R1.03A ):

[*]Hotfix for a crash.​

R1.03:

[*]Added partial extensibility.​
[*]Change the name to FSDK_HPColor.js. CAUTION: Copy over the settings from the old version before replacing it with the newer version. Remove the old version when you finish.​

R1.02:

[*]Enhanced support for RPG Maker MV version 1.5.x (and higher).​

R1.01:

[*]Initial release.​







本贴来自国际rpgmaker官方论坛作者:AceOfAces处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/hp-color-controller.74386/
页: [1]
查看完整版本: HP Color Controller