Modelpack Loadingbars // Tallybars // w/e Bars

Hatebreeder

So many apples
Reaction score
381
So, someone asked me to make a bar to display on top of a unit.
So, I made one for him.

Old Bar Functions
It works like this: Every 5% of the bar has an animation ( 22 "loading" animations in total), along with a birth and a death animation.
You have to use: [ljass] call SetUnitAnimationByIndex( YourDummyUnit, AnimationIndex) [/ljass] to adjust the loadingbar.
However, I don't know the animation index, so you'd have to test for yourself ( I'm thinking that 1 - 22 are the load animations ( 22 loads the bar from 0% to 100% ), 0 being birth, and 23 death) since I'm not too sure about that.

New Bar functions
Unlike the "Old Bars", the New Bars are set up differently. They move from left to right and have one additional animation ( from 0% - 100%, every 5% are animations ). Use : [ljass] call SetUnitAnimationByIndex( YourDummyUnit, AnimationIndex) [/ljass] to adjust the loadingbar.

This pack comes with a Green, Blue, Yellow, Red and Purple loading Bar.

OLD Bars






NEW Bars
So yeah, you can now make spells that CHARGE YOUR LAZOWR. Just kidding, do whatever you want with it ;) Just don't forget to use it in contraction with a dummy instead of using it as a special effect since you have to alter the animations ;)

Comments?

Have fun with it ! =P
 

Attachments

Laiev

Hey Listen!!
Reaction score
187
Cool... Need to see ingame how is... probably better then Magos...

probably I'll remake my Casting Bar System :)
 

Hatebreeder

So many apples
Reaction score
381
Cool... Need to see ingame how is... probably better then Magos...

probably I'll remake my Casting Bar System :)



Maybe it has to be a bit higher =P
But I havn't tried to attach it on a unit yet =P

Well, for now you could adjust Unit Fly height =)
 

Hatebreeder

So many apples
Reaction score
381
height can be changed with the object editor.

is there a way to place these below a unit instead of above?
(i'm thinking having a y offset on the trigger...)
You could. However, depending on where your unit is facing, the bar is either in front, or behind that unit.

So, best would be to keep the bars on top.

EDIT: Try doing: [ljass] call SetUnitPosition( YourDummyUnit, X, Y +/- ~50) [/ljass]

If that doesn't work for you, then you'd have to do it with polar projection.
 

Hatebreeder

So many apples
Reaction score
381
well i made it look ok now. didnt see your code earlier

just a question: is the left flame always behind the bar? it looks funny.
Shouldn't be o_O

Because it's all on one plane :eek:
I'll take a look at it, wait a second.

EDIT: Changed Priority Planes. Shouldn't be behind the bar anymore.
Re-uploaded the Pack =)

EDIT: Hmmm... I know whats wrong with it. Somehow, additive and blending effects don't like each other :eek:
I'll see what I can do about that =/

EDIT: Fixed the issues =)
Will re-upload in a minute =P
 

Hatebreeder

So many apples
Reaction score
381
I dont know but the priority planes are really messed up in my end..

the fills keep jittering from being in front and behind the frames.

is it because i scaled the unit down?
Nah, I fixed the problem now =)
Also re-uploaded it =P

It doesn't jitter anymore and the particles are in place =)

EDIT: see?
 

Laiev

Hey Listen!!
Reaction score
187
the only thing that I dislike is the animation... it move the start and the end of the bar both to the center :/
 

Accname

2D-Graphics enthusiast
Reaction score
1,456
this is definitely the most useful custom model i have ever seen. i think it should be stickied for incredible usefulness.
 

Hatebreeder

So many apples
Reaction score
381
yes i did.

Just a working ingame screenshot of the newbars will prove that something's wrong on my part :).
Hmmm... Weird enough, that it doesn't show up o_O

It works with the other Texture though =/

Wait, I'll re-do the texture with in-game textures. I'll remove the New Pack for now.

EDIT: Ok, I have adjusted everything and tested it in-game.
Updated first Post.
 

13lade619

is now a game developer :)
Reaction score
398
Awesome.

Now they now look exactly like the ones I had before.
It's nice that you made these easier for all.

this is definitely the most useful custom model i have ever seen. i think it should be stickied for incredible usefulness.
QFT.
 

Attachments

General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    That sounds like fun!
    +1
  • The Helper The Helper:
    it was a blast!
  • The Helper The Helper:
    I am going to post the Youtube of the investigation in the forums when it is ready
    +1
  • jonas jonas:
    cool!
  • vypur85 vypur85:
    Sounds cool TH.
  • tom_mai78101 tom_mai78101:
    I was on a Legend of Zelda marathon...
  • tom_mai78101 tom_mai78101:
    Am still doing it now
    +1
  • jonas jonas:
    which one(s) are you playing?
  • jonas jonas:
    I played a little bit of the switch title two weeks ago and found it quite boring
  • The Helper The Helper:
    just got back from San Antonio this weekend had the best Buffalo Chicken Cheesesteak sandwhich in Universal City, TX - place was called Yous Guys freaking awesome! Hope everyone had a fantastic weekend!
    +1
  • The Helper The Helper:
    Happy Tuesday!
  • The Helper The Helper:
    We have been getting crazy numbers reported by the forum of people online the bots are going crazy on us I think it is AI training bots going at it at least that is what it looks like to me.
  • The Helper The Helper:
    Most legit traffic is tracked on multiple Analytics and we have Cloud Flare setup to block a ton of stuff but still there is large amount of bots that seem to escape detection and show up in the user list of the forum. I have been watching this bullshit for a year and still cannot figure it out it is drving me crazy lol.
    +1
  • Ghan Ghan:
    Beep boop
    +1
  • The Helper The Helper:
    hears robot sounds while 250 bots are on the forum lol
  • The Helper The Helper:
    Happy Saturday!
    +1
  • The Helper The Helper:
    and then it was Thursday...
    +2
  • tom_mai78101 tom_mai78101:
    And then Monday
    +1
  • The Helper The Helper:
    I got the day off today!
    +1
  • tom_mai78101 tom_mai78101:
    How...? (T-T)
  • The Helper The Helper:
    I took the day off. I work for myself so I can do that.
    +1
  • Varine Varine:
    Well I'm already over summer
  • jonas jonas:
    varine! good to see you
  • jonas jonas:
    what's going on, what's got you going
  • The Helper The Helper:
    good to see you varine hope you are well my friend

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top