[TF2] Exploit: Players can remove the sniper scope with custom huds
You can completely disable the black overlay that appears when you're scoped in as sniper with a tiny bit of hud editing. Simply copy-paste the below into HudAnimations_TF.txt in your scripts folder.
event ScopeRemoval
{
Animate HudScope Position "9999 9999" Linear 0.0 0.0
}
Then ctrl+f for the event "DamagedPlayer" and, if it already exists, edit it so it looks like the below. If it doesn't exist just copy paste the whole thing.
event DamagedPlayer
{
RunEvent ScopeRemoval 0.0
}
It's alright if there was already stuff in the event and you can leave it if there was. This is the event that would animate your crosshair to be a different color when you hit an enemy.
Then paste the following into your autoexec:
alias remove_scope "sv_cheats 1; testhudanim scoperemoval"
remove_scope

i tried this to test it how do i undo it?
This exact same issue was reported at https://github.com/mastercomfig/tf2-patches/issues/574 and he fixed it over a year ago and the game patch code fix was submitted to Valve. When can we anticipate this fix being included in an update?
i use mastercomfig and it still worked
i use mastercomfig and it still worked
You are talking apples and oranges of course you can use mastercomfg that has absolutely nothing to do with this. He coded a game level code patch for team comtress2 (not misspelled) to fix this exploit which will also work for team fortress 2 all Valve has to do is implement it and include it in an update and you would think as this is a pretty significant exploit it should get high priorty. Yet here we are still waiting
This should no longer be possible with the May 12, 2025 patch, closing.