Author Topic: [XP] Custom Blizz-ABS HUD  (Read 36577 times)

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
[XP] Custom Blizz-ABS HUD
« on: November 23, 2008, 09:38:38 PM »
Winkio's Blizz-ABS Party HUD
Authors: winkio
Version: 1.25
Type: Custom HUD Add-on
Key Term: Blizz-ABS Plugin

Introduction

This script modifies the original Blizz-ABS HUD to give more information in a different layout.

Features

  • Display up to six party member's HP and SP at once
  • Works with any max party size from 1 to 6 (NEW IN 1.10)
  • An exp bar for the character the player is controlling that shows the current level
  • HUD with money and Map Name
  • Hotkey bar at the bottom
  • Minimap scaled down to fit better
  • Option to center hp/sp displays at top
  • Now supports non-direct hotkeys and 48x48 facesets
  • Choose whether the bar and text color for hp changes or not

Screenshots

(click to show/hide)

Script

Goes below all parts of Blizz-ABS
(click to show/hide)

Instructions

Put below all parts of Blizz-ABS.  Works for up to 6 party members, and actor with ID 1 in the database should always be in the party.

Compatibility
Use Blizz-ABS 2.x

Credits and Thanks

  • me, winkio
  • Blizzard, for making the original abs and hud, and answering any of my questions.
  • RoseSkye for the bottom 2 screenshots.

Author's Notes

If you need a slight edit for your use, just ask here.
use
Code: [Select]
$game_system.parhud = false to turn off the party HUD for cutscenes.
« Last Edit: January 03, 2011, 03:09:57 AM by winkio »

Offline cstb

  • Transcended Spirit
  • ***
  • Posts: 137
  • LV: 0
  • Gender: Male
  • I'm back... With lost data and a crashed computer.
    • View Profile
Re: How much would this HUD lag?
« Reply #1 on: November 23, 2008, 10:33:47 PM »
I don't see alot of lag there :P.It might work :haha:
Chronos: Failed project due to loss of data.
Maybe I could try again...


Which Final Fantasy Character Are You?
Final Fantasy 7

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: How much would this HUD lag?
« Reply #2 on: November 24, 2008, 12:18:13 PM »
If you code it that way to extend Blizz-ABS's HUD, it should increase the lag insignificantly.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: How much would this HUD lag?
« Reply #3 on: November 24, 2008, 06:33:37 PM »
ok thanks blizz.  I actually think I might just make one exp bar, because that is really all I need because all exp in my game goes to the whole party.

Also, are you changing the HUD in 2.0?  I assume not, but if you are, I should probably wait.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: How much would this HUD lag?
« Reply #4 on: November 24, 2008, 07:37:56 PM »
No, I am not changing it. It will stay the same. I think it's pretty much the optimum that can be done.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: How much would this HUD lag?
« Reply #5 on: November 24, 2008, 08:11:12 PM »
great, then it's already most of the way done! :)

EDIT:  I've gotten the layout and everything done except the hotkey bars and the hp/sp bars.  I assume that this is changing in 2.0, but how will I be able to access the different party members' stats, and how can i keep them in order (as in, they will be the same no matter who I am controlling or do I have to make an offset)?
« Last Edit: November 25, 2008, 03:18:40 AM by winkio »

Offline Punn

  • Ethereal Devastator
  • ****
  • Posts: 493
  • LV: 9
    • View Profile
Re: How much would this HUD lag?
« Reply #6 on: November 27, 2008, 08:39:19 PM »
What if you have the option to change the image, like load from \graphic\picture, and maybe the option to show the image too.. that would be full customization.

Although I do like your HUD, but instead of the gray bar, it should be the bar (SR).
And show the faceset of the actor
« Last Edit: November 27, 2008, 08:45:38 PM by Punn »

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: How much would this HUD lag?
« Reply #7 on: November 30, 2008, 05:51:27 AM »
That HUD up there is going to be for personal use in my game.  After I make that one, I'll probably add some further customization options to it and release it publicly. 
BTW, this is done except for resizing the minimap arrows and getting info for all 4 party members at once.

I have done:

Created the top HP/SP/XP HUD for the player controlled character
Created the down-left HUD box, except for the bar #
modified the skill bar and hotkey assigning window for a new position
Resized the minimap tiles and drawing mechanisms to 5x5 instead of 8x8.

I still need to do:

Create and manage the HP/SP/XP HUD for all actors besides the player-controlled one.
resize the minimap arrows
Create multiple hotkey bars that can be cycled through.
------------------------------------------
So most of the big stuff is done.
Once my personal version is done, I'll post up a screen shot of it, and then I'll probably start trying to clean it up for everyone else.  Oh, and the multiple skill bar thing I'll probably release seperately, unless it's in BABS 2.0, just because I think it is needed.

EDIT:  Blizz, what does your cached bitmap of greenarrow and whitearrow look like?  for the minimap...
« Last Edit: November 30, 2008, 10:04:35 PM by winkio »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Custom Blizz-ABS HUD
« Reply #8 on: December 01, 2008, 04:35:36 PM »
Basically an arrow pointing in each direction. BTW, I posted a plugin that adds an EXP bar into the HUD.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Custom Blizz-ABS HUD
« Reply #9 on: December 02, 2008, 12:28:16 AM »
Don't worry, I already stole that from your old HUD  :ninja:

Now I have to recode this for 2.0 because of a few slight changes.
And I think I can manage the rest on my own now, thanks for your help.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Custom Blizz-ABS HUD
« Reply #10 on: December 02, 2008, 01:44:49 AM »
Or you can just use the plugin with the new HUD. xD
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Custom Blizz-ABS HUD
« Reply #11 on: December 02, 2008, 03:27:30 AM »
It's basically the same thing.  Except I modded mine to display the level instead of the xp.  And I redid it easily enough.  Now, to to the multiple hotkey bars...

EDIT:  Ok, how can I access the party members in a set order?

Example:  i have Four actors that I want to display in order 1,2,3,4 regardless of which one is the current leader.  do I have to make a counter variable each time I switch leaders in the caterpillar or is there an easier way to do it based on the actors' info?
« Last Edit: December 02, 2008, 07:00:43 AM by winkio »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Custom Blizz-ABS HUD
« Reply #12 on: December 02, 2008, 02:16:30 PM »
Yes. $game_party.actors is an array with all Game_Actor instances currently in the party. Simply iteratre through it. I suggest iterating with an index since you can use the index itself to calculate the drawing position. Something similar was done in Window_BattleStatus#refresh, just take a look if you're unsure what I mean.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Custom Blizz-ABS HUD
« Reply #13 on: December 03, 2008, 01:08:34 AM »
I got it.  Wow, that wasn't really so hard.  Just have to fix the offests for events on the minimap and its done!

EDIT: YAY! done.  I'll post up screenies soon...

EDIT2:  Dang, it does cause small but noticeable lag, just because it has to check each party member's hp and sp every time.  Any way to avoid that?
« Last Edit: December 03, 2008, 05:04:33 AM by winkio »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Custom Blizz-ABS HUD
« Reply #14 on: December 03, 2008, 12:45:16 PM »
Actually that is what reduces the lag as it prevents refreshing of the HUD unless the values have changed. Comparisons are really not creating any lag, trust me.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Custom Blizz-ABS HUD
« Reply #15 on: December 03, 2008, 04:09:01 PM »
yep, it was just the map I was testing in.  It works great now.

Now to fix it up for public release and customization.
« Last Edit: December 03, 2008, 04:12:14 PM by winkio »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Custom Blizz-ABS HUD
« Reply #16 on: December 03, 2008, 04:52:47 PM »
Will you post the HUD script?
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4506
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Custom Blizz-ABS HUD
« Reply #17 on: December 04, 2008, 12:27:20 AM »
Now to fix it up for public release and customization.

It's kinda messy and really will only work for my game right now.  Need to clean it up and make is usable.

EDIT: posted up screenshots of it.  The minimap jumps to a different location during the hotkey assignment part, so that's why its different in the second image.  It jumps right back after you are done.

EDIT2:  ok, i put the completed public version of the script up.  It onlly works for a max party size of 4, and they must in the the first 4 slots of the database in order.
« Last Edit: December 09, 2008, 06:21:16 AM by winkio »

Offline Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2222
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: Custom Blizz-ABS HUD
« Reply #18 on: December 09, 2008, 09:09:12 AM »
How about you apply the script template ;)
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: Custom Blizz-ABS HUD
« Reply #19 on: December 09, 2008, 09:44:17 AM »
Yeah, just apply the template to your first post and it can be database'd.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.