en:hpcolorcontroller

HP Color Controller

This plugin (or RGSS3 script) allows the developers to add additional colors to the HP bars (and text) to color code the current status of the actor.

  1. Download the plugin and save it to the project's js/plugins/ folder.
  2. Load the project and open the Plugin Manager.
  3. Go to an empty slot and add the HP Color Controller plugin (named as HPColor).
  4. Click on OK.
  5. Close the Plugin Manager and save the project.
  6. Playtest to check if the plugin is working and it doesn't crash the game.
  1. Head to the download site and copy the script's code. Use raw viewing mode if needed.
  2. Load the project and open the Script Editor.
  3. Open a slot between the Materials and the Main section.
  4. Paste the script on the right-hand side of the editor.
  5. Close the project editor (clicking OK or Apply, not Cancel) and save.
  6. Playtest to check if the plugin is working and it doesn't crash the game.
MV VX Ace: Variable type:Range of value:Description
Compatibility ModeCOMPAT_MODEBooleantrue, falseThis option will ignore the settings for the normal HP Bar color and the HP text's crisis color. This is handy if you want to keep the settings set by another plugin or script.
Add Warning ColorWARN_COLORBooleantrue, falseThis option adds the “Warning” color.
Warning HP LimitWARN_HPFloat0.00 - 1.00Sets the percentage where the “Warning” HP Colors will be shown instead of the normal HP Color.
Low HP LimitLOW_HPFloat0.00 - 1.00Sets the percentage where the low HP Colors will be shown instead of the normal HP Color (applies to the text as well).
Critical HP LimitCRIT_HPFloat0.00 - 1.00Sets the percentage where the critical HP Colors will be shown instead of the normal HP Color (applies to the text as well).

In this section, you set the colors for both the HP Bar and text colors. In order to achieve this, the plugin (or script) references the colors from the Window.png file. To use the color you want, enter a number of 0 to 31. Here's a quick reference guide:

 
0  1  2  3  4  5  6  7 
8  9  10 11 12 13 14 15
16 17 18 19 20 21 22 23
24 25 26 27 28 29 30 31

The HP bar consists of two colors making a gradient. HP Color 1 (or :hp_gauge1) is the color on the leftmost side of the HP bar and HP Color 2 (or hp_gauge2) is the color on the rightmost side of the bar.

The HP Text is simply the color you specify.

  • Rewrites how the HP Bar and HP Text drawing function for both outside and inside of the battle screen.
  • Adds three new functions. Two for the HP Bar and one for the HP text.
  • All settings are referenced from the Plugin Manager and stored on the variable paramdeck.
  • The functions for picking the colors (based on the remaining HP) are hpTextColorPicker, hpbarColorPicker1 and hpbarColorPicker2.
  • Builds FSE::HPCONTROL, which houses the settings of the script.
  • The functions for picking the colors (based on the remaining HP) are hp_barcolor1, hp_color2 and hp_color (overwritten).