momentum-mod/game

Limit modification of cl_yawspeed during runs

Arkanoid0 opened this issue · 2 comments

What feature is your improvement idea related to?

Turnbinds currently have a issue in bhop in particular, less so in other modes, where you can change cl_yawspeed while using a turnbind, theoretically allowing you to script hard sections of maps, or script perfect starting strafes.

Describe the solution you'd like

changing cl_yawspeed shouldn't be completely forbidden during a run, some people like having a few different turn speeds for particular sections of maps, but it should be limited such that the new speed requires a -key; +key retrigger sequence before the new speed is applied

Describe alternatives you've considered, if any.

No response

Additional context

No response

I thought we already had something requiring you to be in a zone to change yawspeed but might be my imagination. Would something like that be preferable? Only needing +action -action means you can change yawspeed pretty fast still, like every other tick.

tsa96 commented

Brief discussion on this in Discord here, where it sounds like a reasonable approach would be limiting the number of possible values the cvar can take (probably to 2). Likely needs discussing a bit more.

Probably worth doing alongside #1280, giving it the same milestone.