![]() |
||||||||||
|
Tips and Tweaks Ginger Explains How to Alias and Bind Your Favorite BuysThis may be old news for some the the CS vets in our group but I thought I would share this with the rest. Do you ever tire of buying and closing menus at the beginning of a round delaying that inevitable bullet in the head? Boy I sure do, buying slows me down and in lagland where I live.... that's a lifetime! The following are instruction on how to alias your favorite buys and bind them to a key. It's mostly just copy and paste scripts so enjoy. How to alias your buys and bind them to a key. 1. First create an autoexec.cfg file in your main cstrike directory. 2. Copy and paste the following into your autoexec.cfg file.
//Menu Selects// ********************************************************************************* 3. The following are alias scripts for most of the weapons, ammo, and
equipment you can buy. If you look at the scripts I do not have an alias
for the Terrorist's AK47 or Sig and the Counter-terrorists M4 or aug Assualt
rifles. They are there, I have just aliased the T and CT's light assualt
Copy and paste all of them or just your favorites into the newly created autoexec.cfg file.
//Equipment// ********************************************************************************** NOTE: As you have seen above, you can alias your aliases as well to make cobinations of your favorite buys. When I buy a weapon I automatically buy full ammo for it. A multiple equipment buy could look like this: alias CTequip "helm; arm; he; flash; defus; mcl" Then you can bind CTequip to a key. 4. Once you have your aliases looking the way you want save your autoexe.cfg and open your config.cfg file which is in the same cstrike directory. 5. All that is left to do is bind your aliases to a key. You can see the syntax to do this by looking at other bind statements in your config.cfg file. Here is an example: bind "ammo1" "END" This binds buying primary ammo to the END key. 6 . Once you bind the aliases you want, save and exit your config.cfg file. Run CS and test them. WARNING: You may notice that the menu remains open after
your buys. It did on mine. It only seems to do this online during a game
and I'm not sure why. It works fine when I setup a lan game on my pc.
The last MCL alias attached to your buy aliases should be clearing the
menu. If it does not clear for you, use this work-around. Just add 'slot10'
to the end of any of your bind "UPARROW" "+forward; slot10" Do this to all your move keys and the menu will close as soon as you move. Well that's pretty much it. Again if you have trouble give me a shout. There are also CS scripting resources online to learn more, just search for them. Hope this helps, |