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
188
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
188
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,461
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.
  • The Helper The Helper:
    nobody signs up or comments
  • The Helper The Helper:
    its crazy
  • The Helper The Helper:
    363 bots on the forum been like that for about a month this is the most bots we have ever consistently hosted
  • The Helper The Helper:
    and we are on cloud flare too right?
  • Stephen Stephen:
    Probably stupid AI garbage. It's harvesting our Nuon knowledge.
  • Stephen Stephen:
    The bots I mean.
  • The Helper The Helper:
    I suspect AI Bots as well
  • The Helper The Helper:
    Happy Saturday!!!
    +1
  • The Helper The Helper:
    I reorganized the forums somewhat but I doubt anyone would notice
  • The Helper The Helper:
    Happy Friday!
    +1
  • The Helper The Helper:
    Happy Saturday!
    +1
  • The Helper The Helper:
    The forum software says we have 554 members online now. We did not have that many unique visitors the whole day today. Too many bots and the disconnect between the forum counts and the stats.
  • Varine Varine:
    Currently it says 413 guests and 2 members
    +1
  • Varine Varine:
    Aww
  • The Helper The Helper:
    That is going to be mostly bots
  • The Helper The Helper:
    527 (members: 2, guests: 525)
  • The Helper The Helper:
    Happy Saturday!
    +1
  • V-SNES V-SNES:
    Happy Saturday!
    +1
  • The Helper The Helper:
    622 (members: 2, guests: 620)
  • The Helper The Helper:
    666 (members: 4, guests: 662) :)
    +1
  • Varine Varine:
    609 (members: 4, guests: 605)
  • The Helper The Helper:
    I was posting that last one because the 666 users online :)
    +1
  • The Helper The Helper:
    Happy Wednesday Night!
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Marathon watching The Expanse!

    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