[TF2] disable "spawn wallhacks" for disguised enemy spies and visible teammates #1751
+8
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
the
tf_enable_glows_after_respawnfeature is intended to guide players towards their teammates, which helps keep the game more focused since it subtly encourages everyone to play closer together and prevents people from getting lost in an unfamiliar maphowever, the way this interacts with spy is extremely controversial, which is why the community has dubbed it as "spawn wallhacks"
when you respawn you get 10 seconds where you're just able to see any disguised spies through walls at any distance, and they instantly give themselves away by cloaking, decloaking, undisguising, changing disguise, or even just by looking suspicious or out of position which is really unfair especially when they can't see you through walls like you can
a common suggestion is to just disable the outlines for enemy spies, however this is usually countered with the fact that it would make disguised enemy spies immediately obvious because you'll see their lack of outline
my solution to that is to simply not draw outlines for all teammates that are already visible, which also has the added benefit that it saves performance and limits visual clutter since it's kinda pointless to highlight unoccluded teammates anyway
this won't completely eliminate the ability to catch spies using the respawn glow effect, but i think this is the best compromise available
demonstration:
no_spy_spawn_wallhacks.mp4
closes ValveSoftware/Source-1-Games/issues/4361