Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ

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.
 
Last edited:

RATISOFT

Villager
Member
Joined
Oct 25, 2015
Messages
18
Reaction score
6
First Language
Polish
Switch ID setting is used to whole HUD ...but my question is: it is possible to set-up switch ID for each line of variables? I need different variables shown on different maps so it would be usefull in my project ;)
 

Coldwilson

Villager
Member
Joined
Oct 23, 2015
Messages
6
Reaction score
4
First Language
English
This is great!  Any chance you could you do a screenshot example for a simple hud test variable for us new to RM please?
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ
Switch ID setting is used to whole HUD ...but my question is: it is possible to set-up switch ID for each line of variables? I need different variables shown on different maps so it would be usefull in my project ;)
I just updated it to add a SwitchId param on the line too :)

This is great!  Any chance you could you do a screenshot example for a simple hud test variable for us new to RM please?
Yup, I'll update the main post with it.
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
274
Reaction score
133
First Language
English
Primarily Uses
This is great, is what i was looking for!!!
Thanks a lot!
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ
Updated the plugin with 3 new types of lines:

1. OrangeHudClock

2. OrangeHudFixedPicture

3. OrangeHudVariablePicture

With those, you can make your HUD even better :)

Make sure to always get all files on the same version (currently at 1.3)

Edit: And let me know if there's anything else you need for your HUD.
 
Last edited by a moderator:

MuteDay

Mutation Engine
Veteran
Joined
Oct 19, 2015
Messages
253
Reaction score
39
First Language
English
Although its using a modified version of hudclock i though i would post an image :)

post-71787-0-54726200-1446272408.png


IMG_31102015_001930.png
 

JareX

Veteran
Veteran
Joined
Dec 30, 2013
Messages
33
Reaction score
8
First Language
Spanish
Primarily Uses
Fantastic plugin!!!!!! This is what I was looking for!!!! Thanks a lot!!!! :) :) :)

One question:

On the OrangeHUDLine.js  is it possible to set the coordenates to a variable? that way I can set the position of the numbers through events and change them dinamically ingame without having to make tons of "OrangeHUDLines.js"'s
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ
Fantastic plugin!!!!!! This is what I was looking for!!!! Thanks a lot!!!! :) :) :)

One question:

On the OrangeHUDLine.js  is it possible to set the coordenates to a variable? that way I can set the position of the numbers through events and change them dinamically ingame without having to make tons of "OrangeHUDLines.js"'s
Yup, I'll add a new param for that.
 

Coldwilson

Villager
Member
Joined
Oct 23, 2015
Messages
6
Reaction score
4
First Language
English
Sorry to be dumb.

I can't figure out how to get an image displaying.  So for a file called, say "icon.png", I assume the image goes into /img/pictures?   I've then assumed I just enter "icon" as the filename?

Thanks
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ
Sorry to be dumb.


I can't figure out how to get an image displaying.  So for a file called, say "icon.png", I assume the image goes into /img/pictures?   I've then assumed I just enter "icon" as the filename?


Thanks
If you're using the FixedPicture add-on, that is correct.
 

Coldwilson

Villager
Member
Joined
Oct 23, 2015
Messages
6
Reaction score
4
First Language
English
Yes I was.  It didn't display anything though.  I'll keep trying things
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ
Yes I was.  It didn't display anything though.  I'll keep trying things
Did you set a switchId to either the hud or the picture?
 

Coldwilson

Villager
Member
Joined
Oct 23, 2015
Messages
6
Reaction score
4
First Language
English
I'd left it set at the default 0 - should it always be linked to a control switch of 1 or above?    I got it working somehow using the variable method and then the fixed version also started working.  I've now gone back to the only the fixed hud version on, setup the control switch to an event and linked that control switch to the fixed image hud and it's working fine. 

Thanks
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ
I'd left it set at the default 0 - should it always be linked to a control switch of 1 or above?    I got it working somehow using the variable method and then the fixed version also started working.  I've now gone back to the only the fixed hud version on, setup the control switch to an event and linked that control switch to the fixed image hud and it's working fine. 


Thanks
If the switchId is 0, it should always display the picture. I'll check if there's any bug on my side.
 

NeoAmon

Villager
Member
Joined
Nov 3, 2015
Messages
6
Reaction score
0
First Language
English
Great script!

Question/Request: Is there any way to have the option to leave the HUD up during battles?
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,602
Reaction score
3,831
First Language
Java's Crypt
Primarily Uses
RMMZ
I've added a new line type: OrangeHudDate.js
 

Nick_Cat

Warper
Member
Joined
Oct 27, 2015
Messages
1
Reaction score
1
First Language
English
I don't know if this is an error on my end but whenever the screen fades to black, the HUD displays on top of the fade. Is there anyway to have it fade with everything else? (Sorry if this is something obvious that I've missed.)
 

Latest Threads

Latest Posts

Latest Profile Posts

Time to add the support for import/export default RMXP maps. Maybe there will be customized tileset support later. In theory, I can reimplement the entire RMXP inside this RMXP-made game to make more RMXP games. :kaojoy:RMXPFORMATSUPPORT.jpg
Gonna make a story driven game someday in RPG Maker about this diseased character in my head. Will keep you posted, although I was warned by the authorities that posting too much would be considered 'spamming' so I WON'T SPAM. It'll be before I go in anyways. It's gonna be messed up but it won't be explicitly pornographic so don't worry, I'll give all the content warnings. :barf::barf::barf:
If you're a RM plugin developer, and you're reading this...

Thank you. You're awesome. Even if I haven't used your plugin, your work is appreciated.
Ami
tomorrow is the finale of my Endurance

Forum statistics

Threads
111,265
Messages
1,059,708
Members
144,553
Latest member
Peterz1544
Top