Modelpack Loadingbars // Tallybars // w/e Bars

Hatebreeder

So many apples
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!!
Cool... Need to see ingame how is... probably better then Magos...

probably I'll remake my Casting Bar System :)
 

Hatebreeder

So many apples
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
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
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
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!!
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
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
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 :)
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
  • Varine Varine:
    I hope you're staying warm! Apparently the supply is coming up so hopefully we can get back to normal power soon, mine has been on for six hours now.
  • M Mulciberxp:
    My power has been off most of the last 2 days. We had a generator installed 3 years ago though, so we're staying warm. Water is another issue...
  • The Helper The Helper:
    Where I live has a pool so we are using that to get water to flush the toilets. We have enough bottled water to drink and brush teeth and stuff but it has been a few days and no shower though....
  • Varine Varine:
    I had some water in gallon jugs, and got our water back on yesterday. We don't seem to have any leaks, but I haven't crawled down there to look yet.
  • The Helper The Helper:
    still no water I cannot remember when I last showered now I know how they felt in the old west lol
  • Varine Varine:
    My poor plants are happy, they aren
  • Varine Varine:
    aren't used to going this long without water or lights or normal heat. I think a couple of them froze, but they look like they'll make it
  • Varine Varine:
    Well one of them is pretty rough but I think it was sick to begin with, that one always had some problems.
  • jonas jonas:
  • jonas jonas:
    ???
  • Ghan Ghan:
    That is such a Texas thing to say lol
  • midnight8 midnight8:
    a positive could come out of this. So many people trapped at home could put a dent in the covid numbers in Texas
  • Varine Varine:
    That dude, Tom Boyd, is really upset about the backlash from his "it's your fault you're freezing" thing because he claims he resigned before saying it, so it wasn't like he said it in his official capacity or anything.
  • jonas jonas:
    Almost as if he was saying "screw you guys, I'm going home"
  • Varine Varine:
    I'm fairly new here still but that seems to be the analogous message by several of our politicians.
  • vypur85 vypur85:
    Nobody?
  • jonas jonas:
    Hi vypur85, long time no see
  • tom_mai78101 tom_mai78101:
    Hi vypur85, long time no see.
  • The Helper The Helper:
    We are all somebody
  • Varine Varine:
    I kinda like being nobody tho.
  • The Helper The Helper:
    Voting for the NUON Controller Contest is open in the NUON-Dome NUON forum
  • vypur85 vypur85:
    Yeaaa! It's been a year since my last chat posting. Not that I chat a lot anyways.
  • vypur85 vypur85:
    Hope everyone is safe and sound throughout the pandemic.
  • The Helper The Helper:
    I think most of us that post here spend more time behind the computer then in places that we would catch coronavirus :)

    Members online

    Affiliates

    Hive Workshop NUON Dome
    Top