lilcooldude69

Very Simple Hud

10 posts in this topic

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.

Share this post


Link to post
Share on other sites

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

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:

5T5Dy.png

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

screenshotrpgs008.png

Share this post


Link to post
Share on other sites

I was looking for something like this, awesome script!

Share this post


Link to post
Share on other sites

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

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? ^^

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Edited by lilcooldude69

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now