Dead Men Walking

Forum Archive 2023 => Counter-Strike: Source => Games of old that no longer float our boat........ => dMw Gaming => Gaming Archive => CS:S Help Section => Topic started by: TeaLeaf on August 19, 2004, 02:08:10 PM

Title: Buy Scripts for CS:Source
Post by: TeaLeaf on August 19, 2004, 02:08:10 PM
Have a good read of this (http://www.steampowered.com/forums/showthread.php?s=&threadid=124276) thread on the Steam forum as it sets out some of the changes you need to make to your current buy scripts. to make them work in CS:S :rolleyes:

TL.
Title: Buy Scripts for CS:Source
Post by: Dr Sadako on August 19, 2004, 04:02:53 PM
This is my setup atm. Entered into the config.cfg located:

\Steam\SteamApps\user@user.com\counter-strike source beta\cstrike\cfg\

Quotebind "F1" "buy scout; buy primammo"
bind "F2" "buy awp; buy primammo"
bind "F3" "buy vest"
bind "F4" "buy vesthelm"
bind "F5" "buy m4a1; buy ak47; buy primammo"
bind "F6" "buy flashbang"
bind "F7" "buy hegrenade"
bind "F8" "buy smokegrenade"
bind "F9" "buy defuser"
bind "F10" "buy p90; buy primammo"
bind "F11" "buy mac10; buy tmp; buy primammo"
bind "F12" "buy deagle; buy secammo"
bind "KP_HOME" "buy mp5; buy primammo"
bind "KP_UPARROW" "buy aug; buy sg552; buy primammo"
bind "KP_PGUP" "buy galil; buy famas; buy primammo"
bind "KP_LEFTARROW" "buy sg550; buy g3sg1; buy primammo"
Title: Buy Scripts for CS:Source
Post by: OldBloke on August 20, 2004, 09:53:07 AM
I've found out that you can have a file called userconfig.cfg in your cfg folder and this will automatically be run when you join a server. It does not need to be referred to in the config.cfg file.
Title: Buy Scripts for CS:Source
Post by: Norm on August 20, 2004, 10:54:03 AM
I just stole Sadako's,there's a hidden "git "hack in there somewhere. ;)
Title: Buy Scripts for CS:Source
Post by: OldBloke on August 20, 2004, 01:19:41 PM
Below is a copy of my userconfig.cfg with my cheap 'n' cheerful buyscript with added netcode stuff, quick pistol and quick knife.

Although I've stated elsewhere that this file is run when you join a server, I'm not sure that this happens everytime <_<

So. Add the following line to the bottom of your config.cfg:

Quoteexec userconfig.cfg

Here's the userconfig.cfg file. Add it to your cfg folder. You'll notice that, as an oldtimer  :learn: , I'm still using the 'arrow' keys for movement so if you're a 'WASD' jockey you will need to edit the keys used for quick knife/pistol.

Quote//netcode stuff

rate 15000
cl_updaterate 101
cl_cmdrate 101

fps_max 100


// Aliases

alias w1 "wait"
alias w2 "w1; w1; w1"
alias w3 "w2; w2; w2"
alias w4 "w3; w3; w3"
alias w5 "w4; w4; w4"

alias clm "w3; slot10; w3; slot10"
alias ezReload "buy defuser; buy hegrenade; buy vesthelm; buy vest; buy flashbang; buy smokegrenade; buy flashbang; clm"

//weapon binds

bind "F1" "ezReload "
bind "F2" "buy deagle; buy secammo; ezReload; use weapon_deagle"
bind "F3" "buy galil; buy famas; buy primammo; ezReload; use_weapon galil; use weapon_famas"
bind "F4" "buy m4a1; buy ak47; buy primammo; ezReload; use weapon_m4a1; use weapon_ak47"
bind "F5" "snapshot"
bind "F6" "buy aug; buy sg552; buy primammo; ezReload;use weapon_aug; use weapon_sg552"
bind "F7" "buy sg550; buy g3sg1; buy primammo; ezReload; use weapon_sg550; use weapon_g3sg1"
bind "F8" "buy mp5; buy primammo; ezReload; use weapon_mp5"

//Quick! Where's me pistol?

bind "KP_END" "hud_fastswitch 1; slot2; hud_fastswitch 0"

//Arghhh! No ammo. Where's me knife?

bind "KP_DOWNARROW" "use weapon_knife"

Interestingly, the binds declared in the userconfig.cfg will automatically migrate to the config.cfg - assuming it's not been made read-only.
Title: Buy Scripts for CS:Source
Post by: JonnyAppleSeed on November 20, 2004, 08:30:23 PM
Just thought i would pop what im using down ....before i loose it again  :D

seeems to work as an old fashiond autoexec.cfg fine

/////// Gun Buy Scripts ////////

bind "F5" "buy deagle; buy secammo"
bind "F6" "buy mp5navy; buy primammo"
bind "F7" "buy galil; buy famas; buy primammo"
bind "F8" "buy m4a1; buy ak47; buy primammo"
bind "F9" "buy aug; buy sg552; buy primammo"
bind "F10" "buy scout; buy primammo"
bind "F11" "buy awp; buy primammo"
bind "F12" "buy m3; buy primammo"
////////Equipment Buy Script////////
bind "F1" "buy vest; buy defuser; buy smokegrenade; buy hegrenade; buy flashbang; buy primammo; buy secammo; buy flashbang"

//netcode stuff

rate 15000
cl_updaterate 101
cl_cmdrate 101
cl_smooth 0
fps_max 100


// Aliases

alias w1 "wait"
alias w2 "w1; w1; w1"
alias w3 "w2; w2; w2"
alias w4 "w3; w3; w3"
alias w5 "w4; w4; w4"

//Quick! Where's me pistol?

bind "KP_LEFTARROW" "hud_fastswitch 1; slot2; hud_fastswitch 0"

//Arghhh! No ammo. Where's me knife?

bind "KP_END" "use weapon_knife"
//Quick! Where's me Gun?

///I Need my BIG gun
bind "KP_HOME" "hud_fastswitch 1; slot1; hud_fastswitch 0"

////walk toggle//////
alias walk_t "walk_on"
alias walk_on "alias walk_t walk_off; +speed; developer 1
alias walk_off "alias walk_t walk_on; -speed; developer 1
bind "KP_INS" "walk_t"
Title: Buy Scripts for CS:Source
Post by: JonnyAppleSeed on November 20, 2004, 08:33:38 PM
PS some quick keys to bring up HE/Flash/Smoke would be nice if anyone has them :P
Title: Buy Scripts for CS:Source
Post by: Anonymous on November 20, 2004, 10:19:42 PM
In CS:Source you just need the "use" command:

bind "YOUR_KEY_HERE" "use weapon_smokegrenade"
bind "YOUR_KEY_HERE" "use weapon_flashbang"
bind "YOUR_KEY_HERE" "use weapon_hegrenade"
Title: Buy Scripts for CS:Source
Post by: Anonymous on November 20, 2004, 10:22:02 PM
Oh and to get your rifle out quickly just bind a key to "go_slot1" or for pistol bind a key to "go_slot2". It's that simple :)
Title: Buy Scripts for CS:Source
Post by: Doorman on November 21, 2004, 12:07:17 AM
I have the mousewheel bound forward go_slot 1 backward to go_slot2 . Thought I'd just add that.  8)  Now you know why I'm so good.
Title: Buy Scripts for CS:Source
Post by: JonnyAppleSeed on November 21, 2004, 01:53:16 AM
good stuff ..... :D
Title: Buy Scripts for CS:Source
Post by: Gh0st Face Killah on December 07, 2004, 10:05:00 PM
I have found a site with a very nice buyscript utility on for those that can't make their own. Goto www.burstmodus.com (http://www.burstmodus.com) and its on there.
Title: Buy Scripts for CS:Source
Post by: DuVeL on June 01, 2005, 07:39:09 PM
GFK, are you using it yourself? I'm going to try it out now. Any tips or pointers?
Title: Buy Scripts for CS:Source
Post by: Gh0st Face Killah on June 03, 2005, 10:08:03 AM
I am using it and its very easy to install and configure. Thats when I get a chance to do any gaming at all which is not very often these days.
Title: Buy Scripts for CS:Source
Post by: Gone_Away on September 02, 2006, 07:15:25 PM
Cheers Fella
Title: Buy Scripts for CS:Source
Post by: Jewelz^ on September 02, 2006, 07:23:19 PM
Quote from: Gh0st Face Killah;71082I have found a site with a very nice buyscript utility on for those that can't make their own. Goto www.burstmodus.com (http://www.burstmodus.com) and its on there.
if i could read the terms and conditions i would click agree
 
dw got it didnt click english :P
Title: Buy Scripts for CS:Source
Post by: Grimnar on September 02, 2006, 08:33:24 PM
For cs:s i use nextwish. For CZ i just use my config don't need any other program for it.
Title: Buy Scripts for CS:Source
Post by: Inquisitor on October 02, 2006, 10:08:47 PM
Eeergh, this is the stuff I really need to learn about... that and stop playing video games on this freakin commodore 64 and step up into the 1990s :boxing:
Title: Buy Scripts for CS:Source
Post by: DuVeL on October 02, 2006, 10:19:36 PM
Quote from: Inquisitor;153755Eeergh, this is the stuff I really need to learn about... that and stop playing video games on this freakin commodore 64 and step up into the 1990s :boxing:

It's allready 1990?
Checks outside and sees weird looking cars and so.
Title: Buy Scripts for CS:Source
Post by: lehtior2 on December 10, 2006, 11:33:35 AM
Just thought I'd mention it if anyone is interested.
 
Like in cz, in source you can bind the buyammo1 and buyammo2 (primary ammo and secondary ammo respectively) to buy just one clip. Haven't found it to be very useful yet but might be useful for someone.
 
Also http://www.counter-script.net/index.php?id=66 is a very good site for help with scripts, the page that opens up is the script faq, very useful. Then there is also this site http://www.csevolution.com/tuts.php with a css bind guide. There is also a guide on making things hard for admins on that site but it is only really useful if admins are doing nasty stuff to you. :D
 
Hope this helps,
 
|Lehtior2|
Title: Buy Scripts for CS:Source
Post by: KKND on December 10, 2006, 03:09:56 PM
It aint very wise too put that info on the webby meh thinks.:g:
Title: Buy Scripts for CS:Source
Post by: DuVeL on January 25, 2007, 12:18:20 PM
Quote from: BlueBall;69711Oh and to get your rifle out quickly just bind a key to "go_slot1" or for pistol bind a key to "go_slot2". It's that simple :)

I'll need to use this 1.
Last night in the match I missed my fast switch several times...
Title: Buy Scripts for CS:Source
Post by: Le Rouge on January 25, 2007, 01:10:27 PM
I never use it. Is it legal (for matches) to use such bind?
Title: Buy Scripts for CS:Source
Post by: DuVeL on January 25, 2007, 01:16:18 PM
Quote from: Le Rouge;174655I never use it. Is it legal (for matches) to use such bind?

Yes!
For CZ I used to have Rzzh's helper and this would make binds in your configfile which was allowed.
Title: Buy Scripts for CS:Source
Post by: GhostMjr on January 27, 2007, 05:17:22 PM
Just as a comment can you use rze in css? Also i was on a server where the admin didn't like the burst modus script that told my team mates what gun i was buying any ideas how to switch this off?
Title: Buy Scripts for CS:Source
Post by: Blunt on January 27, 2007, 05:27:58 PM
I switched mine off by deleting the script from the config.cfg and saving:)
Title: Buy Scripts for CS:Source
Post by: DuVeL on January 27, 2007, 06:14:39 PM
Quote from: GhostMjr;174891Just as a comment can you use rze in css? Also i was on a server where the admin didn't like the burst modus script that told my team mates what gun i was buying any ideas how to switch this off?

RZZh's= no, doesn't work in Source.
Burst mode scripts are considerd like a  hax, if you really define it as a burstscrip...Think you've mixed up some scripts....
Title: Buy Scripts for CS:Source
Post by: delanvital on February 02, 2007, 10:15:49 AM
Uhm.. I just do a b+a thing.. and do auto :blink: Hmm... must look into this...

Had a script for CZ from Duvel tho!
Title: Buy Scripts for CS:Source
Post by: DuVeL on February 02, 2007, 10:58:19 AM
I think I gave you Rzzh's helper for CZ.
Currently I'm still using b8+2 and b4+1 or b4+3 and such...:blink:
Will have a look in to it tonight hopefully for faster buying.
 
Does anyone have an idea on how to get fast switch of knife and pistol on the 2 side buttons? As in commands?
Title: Buy Scripts for CS:Source
Post by: lehtior2 on February 07, 2007, 09:32:32 AM
If by side buttons you mean buttons on the side of your mouse and the game is cs:s then: bind mouse4 "use weapong_knife" but for pistol it is really complicated so the best way is to have fastswitch set on and then just bind mouse5 "slot2".

For cz I just use fastswitch again but I think RZZh uses "go_slot1" etc the names of the mouse buttons are the same.

"go_slot1" etc. don't work in cs:s :(

Hope it helps.
Title: Buy Scripts for CS:Source
Post by: Blunt on April 24, 2008, 06:07:56 PM
I'm just fiddling with my cfg and have decided to sort out a problem that has been bugging me for ages.

I had one of my mouse thumb buttons bound to 2 in order to change to pistol, trouble is, everytime I need to type 2, I have to use the mouse button. My mouse button is bound to backspace normally.
so I decided to put this into my config   bind "BACKSPACE" "hud_fastswitch 1; slot2; hud_fastswitch 0"

It worked a treat....except I had lost fastswitch from my mousewheel (it just scrolls through weapons menu and I have to L/click)
I went into options and ticked the fastswitch box, which fixes it, but if I press 2 again I lose fastswitch.

I'm guessing I got the wrong bindage but I'm lost now:blink:
any suggestions?
Title: Buy Scripts for CS:Source
Post by: Lee on April 24, 2008, 06:46:11 PM
Blunt, you shouldn't need a script i'd imagine, just make sure that you have both of these in the console:

bind 2 slot2 (type "bind 2" to see if it's binded right)
bind backspace slot2 (same here)
Title: Buy Scripts for CS:Source
Post by: Blunt on April 24, 2008, 06:52:52 PM
Quote from: Lee;229908Blunt, you shouldn't need a script i'd imagine, just make sure that you have both of these in the console:

bind 2 slot2 (type "bind 2" to see if it's binded right)
bind backspace slot2 (same here)

I was using the bind Oldie wrote bind "BACKSPACE" "hud_fastswitch 1; slot2; hud_fastswitch 0"(above)

I'm thinking that the last bit is turning off my fastswitch.

I'll check in console
edit: bind 2 says it's bind 2 and bind backspace says it's hud_fastswitch 1; slot2; hud_fastswitch 0
Title: Buy Scripts for CS:Source
Post by: Lee on April 24, 2008, 07:09:23 PM
Quote from: Blunt;229912I was using the bind Oldie wrote bind "BACKSPACE" "hud_fastswitch 1; slot2; hud_fastswitch 0"(above)

I'm thinking that the last bit is turning off my fastswitch.

I'll check in console
edit: bind 2 says it's bind 2 and bind backspace says it's hud_fastswitch 1; slot2; hud_fastswitch 0

Hmm, try changing to what i put in my previous post, can't see why you'd need to take hud_fastswitch off once it's been put on, maybe i'm missing something from previous posts, i'll read through them.

EDIT: Nope don't seem to, but it's worth noting that you don't need to buy ammo now in CSS so there may be some outdated binds in peoples configs.
Title: Buy Scripts for CS:Source
Post by: Blunt on April 24, 2008, 07:42:55 PM
I changed it and it works, all I have to do now is make my binds work permanently.
I type "exec bce.cfg" into my config.cfg and save, and they work, but after I quit, the command is no longer in my config
Maybe it will write it there permanently from my console:blink:
Title: Buy Scripts for CS:Source
Post by: Lee on April 24, 2008, 07:50:27 PM
Have you got an autoexec.cfg file?

You could try putting "exec bce.cfg" in there, if not i'd recommend creating one. It should load them automatically then.
Title: Buy Scripts for CS:Source
Post by: Blunt on April 24, 2008, 07:53:19 PM
Ta, I have and I will:D
Title: Buy Scripts for CS:Source
Post by: Anonymous on April 24, 2008, 08:07:57 PM
Quote from: Blunt;229920I changed it and it works, all I have to do now is make my binds work permanently.
I type "exec bce.cfg" into my config.cfg and save, and they work, but after I quit, the command is no longer in my config
Maybe it will write it there permanently from my console:blink:

After you type it in and save then make the file read only
Title: Buy Scripts for CS:Source
Post by: Blunt on April 24, 2008, 08:37:01 PM
ahh:doh: