#Overshield and Absord on Health Bar

52 messages · Page 1 of 1 (latest)

zenith berry
#

Hey guys, Im trying to get the shield bar to go to the left instead of clipping when the abosrb shield reach the end of th HP bar. Is there a way to do that ? Also is it possible to show my total health + absorb as % ? Currently its only HP based

Thanks !

slate spade
#

That is not possible by default, you'd need custom code.

#

For the "going left on full" absorb overlay I mean

#

Same for the health + absorb as a percentage of max health, but that's less work

zenith berry
#

Damn, ight. I'll try to make something else work then

#

Thanks for the response

slate spade
#

It's fine, I'm starting the PC right now. I can make it in a bit

zenith berry
#

That would be insane pog

slate spade
#

actually, how do you want the directional behaviour?

#

that it only goes backwards when health is full, or that is goes backwards from the right edge as soon as the absorb is bigger than the deficit?

zenith berry
#

I want it to go backwards from the right edge as soon as the absorb is bigger than the deficit. Technically, I would want the white bar to be where the red box is if that makes sense

slate spade
#

yeye

#

oops, forgot smth. update it.

zenith berry
#

What a GIGACHAD pog Should I be concern about this tho ?

slate spade
#

update it

#

as I said

zenith berry
#

Oh mb, did not see the msg

#

I appreciate it mate, can I send you something somewhere for this

slate spade
#

no thanks, I'm fine. I do it for fun.
if you feel like supporting something, consider doing the VIP thing for WA here on discord, or subscribing to the WA project patreon. after all the addon is the thing that makes all of this possible to begin with

zenith berry
#

Sounds good, thanks again for this man. That is really nice of you !

zenith berry
#

Yo, I do hav a question for you about this. Now that I played quite a bit with this, how hard would it be to make the bar 1/4 of my health bar when it overflow ?

slate spade
#

Sure that's possible. But I won't be at the PC for quite some time. I'll update you when I get around to it.

zenith berry
#

You're the best

zenith berry
#

There;s also a rare case like this. Where I have 100%+ of my HP in shields lmao

zenith berry
#

Yo, did you have time to check it out ? shyjj

slate spade
#

No, as I said I'd update you

#

New season, I'm busy

slate spade
#

if it's just about the shield exceeding the health bar, you can tick "clip overlays" in the display tab

zenith berry
#

Yo thanks for coming back to this. The 1/4 on height is the overshield only yeah

As for the exceeding part I did end up checking the clip overlays yeah

slate spade
#

okay, but now I'm confused. what do you want then exactly if you're fine with "clip overlays"?

zenith berry
#

Maybe Im expressing myself poorly sorry. Let me reformulate then

The absorb bar part being 150% of my hp so it now overflow on the left is fine,

What I want really is when the absorb is more than my total hp, I want it a 1\4 of the height it’s currently is so I can still see the hp bar behind it. Like the addon Cell if youve used it before

slate spade
#

ah height, I thought you wanted it 1/4 of the width in those cases

#

that can theoretically be done, but it'd be a bit hacky. if all you want is to see the underlying health bar, you can also just play around with the overlay texture (e.g. stripes instead of a solid colour) or its alpha setting in the display tab

#

would that not be fine as well?

zenith berry
#

Could work yeah but it will have the absorb where the missing hp is also 50% alpha no ?

I was also thinking of a different bar above my hp one just for shield that exceed my health pool and make the one that is in my actual hp bar clip and not overflow

#

But if this is getting to fancy or hacky, Ill slam a 50% alpha on it

slate spade
#

you can make a condition for it

#

I exposed a couple of the things the aura is concerned about as custom vars:

#

(also, I updated the aura with a little code cleanup if you care. doesn't matter for performance though)

#

err, you'd want > 200 there I guess

zenith berry
#

Oh shit nice okay Ill try that out once Im back from work 👍

slate spade
#

Ah, that's nice to see

zenith berry
#

Oh wicked

slate spade
#

I saw it requested a couple times and encouraged one of the people to raise a feature request for it

#

Cool that it's in so quickly

zenith berry
#

For real, thats awesome

slate spade
#

Just need to find the people and let em know when they can delete the aura now

vocal rune