anonymous / gist:5975111
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Speed toggles for HL2

View gist:5975111
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"
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.