buy scripts and alias in 1.6

exodus

New Member
<snip from assorted sources on forum planet>

Ok, menuselect buying is a thing of the past now. Valve has added built in aliases for buying to make a buyscript easy for anyone. Experienced or not. This information I received from hlds_linux mailing list from Deacon.

Buying Equipment:

pistols
=========
glock
usp
p228
deagle
elites
fn57

shotguns
=========
m3
xm1014

smg
=========
mac10
tmp
mp5
ump45
p90

rifles
=========
galil
ak47
scout
sg552
awp
g3sg1
famas
m4a1
aug
sg550

machine gun
=========
m249

ammo
=========
primammo
secammo

equipment
=========
vest
vesthelm
flash
hegren
sgren
nvgs
defuser
shield

The radio system, while not being redone, has also been given commands. You can now simply hit a button and get a specific radio call.

Radio Commands:

Radio1
=========
coverme
takepoint
holdpos
regroup
followme
takingfire

Radio2
=========
go
fallback
sticktog
getinpos
stormfront
report

Radio3
=========
roger
enemyspot
needbackup
sectorclear
inposition
reportingin
getout
negative
enemydown


Now, making a buyscript is as simple as the following.

bind "F3" "mp5"

That would buy you an mp5 simply by hitting F3. You will also notice the buymenu no longer gets stuck open...ever.

Now that is just to buy the mp5, but you know you need ammo and other equipment. You can do it the long way like this.

bind "F3" "mp5; primammo; vesthelm; hegren; secammo"

That would buy the mp5 with full ammo, helm and vest, grenade and secondary ammo for your pistol.

Even that being the "long" way to do it. It is still much easier and much shorter way of doing it than 1.5 or prior.

Now, you can really simplify your buy script buy setting up a couple aliases. With this new menu, you dont need half a page of aliases..but with the new buy aliases, you can do ALL your aliases in 2 lines. To save me some typing, here are 2 basic aliases from Deacon.

alias "equip" "primammo; vesthelm; hegren; flash; flash; defuser"
alias "restock" "primammo; secammo; hegren; flash; flash; defuser"

The first is all the basic stuff you buy besides your primary weapon. By making an alias line similiar to this, you save yourself typing it over and over as you bind various keys.

The second line is for "restocking" yourself if you survive the last round.

So now for your mp5 line. Instead of this.

bind "F3" "mp5; primammo; vesthelm; hegren; secammo"

you use your alias now.

bind "F3" "mp5; equip"
bind "F4" "m4a1; equip"
bind "F5" "restock"

As you can see, doing that one line, saves typing later.
Also with this new system, it leaves you able to bind the minimum number of keys. Even though ak47 and m4a1 are different menu #s, they can be bought with the same single line.

bind "F6" "m4a1; ak47; equip"

If your a T an execute this..obviously you cant buy m4a1, but it will buy you the ak47 and all the stuff to go with it...if CT..you get the colt..and the equipment. So instead of 2 lines.
bind "F6" "m4a1; equip"
bind "F7" "ak47; equip"

You can reduce it to just the one line as shown above.

I hope this helps the others using buyscripts with 1.6. You should be able to do much more with this than previously. Less written and easier to manage.

<end snip>
 
*whew* thanks...I didn't know where to install my "Rizzuh's CS Helper" files. This makes it easier..rofl!
 
It's funny how there are an equal number of really good things they've done with 1.6 and really bad things. I guess you can have your cake and kind of lick it for a while, but never really get to eat it.

biggrin.gif
 
Elite, I still use Rze's CS helper, and it works well.. It explains it in his website.. You should wear glasses too you know..

/me gives Elite one of the 1337 glasses that Tek wears now.
 
[b said:
Quote[/b] (Flash @ Sep. 18 2003,8:05)]/me gives Elite one of the 1337 glasses that Tek wears now.
*chuckle* I am pleased to find that someone thinks my glasses are 1337.
biggrin.gif


I rather liked them when I picked them out, I must admit. Of course, I wear contacts about half the time now.

*pulls topic back on track* So, yeh, how 'bout those buy aliases?
 
nope. the train derailed, crashed, and burned. no way it'll ever run on thos etracks again.

This thread has been officially HIJACKED!
wow.gif
 
[b said:
Quote[/b] (amorphus88 @ Sep. 20 2003,9:06)]nope.  the train derailed, crashed, and burned.  no way it'll ever run on thos etracks again.

This thread has been officially HIJACKED!  
wow.gif
RRUuuuuuuuuuuuuuun aWAAAAAAAAAAAAAAAAYYY~~~~~~~~!
wow.gif
 
i need help with cs Helper!!
I dl it and I read it and it still want work when I did it.
and my dad douse not know how to do it ether so dont tell me to ask him for help. i need help from one or u l33t boys to help me with it
smile.gif
hehe
 
for those of you who haven't found it yet, here is the directory to install your userconfig.cfg and pldecal amongst other things:

C:\Program Files\Steam\SteamApps\your-email-here\counter-strike\cstrike

*sample userconfig.cfg*
-------------------

alias "equip" "primammo; secammo; hegren; vesthelm; flash; defuser"
alias "restock" "primammo; secammo; hegren; vesthelm; flash; flash; defuser"

bind "h" "deagle; equip"
bind "j" "mp5; equip"
bind "k" "m4a1; ak47; equip"
bind "l" "restock"

alias gun_t "gun_main"
alias gun_main "alias gun_t gun_sec; slot1; developer 1; echo Primary weapon selected; developer 0"
alias gun_sec "alias gun_t gun_knife; slot2; developer 1; echo Secondary weapon selected; developer 0"
alias gun_knife "alias gun_t gun_main; slot3; developer 1; echo Knife selected; developer 0"

bind "mouse3" "gun_t"

-------------------

this will give you a deage with 'h' an mp5 with 'j' colt/ak with 'k' and just re-equip you with 'l'. It will also allow you to quickly change between your primary, secondary and knife just by hitting the mouse 3 button (altho the display doesn't work, the command itself does).

Obviously you can remap those keys to your own liking. enjoy.
 
Can anyone write up a Ninja user configuration for me? Basically, this configuration would need to:

- Drop primary weapon
- Drop secondary weapon
- Buy flashbang grenade
- Buy H.E. grenade
- Buy smoke grenade
- Switch to knife

You can probably tell that I'm a bit bored with Counter-Strike, eh? ^_^;;
 
Rze's cs helper can do everything you listed except dropping primary/secondary weapon. I have HE/Flash/Smoke grenade keys, m4/ak key, famas/galil key, awp key(hardly used.. since i usually pick it up), mp5 key, pumpshottie key, kevlar/helm key (this one's nifty, if ur low on money, like below 1000, itll jus get you a kevlar.. course if u hav less then 650, ur out
tounge.gif
), then my fav catagory, pistols, usp, deagle, 5-7/dualies.

Besides that, shield, Steyr Scout, and refill key. refill (i forgot it's real name was..) key quickly gets u 1 extra ammo fill, along with a HE grenade and bomb defuse kit (this ones only for cts, in bomb/defuse map)

GO GET IT TEK
biggrin.gif

Download rze's CS helper
 
Back
Top