Created
July 11, 2013 12:42
-
-
Save anonymous/5975111 to your computer and use it in GitHub Desktop.
Speed toggles for HL2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Speed Toggle | |
alias speed_t "walk_on" | |
alias walk_on "alias speed_t walk_off; cl_forwardspeed 400; developer 1; echo walking (on); developer 0" | |
alias walk_off "alias speed_t walk_on; cl_forwardspeed 65; developer 1; echo walking (off); developer 0" | |
//Sprint Toggle | |
alias walk_t "run_on" | |
alias run_on "alias walk_t run_off; +walk; developer 1; echo running (on); developer 0" | |
alias run_off "alias walk_t run_on; -walk; developer 1; echo running (off); developer 0" | |
bind "R_SHOULDER" "speed_t" | |
bind "L_SHOULDER" "walk_t" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment