//;Spy is special so I gotta give him new, unique binds
//;bind kp_ins for 0
//;bind kp_del for .
//;bind kp_enter for enter
//;bind kp_plus for +
//;bind kp_minus for -
//;bind kp_multiply for star
//;bind kp_slash for /
//;bind kp_numlock for numlock.
unbindall
r_drawviewmodel 0;
//; Models will start off
//; Hitting 3 will turn them on
//; Hitting mouse 2 will turn them on
//; Hitting 1, 2 will turn them off
//; If you hit 1 or 2 while cloaked,
//; viewmodels should stay on
//; If you hit 3 while cloaked, nothing happens so it doesn't matter
//; Once you uncloak, if you have 1 or 2 open, your viewmodels should go away
//; So really if you have your knife out when decloaking, your viewmodels should stay, otherwise, they should leave
cl_autoreload 1
bind / "r_drawviewmodel 0 1"
alias +sap "slot2; +attack"
alias -sap "-attack; lastinv"
alias shouldEnableModels 1
alias base_revolver "r_drawviewmodel shouldEnableModels; slot1; alias shouldEnableModels 0"
alias base_sap "r_drawviewmodel shouldEnableModels; slot2; alias shouldEnableModels 0"
//; uncloak_x = base_x
//; cloak_x = slotx;
alias base_knife "slot3; r_drawviewmodel 1; alias shouldEnableModels 1"
alias enable_cloak "+attack2; r_drawviewmodel 1; alias shouldEnableModels 1;"
alias disable_cloak "-attack2; r_drawviewmodel shouldEnableModels; alias shouldEnableModels 0;"
alias nextCloak "enable_cloak"
alias nextAlias "disable_cloak; alias nextCloak enable_cloak"
alias cloak "nextCloak; alias nextCloak nextAlias"
bind mouse1 +attack
bind mouse2 +attack2
bind mouse4 +sap
bind mwheelup +jump
bind mwheeldown invnext
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
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 0 slot10
bind 1 base_revolver
bind 2 base_sap
bind 3 base_knife
bind 4 slot4
bind 5 slot5
bind 6 slot6
bind 7 slot7
bind 8 slot8
bind 9 slot9
bind KP_END "join_class scout" //; numpad 1
bind KP_DOWNARROW "join_class soldier" //; numpad 2
bind KP_PGDN "join_class pyro" //; numpad 3
bind KP_LEFTARROW "join_class demoman" //; numpad 4
bind KP_5 "join_class heavyweapons" //; numpad 5
bind KP_RIGHTARROW "join_class engineer" //; numpad 6
bind KP_HOME "join_class medic" //; numpad 7
bind KP_UPARROW "join_class sniper" //; numpad 8
bind KP_PGUP "join_class spy" //; numpad 9
bind q lastinv
bind z "voicemenu 0 0"
bind u say_team
bind y say
bind t "impulse 201"
bind o taunt
bind x voice_menu_1
bind c voice_menu_2
bind v voice_menu_3
bind , changeclass
bind . changeteam
bind m open_charinfo_direct
bind n +quickswitchmenu
bind space +jump
bind shift +duck
bind tab +showscores
bind escape cancelselect
bind [ cl_trigger_first_notification
bind ] cl_decline_first_notification
bind l dropitem
bind b lastdisguise
bind r +reload
bind ` +voicerecord
exec tweaks/tabgraph