public
anonymous / gist:5975111
Created

Speed toggles for HL2

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12
//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"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.