Counter Strike Auto Buy Scripts
When I played CS 1.6 I used to have an auto weapons buy program, which was excellent and included a lot of other options besides weapons buying. As I couldn’t find a similar one for CS: Source, I followed the standard procedure of creating a userconf.cfg file in the cstrike/cfg directory and filling it with key bindings and alias for auto-buying. For some reason this just didn’t work for me. Something was overriding it no matter what I did. The solution? I just copied all of the code from that file into a file called autoexec.cfg which I put in the same directory. I thought the autoexec.cfg file had been phased out or superseded, but apparently not.
Here’s the basic autoexec.cfg I use. It’s enough for me at the moment. Simply copy and modify it to your own specifications. It’s pretty self explanatory.
—————– copy all below this line —————–
echo
echo Autoexec loaded . . . . .
echo
alias primaryweapon “buy m4a1; buy ak47; buy primammo”
alias handgun “buy deagle; buy secammo”
alias submachinegun “buy tmp; buy mac10; buy primammo”
alias ammo “buy primammo; buy secammo”
alias equipment “buy vesthelm; buy flashbang; buy hegrenade; buy smokegrenade; buy defuser”
alias shotty “xm1014″
bind kp_ins “primaryweapon”
bind kp_del “handgun”
bind kp_downarrow “ammo”
bind kp_end “submachinegun”
bind kp_enter “equipment”
bind kp_uparrow “shotty”
// Menu Item Key
//galil – IDF Defender
//ak47 – CV-47
//scout – Schmidt Scout
//sg552 – Krieg 552
//awp – Magnum Sniper Rifle
//g3sg1 – D3/AU1
//famas – Clarion 5.56
//m4a1 – Maverick M4A1 Carbine
//aug – Bullpup
//sg550 – Krieg 550 Commando
//glock – 9×19mm Sidearm
//usp – KM .45 Tactical
//p228 – 228 Compact
//deagle – Night Hawk .50C
//elite – .40 Dual Elites
//fiveseven – ES Five-Seven
//m3 – Leone 12 Gauge Super
//xm1014 – Leone YG1265 Auto Shotgun
//mac10 – Ingram MAC-10
//tmp – Schmidt Machine Pistol
//mp5navy – KM Sub-Machine Gun
//ump45 – KM UMP45
//p90 – ES C90
//m249 – M249
//primammo – Primary Ammo
//secammo – Secondary Ammo
//vest – Kevlar
//vesthelm – Kevlar+Helmet
//flashbang – Flashbang
//hegrenade – HE Grenade
//smokegrenade – Smoke Grenade
//nvgs – Nightvision
//defuser – Defusal Kit
//weapon_knife
//weapon_deagle
//weapon_usp
//weapon_glock
//weapon_p228
//weapon_elite
//weapon_fiveseven
//weapon_ak47
//weapon_aug
//weapon_g3sg1
//weapon_m249
//weapon_m4a1
//weapon_m3
//weapon_mac10
//weapon_mp5navy
//weapon_p90
//weapon_scout
//weapon_sg552
//weapon_sg550
//weapon_ump45
//weapon_tmp
//weapon_xm1014
//weapon_awp
//weapon_galil
//weapon_famas
//weapon_hegrenade
//weapon_flashbang
//weapon_smokegrenade
//weapon_c4

