When I play Team Fortress 2 and want to switch weapons I have to select one using my the keyboard's number keys (1, 2, 3, ...) and press fire button on the mouse to switch to that weapon. Alternatively I can select a weapon using the mouse's scroll wheel and then pressing the fire button to switch. I find this very annoying since it takes too much time using this method. Is there a setting that makes the game switch weapons immediately when I press a number key or scroll?
I have a 5 button mouse. So I use bind my spare buttons directly to my primary and alternate weapons. It doesn't work that great for spy/engineer, but for a medic where I am mostly using the Medigun/Syringe gun it is great.
I have updated my autoexec.cfg like so.
bind "MOUSE3" "slot3; +attack; wait 50; -attack" bind "MOUSE4" "slot2; +attack; wait 50; -attack" bind "MOUSE5" "slot1; +attack; wait 50; -attack"