Controls option for null-movement/null-cancelling movement

I think it’d be cool if we had an option in Controls to turn on something similar to the null-movement scripts that can be done in Source engine games. When toggled it would make it so you move whatever direction you pressed last instead of just stopping in place when the opposing movement key is pressed. I think this would be nice to have in things like SDNL, Virus, and Laser Tag, where standing still and getting hit is less than ideal.

Do you mean reducing movement friction? So that you’ll slide a tiny bit forward once you stop walking forward?

I think they mean something to the effect of this example:

  1. You’re moving forward holding W
  2. You begin holding S to go backwards
  3. Instead of stopping because both are held, you move backwards because S was pressed last
What I was going to post before EvKem beat me to it

I’m not sure how to explain it well, so I’m gonna just write an example.

While pressing “A” you move left, and when you press “D” while still holding “A” you stop entirely. The same goes for forward and backward.

What I mean:
While pressing “A” you move left, and when you press “D” (while still holding “A”) you will begin moving right. If “A” is still held and you let go of “D” you will begin moving left once again.

Here’s a video of what I’m talking about being used in Garry’s Mod

Here's what is looks like in the autoexec.cfg file, should you want to try it
//Null-cancelling movement script

bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright

alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""

Thank you that’s very helpful.