Skip to content

Instantly share code, notes, and snippets.

@DerMitch
Created July 11, 2016 19:05
Show Gist options
  • Save DerMitch/dd47f180951c9b081c25fb9dca787bfb to your computer and use it in GitHub Desktop.
Save DerMitch/dd47f180951c9b081c25fb9dca787bfb to your computer and use it in GitHub Desktop.
TF2 Config
// Null-cancelling movement script
// (prevents you from pressing two opposing directions, which causes you to stop moving)
alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
bind "w" "+mfwd" //default "+forward"
bind "a" "+mleft" //default "+moveleft"
bind "s" "+mback" //default "+back"
bind "d" "+mright" //default "+moveright"
// https://www.reddit.com/r/tf2/comments/4pou25/since_mm_is_about_to_be_released_and_weve_had/
cl_cmdrate 64
cl_interp 0
cl_interp_ratio 2
fov_desired 90
hud_fastswitch 1
hud_classautokill 0
snd_pitchquality 0
snd_mixahead .05
viewmodel_fov 90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment