I'm trying to implement a stealth mechanic that doesn't involve attack immunity by removing shadows, adding the mime attribute, and setting the units to be transparent. Unfortunately if the player has Health Bars always shown the units position is painfully obvious! I've about given up on how to accomplish this... =(
Is it possible to disable this capability (health bars)? (including the alternate -ALT- method) I'm very open to workarounds, even non-perfect ones!
Also on the same topic, anyone know how the shimmer effect of cloaked units is applied outside of adding the cloaked attribute? Is it possible to apply that to non-cloaked units? I'm still investigating this myself.
It is possible but I'm not sure if you can do it as an ability.
The health bar display is controlled in the actor for the model you use. There are a bunch of check boxes regarding status display(options are health, shields, progress, etc) in I believe the UI tab. If you uncheck those boxes, it's bye bye health bar.
I'm trying to implement a stealth mechanic that doesn't involve attack immunity by removing shadows, adding the mime attribute, and setting the units to be transparent.
I don't understand this part :/
About health bars: Yes you can remove them. Mineral fields have health too (10000), but they are invulnerable so it doesn't show that in UI, and the health bars are deactivated.
Unit -> Actor -> UI - Status Bar Flags : Uncheck Life
The point being that units which are stealthed are not immune to being attacked but can still sneak around. The player just has to notice them and manually chase/attack them. My implementation thusfar is nothing close to perfect, but its getting there.
I appreciate the help! I had looked at the actors properties but didnt have advanced options enabled and missed all this important jazz.
It was surprisingly easy. The only thing I'm missing now is cosmetic things like the cloak shimmer and players being able to select one of the stealth units. Still exploring the selection mechanisms to see if I can remove that while keeping the mouse-over highlight. I cant believe I didn't have advanced options on before /boggle.
[eidt] maybe the selection thing is more important then I initially assumed, it seems drag box auto-highlights units under it - including enemy units.
Also @ Hellyah
Thats even better! I'll give it a shot.
Hey,
I'm trying to implement a stealth mechanic that doesn't involve attack immunity by removing shadows, adding the mime attribute, and setting the units to be transparent. Unfortunately if the player has Health Bars always shown the units position is painfully obvious! I've about given up on how to accomplish this... =(
Is it possible to disable this capability (health bars)? (including the alternate -ALT- method) I'm very open to workarounds, even non-perfect ones!
Also on the same topic, anyone know how the shimmer effect of cloaked units is applied outside of adding the cloaked attribute? Is it possible to apply that to non-cloaked units? I'm still investigating this myself.
Why not just use the Cloak attribute? Only other thing I could think of would be some sort of use of "Hidden".
It is possible but I'm not sure if you can do it as an ability.
The health bar display is controlled in the actor for the model you use. There are a bunch of check boxes regarding status display(options are health, shields, progress, etc) in I believe the UI tab. If you uncheck those boxes, it's bye bye health bar.
fucking heroic <3
I don't understand this part :/
About health bars: Yes you can remove them. Mineral fields have health too (10000), but they are invulnerable so it doesn't show that in UI, and the health bars are deactivated.
Unit -> Actor -> UI - Status Bar Flags : Uncheck Life
@Vitkar: Go
The point being that units which are stealthed are not immune to being attacked but can still sneak around. The player just has to notice them and manually chase/attack them. My implementation thusfar is nothing close to perfect, but its getting there.
I appreciate the help! I had looked at the actors properties but didnt have advanced options enabled and missed all this important jazz.
So you want stealth units that are hard to see, don't get attacked by attack move and turrets, but attackable without detection. Is that right?
Sounds complicated to implement.
So let me get this sstraight? You wish to not show the Status bar? Well its simple a single action ( if u prefer Triggers then data of course )
Unit - Turn Unit Status Bar state Off
@Vitkar: Go
It was surprisingly easy. The only thing I'm missing now is cosmetic things like the cloak shimmer and players being able to select one of the stealth units. Still exploring the selection mechanisms to see if I can remove that while keeping the mouse-over highlight. I cant believe I didn't have advanced options on before /boggle.
[eidt] maybe the selection thing is more important then I initially assumed, it seems drag box auto-highlights units under it - including enemy units.
Also @ Hellyah Thats even better! I'll give it a shot.
If you can do it in data, don't do it with triggers.
Data is way more efficient!