CSS - Noob binding question

Soldato
Joined
7 Feb 2004
Posts
9,511
I was wondering if there was a bind that bind selecting pistol automatically to a key or button.

Anyone else have any good binds that help you out?

Sorry if this is a noob question but ive never tried binding before.

thanks
 
What do you mean by this? give a situation why you want the pistol to be chosen automatically? cant picture what situation your on about.

Thanks
 
Select the pistol, then select your main gun. Press Q I think it is to rapidly switch between them. Not perfect, but its better than nothing :)
 
I haven't played CSS for ages but this is in my config and I assume it still works:

Code:
bind "Mouse4" "pistol_switch"
alias pistol_switch "hud_fastswitch 1; slot2; hud_fastswitch 0"

Other stuff I have,

For showing the scores, and fps and timeleft in one button push

Code:
bind "tab" "+s_graph"

alias +s_graph "+showscores;cl_showfps 1;timeleft"
alias -s_graph "-showscores;cl_showfps 0"

Buy scripts

Code:
// Buy Script 
bind "KP_PGUP" "equip_gren"
bind "KP_HOME" "deagpistol"
bind "KP_UPARROW" "fivesevenpistol"
bind "KP_RIGHTARROW" "mp5_cheap"
bind "KP_LEFTARROW" "m4a1_ak47"
bind "KP_5" "famas_galil"
bind "KP_DEL" "sniper"
bind "KP_END" "body_armor"
bind "KP_DOWNARROW" "heavy_duty"
bind "KP_PGDN" "close_prox"
bind "KP_ENTER" "autobuy"
bind "kp_slash" "SMGPistols"
bind "kp_ins" "Defusal_Kit"
bind "*" "steyr_sig"


alias w "wait"

alias equip_gren "buy flashbang;w;w;buy defuser;w;w;buy flashbang;w;w;buy hegrenade;"
alias "m4a1_ak47" "buy ak47;w;w;buy m4a1;w;w;buyammo1;buyammo1;"
alias deagpistol "buy deagle;w;w;buyammo2;buyammo2;buyammo2;"
alias fivesevenpistol "buy fiveseven;w;w;buyammo2;w;w;buyammo2;w;w;buyammo2;"
alias famas_galil "buy galil;w;w;buy famas;w;w;buyammo1;w;w;buyammo1;"
alias sniper "buy awp;w;w;buyammo1;"
alias mp5_cheap "buy mp5; buyammo1;w;w;buyammo1;w;w;buyammo1;"
alias body_armor "buy vesthelm;buy vest;"
alias heavy_duty "buy m3;w;w;buyammo1;w;w;buyammo1;"
alias close_prox "buy p90;w;w;buy vesthelm;buy vest;w;w;buy primammo;" 
alias SMGPistols "buy tmp;w;w;buy mac10;w;w;buyammo1;w;w;buyammo1;"
alias Defusal_Kit "buy defuser;w;w;say_team I have a defuser"
alias "steyr_sig" "buy sg552;w;w;buy aug;w;w;buy ammo1;w;w;buyammo1;"

// End Buy Script
 
Last edited:
Would that bind make it switch automatically

bind "Mouse4" "pistol_switch"
alias pistol_switch "hud_fastswitch 1; slot2; hud_fastswitch 0"

As i dont have hud_fastswitch on as I prefer to select the gun. But I would like a button that pulls the gun out straight away. Hope that is clear
 
Bit more primitive, but this works for me - basically group all primary and secondary weapons into an alias each like this:

alias pri "use weapon_ak47; use weapon_aug; use weapon_g3sg1; use weapon_m249; use weapon_m4a1; use weapon_m3; use weapon_mac10; use weapon_mp5navy; use weapon_p90; use weapon_scout; use weapon_sg552; use weapon_sg550; use weapon_ump45; use weapon_tmp; use weapon_xm1014; use weapon_awp"

alias sec "use weapon_deagle; use weapon_usp; use weapon_glock; use weapon_p228; use weapon_elite; use weapon_fiveseven"

Then I have mousewheel up for my primary weapon, mousewheel down for secondary:

bind "mwheelup" "pri"
bind "mwheeldown" "sec"

The knife and c4 are easier, just: bind "x" "use weapon_knife" or "use weapon_c4"
 
Bit more primitive, but this works for me - basically group all primary and secondary weapons into an alias each like this:

alias pri "use weapon_ak47; use weapon_aug; use weapon_g3sg1; use weapon_m249; use weapon_m4a1; use weapon_m3; use weapon_mac10; use weapon_mp5navy; use weapon_p90; use weapon_scout; use weapon_sg552; use weapon_sg550; use weapon_ump45; use weapon_tmp; use weapon_xm1014; use weapon_awp"

alias sec "use weapon_deagle; use weapon_usp; use weapon_glock; use weapon_p228; use weapon_elite; use weapon_fiveseven"

Then I have mousewheel up for my primary weapon, mousewheel down for secondary:

bind "mwheelup" "pri"
bind "mwheeldown" "sec"

The knife and c4 are easier, just: bind "x" "use weapon_knife" or "use weapon_c4"

Thats quite a good idea actually. Thanks
 
Back
Top Bottom