SpawnPoint

Advantages to buy scripts. »

Authored by SpawnPoint on 2007-11-13 06:48:04

Step #1
• Create a new Wordpad or Notepad file
• The following keys are all bindable in Counter-strike:
o Letter Keys
  A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
o Number Keys
  1,2,3,4,5,6,7,8,9,0
o Mouse Buttons
  MOUSE1,MOUSE2,MOUSE3,MOUSE4,MOUSE5
  MWHEELUP,MWHEELDOWN
o Special Keys
  Enter,Space,Shift,Ctrl,Pause,ALT,
  BACKSPACE,TAB,CAPSLOCK
o Function Keys
  F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11F12
o Scroll Keys
  Ins,Del,Home,End,Pgdn,Pgup
o Arrow Keys
  Leftarrow,Rightarrow,Uparrow,Downarrow
o Keypad Keys
  kp_leftarrow,kp_del,kp_end,kp_downarrow,kp_pgup,kp_ins
  kp_5,kp_plus,kp_uparrow,kp_enter,kp_pgdn
  kp_rightarrow,kp_slash,kp_minus,kp_home
o Misc Keys
  ,
  .
  /
  \
  ;
  '
  *
  [
  ]
  -
  =
  ~

  =
  ~
• The following are all guns/equipment aliases that CS recognizes in the scripts:
o galil - IDF Defender
o defender - IDF Defender
o ak47 - CV-47
o cv47 - CV-47
o scout - Schmidt Scout
o sg552 - Krieg 552
o krieg552 - Krieg 552
o awp - Magnum Sniper Rifle
o magnum - Magnum Sniper Rifle
o g3sg1 - D3/AU1
o d3au1 - D3/AU1
o famas - Clarion 5.56
o clarion - Clarion 5.56
o m4a1 - Maverick M4A1 Carbine
o aug - Bullpup
o bullpup - Bullpup
o sg550 - Krieg 550 Commando
o krieg550 - Krieg 550 Commando
o glock - 9x19mm Sidearm
o 9x19mm - 9x19mm Sidearm
o usp - KM .45 Tactical
o km45 - KM .45 Tactical
o p228 - 228 Compact228
o compact - 228 Compact
o deagle - Night Hawk .50C
o nighthawk - Night Hawk .50C
o elites - .40 Dual Elites
o fn57 - ES Five-Seven
o fiveseven - ES Five-Seven
o m3 - Leone 12 Gauge Super
o 12gauge - Leone 12 Gauge Super
o xm1014 - Leone YG1265 Auto Shotgun
o autoshotgun - Leone YG1265 Auto Shotgun
o mac10 - Ingram MAC-10
o tmp - Schmidt Machine Pistol
o mp - Schmidt Machine Pistol
o mp5 - KM Sub-Machine Gun
o smg - KM Sub-Machine Gun
o ump45 - KM UMP45
o p90 - ES C90
o c90 - ES C90
o m249 - M249
o primammo - Primary Ammo
o secammo - Secondary Ammo
o vest - Kevlar
o vesthelm - Kevlar+Helmet
o flash - Flashbang
o hegren - HE Grenade
o sgren - Smoke Grenade
o nvgs - Nightvision
o defuser - Defusal Kit
o shield - Tactical Shield


• Next step is to create a buy script command line
• Here is an example:
o bind "KP_END" "deagle; vesthelm; defuser; buyammo2; buyammo2"
o bind "KP_INS" "defuser; hegren; flash"
• In the example, the 1st line will bind the #1 on the Keypad to buy a Deagle, a Vest and
Helmet, a defuse kit and one extra clip of ammo.
• The 2nd line will bind the #0 on the Keypad to buy a defuse kit, grenade, and a flashbang
• No matter what the bind is you are trying to create it must always have this syntax
o bind "KEY" "command"
• the "key" must always use the name listed in the bindable keys from above
• the "command" must always be a command CS will recognize. For example the gun
names listed above.
• Once you are done creating your scripts it should look something like this:



• Notice you can also put other commands in there that you wish to exec every time you
load CS

Step #2
• Save the file as "userconfig.cfg"
• Go to File -> Save As



• Type the filename as "userconfig.cfg"
• Click save as type "All files"





• Make sure you save this in your cstrike directory
• Default Location is:
o (C:\Program Files\Steam\steamapps\yourusername\counter-strike\cstrike)

Step #3
• Go into your cstrike folder.
• Default Location is:
o (C:\Program Files\Steam\steamapps\yourusername\counter-strike\cstrike)

Step #4
• Open your config.cfg file
• You can do this by Right-clicking and going to "Open With"
• The following screen will appear:




• Select Notepad or Wordpad
• Check the "Always use the selected....." checkbox
• Press ok

Step #5
• Inside your config.cfg file you should find the following line



• If you do not find this line, type it in
You have now created a buy script that will exec every time you load CS.
Thanks for taking the time to read. Happy Fragging.



COMMENTS »

No Comments


Add a Comment

Join SpawnPoint for free to comment on this story. Have an account already? Login to comment.

SpawnPoint: Game File Community featuring PC Video Gaming, Free PC Games, Counter-Strike, Action And Strategy Files, Game Forums and Game News