How to do a basic css bind?

Associate
Joined
16 Jul 2006
Posts
151
I would like to make the mouse button 2 on my old 5 series logitech mouse pull out the knife basically. By mouse button 2 I mean the rear one of the two thumb buttons on the left.

As far as I understand it I have to create a file in notepad called "something.cfg" and save this somewhere (where?). The text I need to save goes something along the lines of bind "?" "armknife"? I dont know what to type in place of the ? for the correct mouse button. All my other settings are standard except for the crosshairs which I have at 2500. So would I need to add an extra line saying cl_crosshairscale 2500?
 
Firstly find out what number the mouse button is. Go into keyboard (within CSS) and assign something random to the button to see what it is.

I haven't played CSS in a while so can't remember which slot the knife is in. For arguments sake, say the mouse button is 4 and the knife is in slot 3. Go into console and type:

bind "mouse4" "slot3"

Let me know if that does not work :)
 
Should be able to do it in the in game menu - just tried with my old 5 button mouse and setting "menu item 3" to mouse button 4 and it works fine.

Just select menu item 3 as though you are going to assign it to another key and press the mouse button you want instead - if it doesn't recognise the mouse button press chances are it won't in game either .
 
alias +knifey "slot3;+attack"
alias -knifey "-attack"

bind "mouse4" "+knifey"

put that in autoexec, it should work


*this is if your like me and dont have quick switch on*
 
bind mwheeldown "slot4" or bind mwheeldown "use weapon_knife" (if by mouse2 you mean the scroll wheel).

Put it in a userconfig.cfg file in your config folder and when the game loads open console and type "exec userconfig".

C:\Program Files\Steam\steamapps\<steam account name>\counter-strike source\cstrike\cfg is the default config folder in Source. FPSBanana have a good section for CSS binds if you don't know the names of the weapons: http://www.fpsbanana.com/pages/436.
 
Last edited:
Back
Top Bottom