ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
676 stars 204 forks source link

Spectator team switching resets cloak shader #3733

Open sprunk opened 4 years ago

sprunk commented 4 years ago

@Anarchid has a problem (feel free to edit the ticket):

selecting cloaked unit temporarily renders them uncloaked for me, does this happen to anyone else? i think this may be related to the thing about selecting ally units The decloak issue is what bothers me Every time it happens it looks like your cloaked unit has ran out of energy

GoogleFrog commented 4 years ago

I think the more frequently detected team change issue is the cause of this: https://github.com/ZeroK-RTS/Zero-K/issues/3730

sprunk commented 4 years ago

@Anarchid says this also happens when clicking your own unit though.

Anarchid commented 4 years ago

Or, rather, i get both the zeroing of the metal bars and the cloak shader thing when selecting units on the same team as i was previously selecting.

I haven't paid enough attention to notice if this happens in games where i'm not a spec.

sprunk commented 7 months ago

@Anarchid still happens?

GoogleFrog commented 7 months ago

This is a bit of a confusing ticket, but I have an issue which might be what is happening here. If you are spectating a team and then switch to spectating a team on the same allyTeam, the cloak shader resets so it looks like everything has decloaked. This would be nice to fix. For bonus points we could even make it so that switching between spectated allyTeams doesn't reset the shader.

Anarchid commented 7 months ago

This is a bit of a confusing ticket, but I have an issue which might be what is happening here. If you are spectating a team and then switch to spectating a team on the same allyTeam, the cloak shader resets so it looks like everything has decloaked. This would be nice to fix. For bonus points we could even make it so that switching between spectated allyTeams doesn't reset the shader.

This is the thing, yes.