I have a veterancy behavior, and since the level is determined by the other game conditions rather than by slowly accumulating Experience points, I see no point in keeping the level progress bar (it's also quite bulky). If I switch on the Flag: Hidden it does however hide the level as well. Is there a way to keep the level as a small subtitle and get rid of the progress bar?
Using the Unit subtitle field, for example, would do the trick. However, while being able to modify the Unit name through Veterancy data, I cannot seem to be able to do the same with the subtitle. I am aware I can do this via triggers, but I'd rather avoid it and have a data approach if that's possible.
Basically there is no point for me to keep the bar because you never really get XP, but you get levels, so the bar doesn't quite make sense (it's gonna be always empty, except for the last level, in which it is going to be full). That's why I wanted to get rid of it.
Use the trigger action "Hookup Standard Dialog Item" with a path of "UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneHero/ExperienceBar" and a type of "Progress Bar". Then use "Last Created Dialog Item" to get the bar as a dialog item. As a dialog item, try setting it to hidden for all players.
There's a possibility that hiding it will also hide the level label, I don't know. If that's the case, then try fading the transparency to 100%.
Hookup Standard Dialog Item (Progress Bar) called "UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneHero/ExperienceBar"
Hide (Last Created Dialog Item) for All Players
It didn't hide anything though.
However, I understand that a data-alone approach is not possible. I worked that around now by hiding the progress bar completely via Data, and Setting the Info Text via Triggers on level up (though it would be interesting to know if anybody knows what the Subtip is).
I have a veterancy behavior, and since the level is determined by the other game conditions rather than by slowly accumulating Experience points, I see no point in keeping the level progress bar (it's also quite bulky). If I switch on the Flag: Hidden it does however hide the level as well. Is there a way to keep the level as a small subtitle and get rid of the progress bar?
Using the Unit subtitle field, for example, would do the trick. However, while being able to modify the Unit name through Veterancy data, I cannot seem to be able to do the same with the subtitle. I am aware I can do this via triggers, but I'd rather avoid it and have a data approach if that's possible.
You want the best of both worlds.
Just use a trigger system to give the exp and keep the data based bar. You can adjust the gains under the behaviour and the gameplay constants.
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
Basically there is no point for me to keep the bar because you never really get XP, but you get levels, so the bar doesn't quite make sense (it's gonna be always empty, except for the last level, in which it is going to be full). That's why I wanted to get rid of it.
@sunyatasattva: Go
Try this:
Use the trigger action "Hookup Standard Dialog Item" with a path of "UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneHero/ExperienceBar" and a type of "Progress Bar". Then use "Last Created Dialog Item" to get the bar as a dialog item. As a dialog item, try setting it to hidden for all players.
There's a possibility that hiding it will also hide the level label, I don't know. If that's the case, then try fading the transparency to 100%.
If that doesn't work, let me know.
@MasterWrath: Go
I tried this:
Hookup Standard Dialog Item (Progress Bar) called "UIContainer/ConsoleUIContainer/InfoPanel/InfoPaneHero/ExperienceBar"
Hide (Last Created Dialog Item) for All Players
It didn't hide anything though.
However, I understand that a data-alone approach is not possible. I worked that around now by hiding the progress bar completely via Data, and Setting the Info Text via Triggers on level up (though it would be interesting to know if anybody knows what the Subtip is).
Thank you a lot for your suggestions!