So I want to say I've seen a progress bar that hovered over the unit stats portion of the UI, and I'd like to know how to add one. I don't mean to say this progress bar was one that blocked out the unit stats entirely, like usual progress bars, but one that was added to it, below the unit's name.
Basically, I want an Xp bar, attached to the unit in the stats area (the bottom center of the usual screen) that acts like an xp bar but without covering up a secondary weapon.
Thanks in advance for any help, feel free to post questions for more clarification.
Rollback Post to RevisionRollBack
Starcraft2 mapping is an art. It is inspired by the soul and crafted from within and brought out, but not all artists have the skills to create it, which is why I need data/trigger editors. Come find me if you want to be part of something great.
From what I can tell, you want an UI modification. You will need to get into the InfoPane layouts and append your bar there. Eventually you will hook it with the trigger fucntion calld like that and then update it on request.
I wanted to remove the actual xp bar because it removed the icon for the second weapon attached to the unit. It would be a big burden for players to not be able to check those stats.
I was hoping I could have a bar above where it states the current level of the unit (because I have that already updating). I see a bunch of status bars, including health, energy, shield, progress, custom, ect ect, and I was hoping to use those to create it either above the unit or by the level text.
Would a layout file actually add it? I mean it's already there isn't it. The layout file would only display the information in a different way right?
As of right now, I resorted to using a dialog overlapping the level text that fills up as a unit gains experience.
So, this is sorta solved, feel free to post any answers to my questions for future reference. Thanks for the support.
Rollback Post to RevisionRollBack
Starcraft2 mapping is an art. It is inspired by the soul and crafted from within and brought out, but not all artists have the skills to create it, which is why I need data/trigger editors. Come find me if you want to be part of something great.
So I want to say I've seen a progress bar that hovered over the unit stats portion of the UI, and I'd like to know how to add one. I don't mean to say this progress bar was one that blocked out the unit stats entirely, like usual progress bars, but one that was added to it, below the unit's name.
Basically, I want an Xp bar, attached to the unit in the stats area (the bottom center of the usual screen) that acts like an xp bar but without covering up a secondary weapon.
Thanks in advance for any help, feel free to post questions for more clarification.
From what I can tell, you want an UI modification. You will need to get into the InfoPane layouts and append your bar there. Eventually you will hook it with the trigger fucntion calld like that and then update it on request.
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
@TMMagic: Go
There are numerous ways to create the progress bar.
If you want it to display experience, that bar already exists in the unit info panel, so I don't know why you would want another.
If you want it to display something else, then you can create it via trigger or layout file.
The main thing to know is that it will have to be updated via trigger, unless it's just another experience bar.
I wanted to remove the actual xp bar because it removed the icon for the second weapon attached to the unit. It would be a big burden for players to not be able to check those stats.
I was hoping I could have a bar above where it states the current level of the unit (because I have that already updating). I see a bunch of status bars, including health, energy, shield, progress, custom, ect ect, and I was hoping to use those to create it either above the unit or by the level text.
Would a layout file actually add it? I mean it's already there isn't it. The layout file would only display the information in a different way right?
As of right now, I resorted to using a dialog overlapping the level text that fills up as a unit gains experience.
So, this is sorta solved, feel free to post any answers to my questions for future reference. Thanks for the support.
Unit actors can now use a custom UI layout eg the hots campaign hero health bars.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg