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.
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"
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.
I just stole Sadako's,there's a hidden "git "hack in there somewhere. ;)
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.
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"
PS some quick keys to bring up HE/Flash/Smoke would be nice if anyone has them :P
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"
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 :)
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.
good stuff ..... :D
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.
GFK, are you using it yourself? I'm going to try it out now. Any tips or pointers?
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.
Cheers Fella
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
For cs:s i use nextwish. For CZ i just use my config don't need any other program for it.
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:
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.
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|
It aint very wise too put that info on the webby meh thinks.:g:
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...
I never use it. Is it legal (for matches) to use such bind?
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.
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?
I switched mine off by deleting the script from the config.cfg and saving:)
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....
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!
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?
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.
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?
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)
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
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.
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:
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.
Ta, I have and I will:D
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
ahh:doh: