///////////////////////////////////////////////////////////////////////////////////////////////

//File 1

///////////////////////////////////////////////////////////////////////////////////////////////

//This is your autoexec.cfg (or add it to that file if you already have other stuff in there)

//Put "exec autoexec" at the top of each class config

//If you want custom stuff for that class, put it under exec autoexec

//If you want the default control scheme simply leave the rest of the class info blank

//Reset Binds

bind 1 slot1

bind 2 slot2

bind 3 slot3

bind 4 slot4

bind 5 slot5

bind 6 slot6

bind mouse1 +attack

bind mouse2 +attack2

bind q lastinv

bind mwheelup nextinv

bind mwheeldown previnv

//Clear Custom Binds

unbind KP_END

unbind KP_DOWNARROW

unbind KP_PGDN

unbind KP_LEFTARROW

///////////////////////////////////////////////////////////////////////////////////////////////

//File 2

///////////////////////////////////////////////////////////////////////////////////////////////

//Save as <class>.cfg and edit for desired effects

//Options are scout, sniper, soldier, pyro, heavyweapons, demoman, medic, spy, engineer

//You must use this spelling, cannot abbreviate to heavy, engie, demo

//You'll have to add additional slots for PDAs, grappling hook, etc

//The main place to add custom features is inside each slot, attack, or loadout change

//custom1, custom2, custom3

//+customattack, -customattack, +customattack2, -customattack2

//loadout1 loadout2 loadout3 loadout 4

//Whitewash Other Class Settings

//This should be at the top of every class.cfg even if the rest is blank

exec autoexec

//Settings

//Weapon Switching

hud_fastswitch 1

tf_remember_activeweapon 1

//Loadout Switching

tf_respawn_on_loadoutchanges 1

//Initialize Aliases

//Generic

alias none ""

//Weapon Switching

alias custom1 ""

alias custom2 ""

alias custom3 ""

alias customnext ""

alias customlast ""

alias preset1 ""

alias preset2 ""

alias preset3 ""

alias set1 ""

alias set2 ""

alias set3 ""

alias set_lastinv ""

alias custom_lastinv ""

//Attack Scripting

alias +customattack ""

alias -customattack ""

alias +customattack2 ""

alias -customattack2 ""

//Loadout Switching

alias loadout1 ""

alias loadout2 ""

alias loadout3 ""

alias loadout4 ""

//Bind Keys

//Weapon Switching

bind 1 custom1

bind 2 custom2

bind 3 custom3

bind q custom_lastinv

bind mwheelup customnext

bind mwheeldown customlast

//Attack Scripting

bind mouse1 +customattack

bind mouse2 +customattack2

//Loadout Switching

bind KP_END loadout1

bind KP_DOWNARROW loadout2

bind KP_PGDN loadout3

bind KP_LEFTARROW loadout4

//Define Aliases

//Weapon Switching

alias custom1 "slot1; alias set1 none; alias set2 preset2; alias set3 preset3; set_lastinv; alias set_lastinv set1; alias customnext custom2; alias customlast custom3"

alias custom2 "slot2; alias set1 preset1; alias set2 none; alias set3 preset3; set_lastinv; alias set_lastinv set2; alias customnext custom3; alias customlast custom1"

alias custom3 "slot3; alias set1 preset1; alias set2 preset2; alias set3 none; set_lastinv; alias set_lastinv set3; alias customnext custom1; alias customlast custom2"

alias preset1 "alias custom_lastinv custom1"

alias preset2 "alias custom_lastinv custom2"

alias preset3 "alias custom_lastinv custom3"

alias customnext custom2

alias customlast custom3

//Attack Scripting

alias +customattack "+attack"

alias -customattack "-attack"

alias +customattack2 "+attack2"

alias -customattack2 "-attack2"

//Loadout Switching

alias loadout1 "load_itempreset 0"

alias loadout2 "load_itempreset 1"

alias loadout3 "load_itempreset 2"