[TF2] Prevent "ready up" spam in Mann vs. Machine
In MvM, some players use a script that quickly toggles them unready and then ready every so often. These scripts end up spamming voice lines until the wave starts, which can be very annoying especially if you're a new/inexperienced player or just don't wanna hurry up so much.
Some players may use this script to automatically ready up after each wave as they can upgrade very fast and/or efficiently, which is totally harmless but still ends up spamming the voice lines. To keep this behaviour, I think a ConVar/advanced options setting could be introduced to "automatically ready up Mann vs. Machine" while removing the ability to spam the ready up command.
quickly toggles them unready and then ready every so often
No, it's just setting tournament_player_readystate to 1 which plays a voiceline even if they are already ready. If it was actually toggled it would reset the countdown if they were the only one doing it which is antithesis to the goal of starting asap. Fixing this should be easier since you just need a check to see if they're already ready and not play another voiceline.
That works too
Just rate limit the voice command, like Valve have already done for normal voice commands
It's not a voice command, what jh34 suggested would fix the issue.
This also affects competitive mode
https://github.com/user-attachments/assets/ac9742d6-c104-468f-a33d-57231f777121
This shouldnt be an issue as the game already handles this scenario. -keep in mind that without the check players could very easily spam to get the counter down 2 hardcoded 60 seconds-
the game already handles this scenario.
You are thinking of a different scenario? The countdown and voicelines are different events and as I stated in my first reply, spamming that command spams the voice lines without effecting the timer beyond the first time.