using buy scripts

N

nothingman97

Guest
yep...i'm a noob. i was hoping that someone could point me in the right direction for creating and implementing buy scripts.

i've found a few threads that have some good stuff, but i don't quite know how to use the info.

how do you put the scripts into use? what is the difference between the alias and bind commands? is this done in the console or somewhere else?

plz help
 
It can be done in the console or in the config file.
e.g. bind a net_graph 3
this will turn on your net graph when you press the 'a' key.
 
i just want to figure out how to push one or 2 keys to buy the stuff that i normally buy at the beginning.

i find myself still at the buy area while others are already equipped and taking care of business.

and the autobuy feature stinks.
 
Just learn the buttons, it's not hard. I learned in under a week, and I used to suck.

o2b42b6
o=equipment menu
b42 (AK for T's, Scout for CT)
b6=extra ammo
and i'm out the door
 
nothingman97 said:
yep...i'm a noob. i was hoping that someone could point me in the right direction for creating and implementing buy scripts.

i've found a few threads that have some good stuff, but i don't quite know how to use the info.

how do you put the scripts into use? what is the difference between the alias and bind commands? is this done in the console or somewhere else?

plz help
Code:
////////////////////////////////////////////////////////////////
// PISTOLS:     glock  usp  p228  deagle  fiveseven  elite
// SHOTGUNS:    m3  xm1014
// SUB-GUNS:    tmp  mac10  mp5navy  ump45  p90 
// RIFLES:      galil  famas  ak47  m4a1  sg552  aug  
// SCOPES:      scout  sg550  awp  g3sg1 
// MACHINEGUN:  m249 
// AMMO:        primammo  secammo buyammo1 buyammo2
// EQUIPMENT:   vest  vesthelm  defuser  nvgs
//              flashbang  hegrenade  smokegrenade 
////////////////////////////////////////////////////////////////
//
// This is the script I use. Where possible, I try to put 
// similar guns that are specific to a team on a single button.
// For example, take the MAC10 and TMP. There is one button 
// that buys both MAC10 and TMP but since you can only buy the
// gun from the respective team you are on it will only buy 
// that gun.  Same for the autosniper guns.
//                                            [email protected]
//
////////////////////////////////////////////////////////////////


// UNIVERSAL SETUP
alias AMMO            "buy primammo; buyammo2; buyammo2;"
alias ARMOR           "buy vest; buy vesthelm;"
alias SNIPER_AMMO     "buyammo1; buyammo1;"
alias END             "slot3;"

// HANDGUNS
alias BUY_GLOCK       "buy glock;  buyammo2; buyammo2; end;"
alias BUY_USP         "buy usp;    buyammo2; buyammo2; end;"
alias BUY_P228        "buy p228;   buyammo2; buyammo2; end;"
alias BUY_DEAGLE      "buy deagle; buy secammo; end;"
alias BUY_DUALS-57    "buy elite;  buy fiveseven; buyammo2; buyammo2; end;"

// SHOTGUNS
alias BUY_PUMP        "buy m3;     buyammo1; armor; buyammo1; end;"
alias BUY_AUTO        "buy xm1014; buyammo1; armor; buyammo1; end;"

// SUB-MACHINE GUNS
alias BUY_MAC-TMP     "buy mac10;   buy tmp; buyammo1; armor; buyammo1; end;"
alias BUY_MP5         "buy mp5navy; buyammo1; armor; buyammo1; end;"
alias BUY_UMP         "buy ump45;   buyammo1; armor; buyammo1; end;"
alias BUY_P90         "buy p90;     buyammo1; armor; buyammo1; end;"

// ASSAULT RIFLES
alias BUY_GALIL-FAMAS "buy galil; buy famas; buyammo1; armor; buyammo1; end;"
alias BUY_SG-AUG      "buy sg552; buy aug;   buyammo1; armor; buyammo1; end;"
alias BUY_AK-COLT     "buy ak47;  buy m4a1;  buyammo1; armor; buyammo1; end;"

// SCOPED RIFLES
alias BUY_SCOUT       "buy scout; sniper_ammo; end;"
alias BUY_AWP         "buy awp;   end;"
alias BUY_AUTOSNIPER  "buy sg550; buy g3sg1; sniper_ammo; end;"

// MACHINE GUN
alias BUY_PARA        "buy m429; primammo; end;"

// OTHER STUFF (COMBOS)
alias BUY_NADES       "buy hegrenade; buy flashbang; buy flashbang; end;"



// BINDED KEYS
bind  kp_slash      armor
bind  *             ammo
bind  kp_minus      buyequip
bind  kp_home       buy_usp
bind  kp_uparrow    buy_deagle
bind  kp_pgup       buy_p228
bind  kp_leftarrow  buy_autosniper
bind  kp_5          buy_scout
bind  kp_rightarrow buy_awp
bind  kp_end        buy_galil-famas
bind  kp_downarrow  buy_sg-aug
bind  kp_pgdn       buy_ak-colt
bind  kp_ins        buy_mp5
bind  kp_del        "buy smokegrenade"
bind  kp_plus       "buy hegrenade"
bind  kp_enter      "buy flashbang"

echo LOADED ... Buyscripts.cfg!

Those are mine for CS:S
the .cfg is also attached. place in ur cfg folder and add
Code:
exec buyscripts.cfg
to you valve.rc
 
"putting them to use"

missed that part. mine are pre binded in the script to:

KeyPad:
0 - mp5
1 - galil/famas
2 - sg552/bullpup
3 - ak/m4a1
4 - g3sg1/sg550
5 - scout
6 - awp
7 - usp
8 - deagle
9 - p228
+ - fragnade
enter - flash
del - smoke nade
/ - armor (buys vest then vesthelm)
* - full primary ammo, 2 clips secondary

0, 1, 2, 3 - come with armor and 2 clips (3 total 1 in gun 2 soare) to save money instead of full clips

4, 5, 6 - no armor
4 - gets 1 or 2 clips
5 - cripes i forget tooooo many cause i never use em all
6 - no extra clips, such a waste of $$$

7, 8, 9 - 2 extra clips no armor

hope this helps

prolly should bind defuse also used to have it attached to everything but figured that meant wasting money sometime when ya didn't have much, if ya want armor and handgun just hit both buttons
 
I'm proud to say that I never have and never will use buy scripts.. And I'm still out of the buy zone first. :)

o2b43,,,o6o4o3o3o5
(armor, colt, 3 primary clips, kit, nade, 2 flashes, 1 smoke)..
 
wheezy360 said:
I'm proud to say that I never have and never will use buy scripts.. And I'm still out of the buy zone first. :)

o2b43,,,o6o4o3o3o5
(armor, colt, 3 primary clips, kit, nade, 2 flashes, 1 smoke)..
i do that in 2 keys...lol faster...maybe same time since the freezetime is there but without freezetime, no way
 
I find buyscripts useful, as I always took a long time in the buy menu, my first time playing I got killed as I was buying some armor lol.
 
heres my buyscripts
bind "KP_HOME" "buy ak47; buy m4a1; buy secammo; buy primammo"
bind "KP_UPARROW" "buy secammo; buy primammo; buy flashbang; buy flashbang; buy hegrenade; buy smokegrenade; buy defuser; buy vesthelm"
bind "KP_PGUP" "buy deagle; buy awp; buy secammo; buy primammo"
bind "KP_LEFTARROW" "buy mp5navy; buy secammo; buy primammo; buy defuser"

heres walk toggle
// Toggle Walk
alias walk_t "walk_on"
alias walk_on "alias walk_t walk_off; +speed;"
alias walk_off "alias walk_t walk_on; -speed;"

bind "KP_END" "walk_t"

and if you have a stable connection you can use these settings
cl_cmdbackup "2"
cl_updaterate "101"
rate 20000
cl_rate 25000
cl_smooth 0
cl_iterp 0.05
fps_max 80
 
ehh why to go all through own scripts when the game has autobuy command and somewhere in ur folder is autobuy.txt where u can add the weapons in the buy order like:
m4a1 u will buy this if u have enough money and ur ct
ak u can buy this if ur t and have enough money
famas u will buy this if ur ct and didnt have enough money for m4a1
etc...
"bind h autobuy" will buy standart stuff without grenades by pressing h key

I didnt want to do my own script when there is already one. silly ppl ^^
 
This is kinda off topic, but does anyone know where to find CS 1.5 buy scripts?
 
yea email me and ill send u the progrma i use, u install it to ur steam/steamaps/countertstike folder and then when u go the the keyboard option in cs it has all the guns listed there and u just press what u key u want just like normla ocntrols, real simple and really good, best binds i seen.
 
[SwG]Headshot said:
This is kinda off topic, but does anyone know where to find CS 1.5 buy scripts?
Code:
////////////////////////////////////////////////////////////////
// PISTOLS:     glock  usp  p228  deagle  fn57  elites 
// SHOTGUNS:    m3  xm1014
// SUB-GUNS:    tmp  mac10  mp5  ump45  p90 
// RIFLES:      galil  famas  ak47  m4a1  sg552  aug  
// SCOPES:      scout  sg550  awp  g3sg1 
// MACHINEGUN:  m249 
// AMMO:        primammo  secammo buyammo1 buyammo2
// EQUIPMENT:   vest  vesthelm  flash  hegren  sgren  defuser  
//              nvg   shield 
////////////////////////////////////////////////////////////////
//
// This is the script I use. Where possible, I try to put 
// similar guns that are specific to a team on a single button.
// For example, take the MAC10 and TMP. There is one button 
// that buys both MAC10 and TMP but since you can only buy the
// gun from the respective team you are on it will only buy 
// that gun.  Same for the autosniper guns.
//                                            [email protected]
//
////////////////////////////////////////////////////////////////


// UNIVERSAL SETUP
alias AMMO            "primammo; buyammo2; buyammo2;"
alias ARMOR           "vest; vesthelm;"
alias SNIPER_AMMO     "buyammo1; buyammo1;"
alias END             "weapon_knife; stopsound;"

// HANDGUNS
alias BUY_GLOCK       "glock;  buyammo2; buyammo2; end;"
alias BUY_USP         "usp;    buyammo2; buyammo2; end;"
alias BUY_P228        "p228;   buyammo2; buyammo2; end;"
alias BUY_DEAGLE      "deagle; secammo; end;"
alias BUY_DUALS-57    "elites; fn57; buyammo2; buyammo2; end;"

// SHOTGUNS
alias BUY_PUMP        "m3;     buyammo1; armor; buyammo1; end;"
alias BUY_AUTO        "xm1014; buyammo1; armor; buyammo1; end;"

// SUB-MACHINE GUNS
alias BUY_MAC-TMP     "mac10; tmp; buyammo1; armor; buyammo1; end;"
alias BUY_MP5         "mp5;   buyammo1; armor; buyammo1; end;"
alias BUY_UMP         "ump45; buyammo1; armor; buyammo1; end;"
alias BUY_P90         "p90;   buyammo1; armor; buyammo1; end;"

// ASSAULT RIFLES
alias BUY_GALIL-FAMAS "galil; famas; buyammo1; armor; buyammo1; end;"
alias BUY_SG-AUG      "sg552; aug;   buyammo1; armor; buyammo1; end;"
alias BUY_AK-COLT     "ak47;  m4a1;  buyammo1; armor; buyammo1; end;"

// SCOPED RIFLES
alias BUY_SCOUT       "scout; sniper_ammo; end;"
alias BUY_AWP         "awp;   end;"
alias BUY_AUTOSNIPER  "sg550; g3sg1; sniper_ammo; end;"

// MACHINE GUN
alias BUY_PARA        "m429; primammo; end;"

// OTHER STUFF (COMBOS)
alias BUY_NADES       "hegren; flash; flash; end;"
alias BUY_SHIELD      "shield; end;"



// BINDED KEYS
bind  kp_slash      armor
bind  *             ammo
bind  kp_minus      buyequip
bind  kp_home       buy_usp
bind  kp_uparrow    buy_deagle
bind  kp_pgup       buy_p228
bind  kp_leftarrow  buy_autosniper
bind  kp_5          buy_scout
bind  kp_rightarrow buy_awp
bind  kp_end        buy_galil-famas
bind  kp_downarrow  buy_sg-aug
bind  kp_pgdn       buy_ak-colt
bind  kp_ins        buy_mp5
bind  kp_del        sgren
bind  kp_plus       hegren
bind  kp_enter      flash

echo "Buy scripts ... LOADED"
practically identical to my CS:S scripts...I converted 1.6 to CS:S so this is the original 1.6 script
 
Back
Top