Modelpack Loadingbars // Tallybars // w/e Bars

Hatebreeder

So many apples
Reaction score
380
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

HPBAR.jpg

ManaBar.jpg

GreenBar.jpg

PurpleBar.jpg

YellowBar.jpg

NEW Bars
NewBarInGame.jpg
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

  • LoadingBars.zip
    7.5 KB · Views: 871
  • LoadingBarsNew.zip
    8.2 KB · Views: 1,076

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

probably I'll remake my Casting Bar System :)

FullLoad.jpg

InGameLoad.jpg


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
380
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
380
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
380
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?
BarsRemade.jpg
 

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,462
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
380
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.
NewBarInGame.jpg
 

13lade619

is now a game developer :)
Reaction score
399
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

  • Untitled-1.png
    Untitled-1.png
    162.3 KB · Views: 791
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    I ordered like five blocks for 15 dollars. They're just little aluminum blocks with holes drilled into them
  • Varine Varine:
    They are pretty much disposable. I have shitty nozzles though, and I don't think these were designed for how hot I've run them
  • Varine Varine:
    I tried to extract it but the thing is pretty stuck. Idk what else I can use this for
  • Varine Varine:
    I'll throw it into my scrap stuff box, I'm sure can be used for something
  • Varine Varine:
    I have spare parts for like, everything BUT that block lol. Oh well, I'll print this shit next week I guess. Hopefully it fits
  • Varine Varine:
    I see that, despite your insistence to the contrary, we are becoming a recipe website
  • Varine Varine:
    Which is unique I guess.
  • The Helper The Helper:
    Actually I was just playing with having some kind of mention of the food forum and recipes on the main page to test and see if it would engage some of those people to post something. It is just weird to get so much traffic and no engagement
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air

      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