[XP] Custom Blizz-ABS HUD

Started by winkio, November 23, 2008, 02:38:38 pm

Previous topic - Next topic

Eternal

straight up, i haven't read more than 5 of the comments, but would this be usable without Blizz ABS? For my new(est...) project, i'm thinking of (for once...) not using blizz abs, and this HUD quite frankly rocks.

Also, would it be possible to perhaps turn off everything except the pictures and health bars (why do i have a feeling it's answered in the first post...?)?


-Peace out

legacyblade

I'm going to step out on a limb here and say no. It makes use of several classes added by blizzABS and just wouldn't work without it. But hey, maybe I'm wrong :P

winkio

yeah, this is built off of Blizz-ABS, so it won't work with anything else without a decent amount of modifications.

To turn off everything except the top part, you are supposed to be able to just set the hud, hotkeys, and minimap variables to off and the parhud to on, but if I remember correctly, I made a mistake coding that little part (this was my first custom hud), so I will put up a fixed version in a day or two.

Eternal

well expect this to be in pretty much all of my blizz abs games from now on.

kinda embarrasing i didn't notice it earlier actually..

ShinyToyGuns

February 15, 2010, 07:51:37 am #104 Last Edit: February 15, 2010, 08:25:39 am by ShinyToyGuns
I've encountered a problem with this, and I don't know if it's something I'm doing wrong or what, but if I start the game with no actors, it gives a Blizz-ABS error.

The exact error is this:



And we all know that if you divide by zero, the space-time continuum gets all screwed up. :P

Please help me. I do not want the space-time continuum to be destroyed just yet ;)

PS ~ Here's my script order:
Spoiler: ShowHide
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

Landith

February 15, 2010, 08:32:43 am #105 Last Edit: February 15, 2010, 08:34:27 am by Landith
You could maybe add this line after it:

unless @psize = 0

Which will make it not return if there is no one in the party. But that might cause other issues.

But that might cause other problems with the script, idk...
(been like 6 months since I've scripted HUDs)

Might be a temp fix until Winkio gets on and finds out how to fix it.

ShinyToyGuns

February 15, 2010, 08:38:04 am #106 Last Edit: February 15, 2010, 08:40:23 am by ShinyToyGuns
That brings up a syntax error before I can even get to the title screen:
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

winkio

I'll fix it later, but for now, you can just turn off the hud until you have a party.

ShinyToyGuns

This is gonna sound stupid, but how do I turn off the hud?
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

winkio


ShinyToyGuns

Ok, I guess I'll just disable it until you can fix it :)
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

winkio

Why do you even need the HUD on with an empty party?  Just curious

Landith

Oh oops :huh:
Oh well I tried to help :^_^':

element

I really like to see the first 2 screenshots but I only see a red X
I do see the other 2  :^_^':

ShinyToyGuns

Quote from: winkio on February 15, 2010, 05:19:35 pm
Why do you even need the HUD on with an empty party?  Just curious

It's only an empty party at the start of the game...The player gets to choose their race/class, and then they're assigned a character based on that. I want a good looking HUD (which is why I want this fixed) once they choose a character, but atm, only the title screen loads...once you choose "New Game" with this script in the database, it gives an error. :(
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

winkio

Oh, if you just want it off at the start of the game, find this part near the top:

  def initialize
    @parhud = true
    initialize_parhud_later
  end

and change it to this:

  def initialize
    @parhud = false
    initialize_parhud_later
    @hud = false
  end

Then you can turn it on again at will.

ShinyToyGuns

Oh wow...I feel pretty stupid now  :^_^':
Thanks for the help :)
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

Alton Wyte

Don't feel stupid for not knowing that, there's not way you could have. By the way, great job winkio! If my current game was using Blizz-ABS, I would definately use it. Buut the side-view fits my game. Maybe next time I will.

Metaron

Hey, I get a small error when turning CENTER_DISPLAY =  false and adding 4 members into the party, this error shows up:



It works fine when center display is set to true.

Memor-X

i'm getting a bit of a problem with the hud, my problem is kinda unique cause i doun't think any would be doing the same as me

in my game, when it starts it goes though a loading screen then it runs a Scene_Title script which override the original so instead of the menu i start with a map, anyway, before i added this hud (so i was using the original Hud in Blizz-ABS) i had script call in the Scene_Title override that hid the hud (because there is a player on the map but they have no sprite), that worked, when i added this hud in, when i started the game the character that was on the map, their hud showed up, what's strange is that the gold/exp part of the hud didn't, i enabled the hud key and pressed it during the cutscene i have on that map, the gold/exp display showed up, when i pressed it again, the whole hud disappeared.

to simplify that, i'm getting the character hp/sp part of the hud when it's supposed to be hidden, here's a screenshot
Spoiler: ShowHide

see what i mean, i get the gold/exp part if i remove the the $game_system.hud = false line but when it's in there i get what's above, any idea how to get rid of it?