Orange HUD
HUDell
You don't need a new HUD if you got a HUDell.
Introduction
This plugin will let you add a customizable HUD on your game.
HUD Params
DefaultFontFace
The font face that will be used by default on all lines
DefaultFontSize
The font size that will be used by default on all lines
DefaultFontColor
The font color that will be used by default on all lines
DefaultFontItalic
Should all lines be italic by default?
HudWidth
The total width of the HUD, set it to 0 to use the whole game screen
HudHeight
The total height of the HUD, set it to 0 to use the whole game screen
HudX
The X position of the HUD
HudY
The Y position of the HUD
HudOpacity
The opacity of the HUD
SwitchId
You can use this to configure a switch to control the HUD visibility
Line Params
FontFace
The font face that will be used on this line. Leave empty to use the HUD default.
FontSize
The font size that will be used on this line. Leave empty to use the HUD default.
FontColor
The font color that will be used on this line. Leave empty to use the HUD default.
FontItalic
Should this line be italic?
VariableId
The main variable of this line. Everytime the value of this variable changes, the HUD will be refreshed.
Patern
The line content. You can use %1 to display the main variable value, or text command like \v[0002], \i[10].
X
The X position of this line inside the HUD
Y
The Y position of this line inside the HUD
ScriptPattern
You can use this param to create a pattern with a script instead of a single string.
How to Use
Add the OrangeHud.js and the OrangeHudLine.js plugins on your project and configure the params the way you want them.
If you want to add more lines on the HUD, create a copy of the OrangeHudLine.js file, called OrangeHudLine2.js and add it on your project. You can add as many lines as you want, but the name of the plugin file must start with OrangeHudLine. You can use any other add-on instead of the line.
I also wrote a
blog post explaining the plugin in more details.
Plugin
OrangeHud.js
Add-Ons:
Dependencies
None.
License
Free for any game.