Very Simple Hud

kwanzaabot

Veteran
Veteran
Joined
Apr 6, 2012
Messages
72
Reaction score
14
First Language
English
Primarily Uses
I've got a couple of questions about this script, which hopefully you'll be able to help me with! :)

1. How do I change the colour of the TP gauge? No matter what I try, it stays that dull black colour.

2. How do I get rid of the window? I just want to show the HP/MP/etc gauges themselves just hanging in the air.
 

Rapu

One foot in grave, the other in hell.
Member
Joined
Mar 13, 2012
Messages
46
Reaction score
6
First Language
Finnish
Primarily Uses
Is there a way to have the HUD only show up when specific button is pushed? I have played around with the button push condition to no luck. Sorry I horrible with scripting.
Yes there is a way. First you'll need to configure the switch ID from the script, by default it's 1. Then go to the Common Events.Make a new Common Event and make it Parallel Process, choose another switch that activates this Common Event. You need to activate this somewhere in your game to trigger the common event, otherwise this doesn't work. After that create a new Conditional Branch and choose "Script" (fourth tab) and use this script



Code:
Input.trigger?(Input::A)
Input::A is Shift on your keyboard. Tick off the "Set handling when conditions doesn't apply". Note: If you use While button is pressed in Conditional Branch, it doesn't work. You don't want it to enable and disable the HUD rapidly while the button is being pressed. That's why you need to use this script I provided.

Make an another Conditional Branch inside the Conditional Branch. This time choose, when switch is ON. Use your HUD switch you configured earlier, by default it's 1. Make sure you enable "Set handling when conditions doesn't apply". When the switch is ON, put there to turn the switch OFF. And "Else" spot, Switch OFF.

Your Common Event should look like this:

 

lilcooldude69

Veteran
Veteran
Joined
Mar 18, 2012
Messages
33
Reaction score
4
First Language
English
Primarily Uses
@kwanzaabot,

if you want to change the color of the tp gauge, you'll need to make a new definition for it and pick the color of the gauge, look at window_base under draw tp gauge.

as for a blank window, i'm not exactly sure how you would do that, you could make a blank image and use that, but i wouldnt know how to call upon it and incoporate it into the hud.
 

pixel justice

Warper
Member
Joined
Aug 16, 2012
Messages
3
Reaction score
0
First Language
english
Primarily Uses
Hey, I'm really new to scripting in vx Ace, so I was wondering if it would be hard to make the HUD not show the character Level. I want the characters name longer than four characters and it starts to overlap. Awesome HUD though :D i'm using it right now and it looks great
 
Joined
Mar 14, 2012
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Great job on this! I did some editing to it to make it work for my game, but I'll definitely be giving you credit. Would it be ok for me to post my changes to the script on this thread just in case someone wants to use them as long as I give you the credit. I basically changed the window so that it resizes the portrait to half size and puts the player's gold and hp and mp bars to the right of the portrait rather than on top of it. The only problem I have is that when I switch the main party leader the script doesn't update the info and portrait right away. I have to open the menu and close it again before it updates it. Here's a screen of the new look along with Syvkal's Menu Bars.

 

Seacliff

RPG Maker Mastermind
Veteran
Joined
Nov 8, 2012
Messages
2,978
Reaction score
1,127
First Language
Yes
Primarily Uses
RM2k
I was looking for something like this, awesome script!
 

UchihaAkuma

Warper
Member
Joined
Dec 18, 2012
Messages
1
Reaction score
0
First Language
Danish
Primarily Uses
Make a new Common Event and make it Parallel Process, choose another switch that activates this Common Event. You need to activate this somewhere in your game to trigger the common event, otherwise this doesn't work. After that create a new Conditional Branch and choose "Script" (fourth tab) and use this script



Code:
Input.trigger?(Input::A)
Input::A is Shift on your keyboard. Tick off the "Set handling when conditions doesn't apply". Note: If you use While button is pressed in Conditional Branch, it doesn't work. You don't want it to enable and disable the HUD rapidly while the button is being pressed. That's why you need to use this script I provided.
Thanks so much! But is it possible to make it another button then shift? like "a" that you dont already use for somthing? ^^ if so can you tell the input for that? ^^
 

VUSschneider

Warper
Member
Joined
Apr 14, 2013
Messages
3
Reaction score
0
Primarily Uses
Hi,

i`m new in scripting. Your script is showed one lined here.

Where have i split the lines to get it work? I tried it but there are several errors!
 

lilcooldude69

Veteran
Veteran
Joined
Mar 18, 2012
Messages
33
Reaction score
4
First Language
English
Primarily Uses
wooow been a long time since i been here didn't know my simple script was soo popular XD!,


@pixel justice, its been a while since ive scripted but i'll give it a try, u probably won't see this tho xD!


@outlandish-artist, glad you love it man :D , and thank you for crediting me <3 tho i don't require it for non-commercial. your game looks great!.


@Seacliff, ty :) , glad you enjoy it.


@VUSschneider, i have no idea what your asking XD! or telling for that matter...


Edit: @VUSschneider, hey i got rid of the codebox/spoiler because i figured out what u were asking XD, should be able to look at it now
 
Last edited by a moderator:

VUSschneider

Warper
Member
Joined
Apr 14, 2013
Messages
3
Reaction score
0
Primarily Uses
Yeah! Thanks a lot ^^

And yes! It`s a very good script and it IS very popular!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Nothing better than commissioning art and it turns out like 500% better than you could ever have imagined!
Today we reveal new plugins and tools!
Ugh. Some days you're the car... and some days you're the road.
Highly opinionated world-building mapping
Working on an audio engine plugin for MZ! Check this out with your sound on (preferably stereo sound too). Multiple BGM and BGS channels and spatial audio (volume and panning)!

Forum statistics

Threads
103,150
Messages
997,654
Members
134,627
Latest member
LaurenzTheZero
Top