CS 1.6 - Getting scripts working

Soldato
Joined
25 Oct 2007
Posts
6,911
Location
Los Angeles
Hi guys,

I'm sure this is an ez questions for those seasoned CS players. I'm using CS 1.6 via stream and want to get a couple of scripts working. They are:

Code:
//Fast Invprev, Invnext// by: submitted by: [URL="http://www.counter-script.net/index.php?id=108&UID=258"]Proji[/URL] 
Description:  This changes invprev(previous weapon)to a fastswitch command and the same for invnext(next weapon). Binded to suit mousewheel folks to change guns.

alias "+prev" "invprev;wait;+attack"
alias "+next" "invnext;wait;+attack"

bind "mwheelup" "+prev"
bind "mwheeldown" "+next"
and:

Code:
//Sniper- Awp Fire / Pistol/ Awp Fast Change// by: submitted by: [URL="http://www.counter-script.net/index.php?id=108&UID=115"]Rabid Llama[/URL] 
Description:  shoot ** awp then it switches to ** pistol fast then back to awp, giving less dying.
Bind the following aliases to make the script work:
bind a key to "fast"

alias dev0 "developer 0"
alias dev1 "developer 1"
hud_fastswitch 1
alias fast "faston"
 alias faston "bind mouse1 fastatt; dev1; echo Fast Sniper Attack *ON*; dev0; alias fast fastoff"
 alias fastoff "bind mouse1 +attack; dev1; echo Fast Sniper Attack *OFF*; dev0; alias fast faston"
 alias fastatt "+attack; wait; -attack; fson; slot2; slot1; fsoff"

 bind "kp_enter" "fast"
Now, i created a autoexec.cfg file in my cstrike folder and then pasted the above commands in. I then added the bind commands to my config.cfg. When i press the above bind buttons in my console it says unknown command "".

Any ideas?
 
You should only have to create a autoexec.cfg file in your cstrike directory and that's it, you shouldn't have to add anything to your config.cfg.

Try taking out whatever you put in your config.cfg.
 
Right so the quick switch command does work once, but then after it displays the following error in console:


Unknown command: -next
Unknown command: -prv
 
It's because there's no -next or -prev aliases, which will be automatically called when you let go of the key (or in the case of the mouse wheel pretty much instantly). Just adding some blank aliases should probably work, like so:

alias -next ""
alias -prev ""
 
Yep, that worked like a charm. Does anyone have a good script for switching between weapons / grens? The one above simply switches between primary and secondary.
 
Well that script doesn't work for me at all (but I see no reason why it wouldnt go through grenades if it worked). Try this instead:

alias prev "invprev;+attack;wait;-attack"
alias next "invnext;+attack;wait;-attack"
bind mwheelup prev
bind mwheeldown next

As said don't use scipts! Just get good at CS. For a good gui, use CPLGui (google it). Will give you a lot of features.

Scripts aren't about making yourself better at games, they're there to get a better interface. You wouldn't force yourself to use the default control scheme just because it's the default would you? It's the same with this, why force yourself to use the slow weapon switching if you prefer the fast weapon switching?

mouse wheel up to primary, mouse wheel down to secondary. wheel click to grenades, fastswitch on, sorted. :cool:

CS 1.6 doesn't have fastswitch. Anyway, side mouse buttons for primary and secondary, mouse wheel down for flashbang, mouse wheel up for HE grenade, mouse wheel click for knife, and some keyboard key for smoke grenade is the best ;).
 
Fast switch script, allows you to scroll through your weapons with your mousewheel:

bind "mwheelup" "invprev; +attack; wait; wait; -attack"
bind "mwheeldown" "invnext; +attack; wait; wait; -attack"

I use it on 1.6 it works for me, i just pulled it out of my autoexec.cfg.
 
I think scripts such as bunnyhop and no recoil are wrong and shouldn't be used, I don't however have a problem with scripts that let you cycle through your weapons with your scroll wheel, this is an option that is built into CSS, but not CS 1.6.

So the "Don't use scripts" approach is a little over the top.
 
I think scripts such as bunnyhop and no recoil are wrong and shouldn't be used, I don't however have a problem with scripts that let you cycle through your weapons with your scroll wheel, this is an option that is built into CSS, but not CS 1.6.

So the "Don't use scripts" approach is a little over the top.

Yes it is?

Unless I'm just remembering the CSGN or CPL GUI's.. In which case, just use them :p
 
CS 1.6 doesn't have fastswitch. Anyway, side mouse buttons for primary and secondary, mouse wheel down for flashbang, mouse wheel up for HE grenade, mouse wheel click for knife, and some keyboard key for smoke grenade is the best ;).

hud_fastswitch "1"
 
I swear fast switch is there....Never used to have a problem switching between weapons.

This was a fair few years ago mind :p
 
I don't however have a problem with scripts that let you cycle through your weapons with your scroll wheel, this is an option that is built into CSS, but not CS 1.6.

Buh? Since when can you not use the mouse wheel to scroll through weapons? =/

I was using that back in 1.1 or before then no doubt.

Unless you want directional scrolls to select specific weapons...
 
Buh? Since when can you not use the mouse wheel to scroll through weapons? =/

I was using that back in 1.1 or before then no doubt.

Unless you want directional scrolls to select specific weapons...

I'm not talking about Scrolling through your mouse wheel then left clicking when you want that weapon, I'm talking about one scroll of the wheel it automatically selects your next weapon.

Like you can with CSS and "Fast weapon switch".
 
I'm not talking about Scrolling through your mouse wheel then left clicking when you want that weapon, I'm talking about one scroll of the wheel it automatically selects your next weapon.

Like you can with CSS and "Fast weapon switch".

Hm...Swear I've had that...I'd be cursing otherwise.
 
You can enable fast switch in the GUI as standard.

yeah but

Description: shoot ** awp then it switches to ** pistol fast then back to awp, giving less dying.
Bind the following aliases to make the script work:
bind a key to "fast"

Is a pretty ****y thing to use.

learn to do it yourself rather than getting some program to do it for you.
 
Back
Top Bottom