Redy
12-16-2004, 08:50 AM
Auto Buy And Binding Keys.
The two files we will be working with are the autobuy text file found in the: C:\Program Files\Valve\Steam\SteamApps\your email\counter-strike source\cstrike folder
and the Config file found in the: C:\Program Files\Valve\Steam\SteamApps\your email\counter-strike source\cstrike\cfg folder
The auto buy script looks something like this.
M4a1
ak47
P90
mp5
p228
deagle
primammo
secammo
flashbang
smokegrenade
defuse
vesthelm
vest
Now what that means is this. Whenever you hit your autobuy key (default F1), the script will buy instantly for you the weapons and equipment you have listed in your order depending on how much cash you have. So in the example above this auto buy will purchase either the M4a1 or the Ak47 depending on which team you are on. If you do not have sufficient funds
for a rifle, the auto buy will defer to your next choice of the cheaper P90, and then the even cheaper MP5.
After your primary weapon is purchased, the auto buy script will move on to your secondary weapon choice. Again depending on how much cash is left over it will buy either the P228 or the Deagle.
If sufficient funds are available the script will then buy your other choices of frags, defuser kit, and armor.
This is all good when you want to make quick purchases and then go running off to kill your enemy. What bad is the script will not separate your funds to purchase all of your items. So in the example above if you have just enough cash for the M4a1, you will get the M4a1 and nothing else.
You can choose any item to be your first purchase. lets say you always want to purchase armor and a defuser kit. Then you can change your script to look like this.
vesthelm
vest
defuse
M4a1
ak47
P90
mp5
p228
deagle
primammo
secammo
With this example you will auto buy your vest and defuser kit first and any funds left over will go towards the purchase of your weapons.
Remember to list weapons for either team as you cannot buy the AK-47 and elite pistols if you are a CT.
Binding Keys For the Purpose Of Auto Buying.
Now we will open the Config file with notepad. Here you will see the long list of binded keys. Some keys are not assigned. You can then assign those keys to buy your weapons in the same manner as the autobuy script. Here is my favorite.
bind "F8" "buy p90; buy primammo; buy defuser; buy vesthelm;"
(you need to insert this line and all other missing binds you want assigned)
Now at the beginning of the round, when I hit my F8 key, I will rapidly purchase a P90, some ammo for my P90, a defuser kit, and my armor. This comes in handy when you want to buy specific weapons for the map or task you are planning to undertake. Remember you need sufficient funds to purchase your items, so it is always good to know how much this stuff will cost you before hitting your binded key.
Need help? Catch me on TS or post here.
The two files we will be working with are the autobuy text file found in the: C:\Program Files\Valve\Steam\SteamApps\your email\counter-strike source\cstrike folder
and the Config file found in the: C:\Program Files\Valve\Steam\SteamApps\your email\counter-strike source\cstrike\cfg folder
The auto buy script looks something like this.
M4a1
ak47
P90
mp5
p228
deagle
primammo
secammo
flashbang
smokegrenade
defuse
vesthelm
vest
Now what that means is this. Whenever you hit your autobuy key (default F1), the script will buy instantly for you the weapons and equipment you have listed in your order depending on how much cash you have. So in the example above this auto buy will purchase either the M4a1 or the Ak47 depending on which team you are on. If you do not have sufficient funds
for a rifle, the auto buy will defer to your next choice of the cheaper P90, and then the even cheaper MP5.
After your primary weapon is purchased, the auto buy script will move on to your secondary weapon choice. Again depending on how much cash is left over it will buy either the P228 or the Deagle.
If sufficient funds are available the script will then buy your other choices of frags, defuser kit, and armor.
This is all good when you want to make quick purchases and then go running off to kill your enemy. What bad is the script will not separate your funds to purchase all of your items. So in the example above if you have just enough cash for the M4a1, you will get the M4a1 and nothing else.
You can choose any item to be your first purchase. lets say you always want to purchase armor and a defuser kit. Then you can change your script to look like this.
vesthelm
vest
defuse
M4a1
ak47
P90
mp5
p228
deagle
primammo
secammo
With this example you will auto buy your vest and defuser kit first and any funds left over will go towards the purchase of your weapons.
Remember to list weapons for either team as you cannot buy the AK-47 and elite pistols if you are a CT.
Binding Keys For the Purpose Of Auto Buying.
Now we will open the Config file with notepad. Here you will see the long list of binded keys. Some keys are not assigned. You can then assign those keys to buy your weapons in the same manner as the autobuy script. Here is my favorite.
bind "F8" "buy p90; buy primammo; buy defuser; buy vesthelm;"
(you need to insert this line and all other missing binds you want assigned)
Now at the beginning of the round, when I hit my F8 key, I will rapidly purchase a P90, some ammo for my P90, a defuser kit, and my armor. This comes in handy when you want to buy specific weapons for the map or task you are planning to undertake. Remember you need sufficient funds to purchase your items, so it is always good to know how much this stuff will cost you before hitting your binded key.
Need help? Catch me on TS or post here.