Key ramping bind

Revision as of 15:47, 1 June 2010 by Pirren (talk | contribs) (→‎Code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When using keyboard controls (with Mouselook Mode off), this bind allows the key inputs to "ramp up" over a short period. This basically means that, say, if you're using your right arrow to turn right, you will turn faster the longer you hold the key down. Some people report that "key ramping" makes it easier to play with a keyboard, some people say it doesn't. If you're a keyboard-only user, it's worth trying.

Code

alias kvrkey "kvr0"
alias kvr1 "set doKeyRamp 0 ; alias kvrkey kvr0 ; echo 'Key ramping disabled'"
alias kvr0 "set doKeyRamp 1 ; alias kvrkey kvr1 ; echo 'Key ramping enabled'"

Aliases

Bind these commands to the keys of your choice:

Command Description
kvrkey Enables/disables key ramping.

Credit

Created by simondearsly. Rewritten by Roguelazer.