CSS - Scripts - Switching guns?

Soldato
Joined
7 Feb 2004
Posts
9,511
Does anyone know of a script that makes switching guns quicker? I know there is one out there but I can't find it on google.

Also any that switch to pistol when you run out of ammo, or any idea on how you could do a script like that?

Thanks
 
Wouldnt the script mean you have to press something different anyway?

I would learn to use the number keys if i were u. Its easy :)
 
Have you got hud_fastswitch set to 1? That'll help for quick switching (I'm sure it's a command in CSS, I know it's one in 1.6).

As for when you run out of ammo, you can't make a script like that as there is no form of logic code in the scripting language, so basically stop being lazy and switch yourself :p
 
You could use something like this:

bind "mwheeldown" "weapon"
alias "weapon" "slot1;wait;bind mwheeldown weapon2"
alias "weapon2" "slot2;wait;bind mwheeldown weapon"

The waits may or may not be needed depending on your lag.

You would also need hud_fastswitch "1" in your config and you could change mwheeldown to whatever key you wanted.

EDIT: Incase you didn't know this would switch between pistol and rifle each time you pressed the key (same idea as quickswitch, but you don't need to press the keys before hand).
 
Last edited:
Pressing "Q" will switch to the last weapon you had out in your hand immediately, no clicking or mousewheeling involved. That fast enough for you?
 
When i played cs i used to have my mouse wheeldown switch between my rifle and pistol and wheelup toggle my grenades. Had to put knife and c4 on buttons but once you got used to it it was a good setup. Only other script i used was walk toggle. Youll probably want to change the keys i use the cursors for movement rather than wasd, old habbit. Heres the script i used,

// Walk Toggle Alias //
alias walk_t "walk_on"
alias walk_on "alias walk_t walk_off; +speed"
alias walk_off "alias walk_t walk_on; -speed"

bind "KP_END" "walk_t"


// Quick Knife Alias //
alias qknif "use weapon_knife"

bind "KP_INS" "qknif"


// Weapon Toggle //
alias tg_wpn "q_pist"
alias q_wpn "qwpn; alias tg_wpn q_pist"
alias q_pist "qpist; alias tg_wpn q_wpn"
alias qpist "use weapon_deagle; use weapon_usp; use weapon_glock; use weapon_p228; use weapon_elite; use weapon_fiveseven"
alias qwpn "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; use weapon_galil; use weapon_famas"

bind "mwheeldown" "tg_wpn"


//Grenade Toggle//
alias tg_gren "q_he"
alias q_fls "qfls; alias tg_gren q_he"
alias q_he "qhe; alias tg_gren q_smk"
alias q_smk "qsmk; alias tg_gren q_fls"


alias qhe "use weapon_hegrenade"
alias qfls "use weapon_flashbang"
alias qsmk "use weapon_smokegrenade"

bind "mwheelup" "tg_gren"

bind "end" "use weapon_c4"
 
Back
Top Bottom