Greetings, members of the SC2Mapster! Once again, I've come to ask a question - Is it Possible:
: To Make Life/Shields of Units Without the Use of Invulnerability?
What I mean is simple. Normally, if you want to make the life/shields of units invisible - all you have to do is simply enable "Invulnerable" in their unit flags. However, if you were to create a map where there are hundreds of different units with different abilities - doing this is simply... Impossible. It's just too much work especially if you don't have any other developers working with you.
One of the biggest traits of my project - The Viacre was that you were not able to see the exact life/shields of units. They were all invulnerable. However, this was possible since there were not that many units to modify in the map. This time, though - Chapter 02 has WAY more different units. A player will be able to control more than 144 different units at a time - with no Blizzard units counted. If you add Blizzard-made units to this, the player will probably see and fight with hundreds of different units. And if I were to modify these units - the map will break even before its out due to the patches of Blizzard. So... I really wanted to know if had to give up on this feature or not.
So, is it possible to... Make unit's life/shield disappear without the usage of "Invulnerability?"
Example of this feature is attached as a screenshot.
Thanks again for the reply! But I didn't mean Status Bars, but the life/shields itself. When a unit becomes Invulnerable, its life/shields becomes completely invisible. I wanted to know if this is possible without the usage of Invulnerability. But thanks for the Behavior: Modification - State Flags tip! Maybe I could use it if there are no answers to this.
Attachment Screenshots shows more examples of this "Invisible Life/Shields"
As you can see, life/shields of invulnerable units are completely invisible, although their Status Bars are visible.
Hi~! Thanks for your answer. Hmm.... It's good if it's hidden for all units 100% all the time. However, I won't mind making specific unit's life/shields invisible.
Greetings, members of the SC2Mapster! Once again, I've come to ask a question - Is it Possible:
: To Make Life/Shields of Units Without the Use of Invulnerability?
What I mean is simple. Normally, if you want to make the life/shields of units invisible - all you have to do is simply enable "Invulnerable" in their unit flags. However, if you were to create a map where there are hundreds of different units with different abilities - doing this is simply... Impossible. It's just too much work especially if you don't have any other developers working with you.
One of the biggest traits of my project - The Viacre was that you were not able to see the exact life/shields of units. They were all invulnerable. However, this was possible since there were not that many units to modify in the map. This time, though - Chapter 02 has WAY more different units. A player will be able to control more than 144 different units at a time - with no Blizzard units counted. If you add Blizzard-made units to this, the player will probably see and fight with hundreds of different units. And if I were to modify these units - the map will break even before its out due to the patches of Blizzard. So... I really wanted to know if had to give up on this feature or not.
So, is it possible to... Make unit's life/shield disappear without the usage of "Invulnerability?"
Example of this feature is attached as a screenshot.
Try the UI: Status Bar Flags field under the Unit type actor for the units.
You can also apply the invulnerability flag using a Buff behaviour under the Behavior: Modification - State Flags field.
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
In reply to DrSuperEvil:
So not the life/shield bars above the unit?
You need custom UI then.
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
Does the life label need to be hidden for some units but not others? Or do you want it hidden for all units 100% of the time?
In reply to DrSuperEvil:
In reply to Prodigy454:
Make a new layout in the UI editor put this code in. It will hide all units life,shield, energy labels.
In reply to Prodigy454: