[TF2] Fix tf_allow_sliding_taunt #1692
Open
+9
−12
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
tf_allow_sliding_taunt was introduced in the 2014 Love and War update in order to restore the old behavior where the player conserve their running momentum and slide a bit during the start of the taunt. But at no point did this console variable ever do anything meaningful at all since its introduction. So i fix that.
In addition to restoring taunt sliding, I also remove the taunt cooldown that was introduced in late 2013 to fix a taunt kill exploit if the tf_allow_sliding_taunt cvar is set to true. Back in 2013, if the player's taunt was interrupted by either sliding off an edge or an explosion, the taunt animation wouldn't get interrupted and will continue playing. On top of that, the player was also able to move freely. The player would take advantage of this exploit by taunting again in front of the enemy right when the animation trigger the taunt kill.
https://youtu.be/dULiiO2U1no
Since the Love and War update, the taunt animation will get properly removed if it is interrupted so removing the cooldown wouldn't introduce any bugs at all.
Before:
2025-12-07.11-07-18.mp4
After:
2025-12-07.11-08-27.mp4