hey guys, got a few questions (maybe noobish), i'm not rly good with ui, but realy need the custom one. So i made triggered health bars which appear when unit take damage and fade out for a few seconds if unit stop taking damage for a short period. I made this because i want control scheme of diablo mixed with dungeon siege1 where i can manage almost everything with mouse, and game will automaticaly provide all needed info, so the player doesn't have to press some additional buttons.
I wanted to make it via data & ui xml, but i didn't find option to set transparency over time for status bars, and this is kind of important for the perfection sake :)). Can someone tell me if there is an option for fading out status bar with data/ui xml? My thoughts was so unit could have some embedded actor for status bar frame and i could send message (set opacity) to it if i knew it's identifier.
The second question is if there is option to create health bar in UI XML editor that use image type of "Border"/"Horizontal Border" as it's frame&filler, i'm rly bad with XML :<. So that you can imagine what appearance i'm trying to achieve is health bars for heroes under the hero icons on hero panel in default sc2 UI. (looks more warcraftish cuz i rly hate default health bars in sc2)
right now i'm using "behavior state change" to fire the "show health bar" event. This little data workaround helps to avoid multiple events in triggers when unit takes damage, so if health bar is already visible => "display" buff is on, triggers wont register any more events related to unit damage.
So i want to ask if this is a huge hit for performance or not? I found it more convinient to create such health bars, because i can auto-scale it's width in relation to unit radius which is another "+" of this system.
Downside: What willuwontu said is correct, you will need to write a trigger to hookup the status bar and apply successive set transparency actions to give the appearance of fadeout
Upside: This will completely doable in Void, the UI in there has added extensive animation support, so elements can be blended in and out. You can see this in action in Heroes of the Storm.
yes, i decided to pause my development process, because i need to know the final set of features and tools.... rly don't wanna waste time on dead trash which i'll need to get rid of in future. Just thought i could work on trigger organization at least but seems not :(. Got my HotS beta, but haven't pay attention to this. ty.
hey guys, got a few questions (maybe noobish), i'm not rly good with ui, but realy need the custom one. So i made triggered health bars which appear when unit take damage and fade out for a few seconds if unit stop taking damage for a short period. I made this because i want control scheme of diablo mixed with dungeon siege1 where i can manage almost everything with mouse, and game will automaticaly provide all needed info, so the player doesn't have to press some additional buttons.
I wanted to make it via data & ui xml, but i didn't find option to set transparency over time for status bars, and this is kind of important for the perfection sake :)). Can someone tell me if there is an option for fading out status bar with data/ui xml? My thoughts was so unit could have some embedded actor for status bar frame and i could send message (set opacity) to it if i knew it's identifier.
The second question is if there is option to create health bar in UI XML editor that use image type of "Border"/"Horizontal Border" as it's frame&filler, i'm rly bad with XML :<. So that you can imagine what appearance i'm trying to achieve is health bars for heroes under the hero icons on hero panel in default sc2 UI. (looks more warcraftish cuz i rly hate default health bars in sc2)
right now i'm using "behavior state change" to fire the "show health bar" event. This little data workaround helps to avoid multiple events in triggers when unit takes damage, so if health bar is already visible => "display" buff is on, triggers wont register any more events related to unit damage.
So i want to ask if this is a huge hit for performance or not? I found it more convinient to create such health bars, because i can auto-scale it's width in relation to unit radius which is another "+" of this system.
You cannot fade out the status bars using the ui editor, you have to use triggers to do so.
You can set the image type to border/horizontal Border in the xml editor.
For more info on the UI editor go here
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Downside: What willuwontu said is correct, you will need to write a trigger to hookup the status bar and apply successive set transparency actions to give the appearance of fadeout
Upside: This will completely doable in Void, the UI in there has added extensive animation support, so elements can be blended in and out. You can see this in action in Heroes of the Storm.
@ArcaneDurandel: Go
yes, i decided to pause my development process, because i need to know the final set of features and tools.... rly don't wanna waste time on dead trash which i'll need to get rid of in future. Just thought i could work on trigger organization at least but seems not :(. Got my HotS beta, but haven't pay attention to this. ty.