
- #Hl2 how to make an autoexec how to#
- #Hl2 how to make an autoexec code#
- #Hl2 how to make an autoexec windows#
Writes a log file of the console to steamapps\common\GarrysMod\garrysmod\console. Lowers FPS a bit, however will reduce FPS jumpings and make the Number more stable (better for recording)Įmulates OpenGL on Windows, provides a framerate boost for most GPUs heapsize "16777216" (PC's with 32GB of system RAM) heapsize "12582912" (PC's with 24GB of system RAM) heapsize "8388608" (PC's with 16GB of system RAM) heapsize "6291456" (PC's with 12GB of system RAM) heapsize "4194304" (PC's with 8GB of system RAM) heapsize "3145728" (PC's with 6GB of system RAM) heapsize "2097152" (PCs with 4GB system RAM) heapsize "1572864" (PC's with 3GB of system RAM) For those noobs that dont know what this is, it is a simple file that you make that holds all your console commands and binds that you want loaded at the start of a game.
#Hl2 how to make an autoexec how to#
heapsize "1048576" (PC's with 2GB of system RAM) Hey community ) I just made a YouTube video on how to create an autoexec.cfg file. The following text can be copied straight into your is a list of numbers for a few amounts of memory:
#Hl2 how to make an autoexec code#
(text following “//” (comments) is ignored in the autoexec. Create two files:redux.cfg,autoexec.cfg Open them with notepad Paste the code in these files Put them into bin folder In the Half-Life 2 folder To be sure it does work,open the console and type: exec redux.cfg If in commentary typed //redux paste the code below in redux.cfg If in commentary typed //autoexec paste the code below in autoexec.
#Hl2 how to make an autoexec windows#
Again, on Windows you could do this by right clicking the file and selecting “Open with” and then “Notepad”. Even though the file type has changed, you will still use notepad to edit it (right click on it and. If you’ve already created a macro that does what you want to happen when the database starts, just rename the macro AutoExec, and it will run the next time that you open the database. Rename it from New Text Document.txt to autoexec.cfg. Autoexec (auto execute) are config files for Counter Strike Global Offensive which host commands to run on start up. Create an AutoExec macro in a desktop database An AutoExec macro (a macro that you name AutoExec ) runs before any other macros or modules in the database. Do this by editing the file in a text editor. Go to the hl2mp folder and open up the cfg folder: C:Program FilesSteamSteamAppsyouraccountnamehalf-life 2 deathmatchhl2mpcfg Create a text file here. You can bind a key to a command, like npccreate npcpigeon is supposed to spawn a pigeon, so once you enter bind P npccreate npcpigeon on your console, or in your config file like your autoexec.cfg or your config.cfg located in your SteamSteamAppscommonHalf-Life 2 Updatehl2cfg folder, you should be able to just hit that P key to spawn. Now you can enter any commands you want into the autoexec file. Step 3: Edit and configure your autoexec.cfg file On Windows, do this by right clicking in the folder, go to “New” and then click “Text document”. You need to use that exact name, otherwise it won’t work.

now open the valve.rc with notepad and youll see something loke this // load the base configuration //exec default.cfg // Setup custom controller exec joystick.cfg // run a user script file if present exec autoexec.cfg // // stuff command line statements. Add the line there and it will run at game start. Create new cfg file using notepad in folder :/your hl2 dir/hl2/cfg/.name it turret.

Make sure its icon changes to look the same as the config.cfg and doesnt stay a text file. Once you’re in the cfg folder, you should create a new file named “autoexec.cfg”. Crosshairs for : Using the HL2 Console To enable the console in HL2 and make it available during the game, create an autoexec.cfg file inside the CFG folder. You need to create a new file in that folder (C:Program FilesValveSteamSteamAppsusernamehalf-life 2hl2cfg) named autoexec.cfg Make a new text doc and rename it. ok here are the commands, you add them to the config.cfg file located in the steam>steamapps>yoursteamname>counter-strike source>cstrike>cfg file, BUT right after you add them to the end of the config. Where “” is the ID of your Steam account (for example “91325575”). This is a detailed Reddit thread on how to do so, but in short you can find CS:GOs config folder under the path: “…Steamuserdata730localcfg”. In this guide we’ll run through how you create one and give you some tips on what to include.įirst off, you’ll need to locate your config folder. The autoexec.cfg file is automatically executed on startup like the config.cfg file, and can contain pretty much any client-side command in Counter Strike: Global Offensive. An autoexec.cfg file is used in CS:GO to ensure some commands / settings are always set.
