HT Games
Home  >> Internet Games >> Online Games

How to Create CS 1.6 Scripts

Creating scripts for Counter-Strike 1.6 (CS) is helpful when you want to automate a series of keyboard presses into a single button. For example, a script can automatically buy all your weapons and equipment at the beginning of a round with a single key press. Create CS 1.6 scripts by modifying your "config.cfg" and "userconfig.cfg" files, which contain game settings and any script commands.

Instructions

    • 1

      Open a text editor such as Windows Notepad and create a new document.

    • 2

      Add any "alias" commands you want to use in the script. Start on a blank line and only add one command per line. For example, add the following text to have an "equip" alias automatically buy all your equipment at the beginning of a game:

      alias "equip" "primammo; secammo; vest; hegren; flash; defuser"

      The "equip" alias will now be available to future "bind" commands.

    • 3

      Save the file as "userconfig.cfg" in whichever of the two following directories exist on your system:

      C:\Program Files\Steam\SteamApps\your_email\Counter-Strike\Cstrike

      or

      C:\Program Files\Steam\SteamApps\Your_email\Counter-Strike\Cstrike_your_country\

      Replace "your_email" and "Cstrike_your_country" with your information.

    • 4

      Close the "userconfig.cfg" file.

    • 5

      Open the "config.cfg" file in the same text editor. The file is located in the same folder as where you just saved the "userconfig.cfg" file.

    • 6

      Add any "bind" commands you want to use in the script. For example, add the following text on a blank line:

      bind f1 "ak47; m4a1; glock; equip"

      This makes the "f1" key automatically buy a "Kalashnikov AK-47" or a "Colt M4A1 Carbine," depending if you are a terrorist or counter-terrorist, and a "Glock18 Select Fire." It also executes the previously defined "equip" alias from the "userconfig.cfg" file.

    • 7

      Type "exec userconfig.cfg" at the bottom of the file if it isn't already there. This directs CS 1.6 to open your "userconfig.cfg" file.

    • 8

      Save the file and close the text editor.

    • 9

      Open CS 1.6 and start a game to use your new script.


https://www.htfbw.com © HT Games