Jump to content

[CS][Guide] Creating an autoexec file (long explained)


Recommended Posts

Posted

This tutorial outlines how a user can create their own autoexec.cfg file from scratch. This file is critical if you use aliases or scripts. Also, it can be used to execute other files and game settings. So, this file is very important if you want to get the most out of your Counter-Strike experience. Let's get started!

Step #1 - Opening Text Program

Open Notepad or any Text program, (Wordpad, Word, Editpad, EditPlus2 etc will also work as long as you can save other file types besides .txt).

Step #2 - Add your Game Specific information and Common Commands

 

Game Specific info is usually Game settings that you want enabled or set at the start of every game. Some examples include: (name, rate, pushlatency, vgui_menus, fps_max).

 

Common Commands are commands or aliases that will be used in alot of your aliases and are redundant to type in every alias. Some examples of common commands are the use of shorter aliases for the menuselect commands: alias ms1 "menuselect 1" or alias mclr "slot10; wait; wait; slot10"

Step #3 - Add your Aliases

Now add your aliases into the file. If the alias came with a bind, like the ones on the examples page, the bind line will not go in the autoexec, but in the config file. Note - Don't add too many aliases to one cfg file. If you have a ton of aliases, then you will want to create separate cfg files.

Step #4 - Add Execution Lines

 

If you are using other cfg files to keep your Scripts more organized or to keep your autoexec a reasonable size, then you will need to execute that file. You will have to add the line:exec yourfile.cfg to the autoexec file.

Step #5 - Add Echo Lines

Add "echo" lines to the autoexec. A good idea is to add echo lines to your autoexec so you can actually watch the status of the files being executed during game loading. Here is an example:

 

echo

"Autoexec is Loading"

echo

The lines with nothing else but echo on them will come up as breaks.

Step #6 - Saving the File Properly

This is one of the most common problems when people make an autoexec file. You must save the file as this:

autoexec.cfg

and the "All Files" must be selected as the File Type, which is the pull down menu bar located directly under the filename. Then the file must be in the proper directory. It goes in your cstrike directory.

 

Defaults for CS 1.6 are steam

The defaults for CS 1.5 and older versions are: C:\SIERRA\Half-Life\cstrike for the downloaded version and C:\SIERRA\Counter-Strike\cstrike for the Retail Version.

Step #7 - Check for Common Problems

1. Saving the file as a .txt file (which is the standard default file type in Notepad and WordPad) . The filename looks correct, but when you view the properties it says Text file. The autoexec must be saved as a .cfg file!

 

2. Misspelling the filename, must be spelled "autoexec"

 

3. Placed file in wrong directory - Must go in the cstrike directory

 

CrEdItS: My tEaM (GH TeAm)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • 🏰 Clan Donations System – Power Through Unity This system allows clan members to support their clan directly through donations, turning contribution into strength.   How it works: Every donation made by a clan member is automatically listed in the clan donation panel. Each donation is permanently linked to the clan — no loss, no reset. The Clan Leader manages rewards manually for full transparency.   🎁 Clan Donation Rewards For every donation: The clan receives 5% Real Money or 10% Donate Coins (Leader chooses how the reward is given)   📌 After the reward is delivered, the donation is marked as PAID in the system. 🧾 Full Transparency Player name Donation amount Reward value (Real / Donate Coins) Date & status (Pending / Paid)   Everything is visible. Everything is tracked. Nothing is forgotten.   ⚔️ Support your clan. Strengthen your alliance. Power is built — not given.   https://www.l2dead.com/ https://discord.gg/TGnATuZmdt
    • up  corrected some retail crashes and hooked some new memory adresses that were missing  fix some missing retail behaviors on some recipes , you can also get the server as c4 with fixed scripts fully retail  what has been done to the c4  ( client is already configured) totally fixed npcposes  totally fixed raidbosses and minions bugged quests are fixed (known) a lot of recipes that were wrong  wrong values in several stats and corrected hero weapons behaviors/atk range
    • ποιο ειναι αρχαιο ακριβως? εκανες τον κοπο να ανοιξεις τα λινκς που εστειλα? 
    • Rates: xp45x / sp50x / adena50x (all adena is divided by 100/all shops prices too) Server: Full Official interlude server  with custom modifications Gameplay: l2Gold weapons - jewels, Buffs 1 hour, rebirth, No class change quests, increased movement speed on all classes   Download patch here: https://mega.nz/file/oZdG2KTa#1uTYSyEkNQV9U0Zxj-KLDE88mLj4pzQJZSYs2k3tpzo   Our server is waiting for all Lineage 2 fans who want to relive the good old days. This server is non-profit and fully dedicated to the community. There is no corruption, no pay-to-win, and no hidden agendas—just pure classic L2 fun.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..