Skip to content

anonymous /gist:5975111

Speed toggles for HL2
//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
Something went wrong with that request. Please try again.