Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,606
Reaction score
3,871
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
25
Reaction score
15
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,606
Reaction score
3,871
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
281
Reaction score
135
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,606
Reaction score
3,871
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,606
Reaction score
3,871
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,606
Reaction score
3,871
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,606
Reaction score
3,871
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,606
Reaction score
3,871
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,606
Reaction score
3,871
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

Micro rant. The worst part of working from home when you live with your family is seeing how inconsiderate they are. "Hey, you're sitting in front of your computer, that means you're not doing anything! I want to put the TV at 200 decibels!"

If I was working in the office would you still talking me like that?
It's definitely discouraging when streamers give a try-to-say-it-nicely (i.e. bad) review of your game demo. It's like jumping into a cold pool. Bad initally, but it gets better with time. And you are now more alert and see better.
Some screenshots of the pub and lodging with the beginnings of clutter taking shape
TTp8uCw.png

jtC202e.png

bSXgyVl.png

eRx9PUF.png
Backgrounds are not my strong suit... :kaodes:
DazI8jt.jpg

Just realized I forgot doing the clouds... woops
Went to get some stuff for February 10, the birthday of my favorite ink monster...
I have a little one-person party for Bendy every year, complete with the life-size plushie I made. And yes, I bake a birthday cake!

Forum statistics

Threads
118,499
Messages
1,116,417
Members
155,495
Latest member
sarberten
Top