as some of you may have noticed while playing the Campaign, Hero Units have a custom Status Bar, called 'KerriganHeroUnitStatusFrameTemplate', found in the Actor settings of the Hero.
Now, I have been playing around with it and noticed that when you add shields to the Hero via a behavior (like Tosh's Psi Shield), then the Status Bar changes slightly and "tries" to display both the Life and Shield Points of the Hero in one bar, but there is no actual 'bar' for the shields.
I've tried looking into the Template in the UI-Editor to figure out why this certain thing is missing, but god, I have no idea where to start. So, does anyone know if there is a way to fix this?
The issue you are having has to do with the status health bar when the shield and health bar merge its because of the UnitStatusShieldedHealthBar as of right now there is no way to get just a shield bar to my knowledge you can find some example maps Here
as for the bar texture not being shown there i havent been able to figure that out
UnitStatusBar - for a generic one
UnitStatusHealthBar - for the health bar
UnitStatusEnergyBar - for the energy bar
UnitStatusShieldedHealthBar - for a combination of the health and shield bar
thank you for your assistance. I have managed to find these entries. Now, I don't intend to hide the Life Bar when Shields shall be displayed. It's fine as it is now, but it would be nice to have a bar for the Shield Points, too. It seems like there is actually nothing in the UI-Files referencing Shield Points. Just the Health Bar is altered, that's all.
I wonder if it's possible to add a Shield Point component?
If you go to the bottom of the page i linked ahli634 has a map that has a working shield health bar check it out i think its probably what your looking for.
Anyone find a parameter for just a shield bar? Or is there any way to find all of the available parameters in the UI editor?
Also, I have another question. I see the UI editor reference textures that I do not know where to find, IE:
<Textureval="@UI/HealthBar"/>
Where do I find these textures?
Assets.txt in the GameData archives contains these texture links. Assets.txt of each archive adds itself to a complete one, so you might need to check every assets.txt existing to find it.
There doesn't seem to be a shieldbar. Also, I wasn't able to make a shielded health bar use the max shield value, so it remains that LoL/Dota ripoff or whoever came up with those.
I think it's safe to assume that Allstars has no hero unit that relies on shields points instead of life points because of that. So no Archon hero.
Maybe it's just bugged with the "addToTotal" or however that property is called. I couldn't make it working properly in my tests. Maybe someone can bring some more sense to it... I don't think they add properties that you shouldn't ever alter, so they should have some purpose...
Hello fellow Mappers,
as some of you may have noticed while playing the Campaign, Hero Units have a custom Status Bar, called 'KerriganHeroUnitStatusFrameTemplate', found in the Actor settings of the Hero.
Now, I have been playing around with it and noticed that when you add shields to the Hero via a behavior (like Tosh's Psi Shield), then the Status Bar changes slightly and "tries" to display both the Life and Shield Points of the Hero in one bar, but there is no actual 'bar' for the shields.
I've tried looking into the Template in the UI-Editor to figure out why this certain thing is missing, but god, I have no idea where to start. So, does anyone know if there is a way to fix this?
The issue you are having has to do with the status health bar when the shield and health bar merge its because of the UnitStatusShieldedHealthBar as of right now there is no way to get just a shield bar to my knowledge you can find some example maps Here
as for the bar texture not being shown there i havent been able to figure that out
UnitStatusBar - for a generic one
UnitStatusHealthBar - for the health bar
UnitStatusEnergyBar - for the energy bar
UnitStatusShieldedHealthBar - for a combination of the health and shield bar
@zaysite: Go
thank you for your assistance. I have managed to find these entries. Now, I don't intend to hide the Life Bar when Shields shall be displayed. It's fine as it is now, but it would be nice to have a bar for the Shield Points, too. It seems like there is actually nothing in the UI-Files referencing Shield Points. Just the Health Bar is altered, that's all.
I wonder if it's possible to add a Shield Point component?
If you go to the bottom of the page i linked ahli634 has a map that has a working shield health bar check it out i think its probably what your looking for.
what is that red stuff that comes on the screen when kerri's health is low any ideas how that is done
Anyone find a parameter for just a shield bar? Or is there any way to find all of the available parameters in the UI editor?
Also, I have another question. I see the UI editor reference textures that I do not know where to find, IE:
Where do I find these textures?
Assets.txt in the GameData archives contains these texture links. Assets.txt of each archive adds itself to a complete one, so you might need to check every assets.txt existing to find it. There doesn't seem to be a shieldbar. Also, I wasn't able to make a shielded health bar use the max shield value, so it remains that LoL/Dota ripoff or whoever came up with those. I think it's safe to assume that Allstars has no hero unit that relies on shields points instead of life points because of that. So no Archon hero. Maybe it's just bugged with the "addToTotal" or however that property is called. I couldn't make it working properly in my tests. Maybe someone can bring some more sense to it... I don't think they add properties that you shouldn't ever alter, so they should have some purpose...