View a large list of alias examples by visiting the wiki page on Aliases.īy default, after leaving the games normal bounds, the surrounding area is just white. They are incredibly powerful, but are forgotten by the game upon closing, so they are perfect for an autoexec. The first argument will be the name of whatever command you are creating, and the second argument is what will happen as the result of you calling that command. Sar_speedrun_time_pauses 0 - Timer will not continue while paused (Be sure to look into rules about pause abuse)Ĭl_showpos 1 - Shows your player's look angle, and position and velocity (Used for Secret Panel, Column Blocker, and Three Gels)Īlias is a console command that takes two arguments. Sar_speedrun_offset 16868 - Offset for your timer to work with the containerridesave Sar_autorecord 1 - Will continue demo recordings after death and through level transitions Sar_speedrun_autostart 0 - Prevents immediate start when loading into the level cvars like cl_showpos and r_portal_use_pvs_optimization are reverted to 0 after restarting.SAR commands are not kept between sessions, as well as SAR loading itself.You can put anything you want in your autoexec, a good autoexec should save you time and keep you from having to type any commands into Portal 2 when you launch the game.
#HOW TO MAKE AN AUTOEXEC CFG FILE HOW TO#
How to show/change file names on Windows 10.
![how to make an autoexec cfg file how to make an autoexec cfg file](https://i.imgur.com/30ikZWK.png)
There is a chance you don't have this file by default, creating it should be fine, just ensure that you have the right file type.
![how to make an autoexec cfg file how to make an autoexec cfg file](https://www.thenerdmag.com/wp-content/uploads/2018/10/counter-strike-global-offensive-game-hd-wallpaper-1920x1080-8967.jpg)
The autoexec is located at Portal 2's installation folder (usually C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2\cfg), and is called autoexec.cfg. cfg Files and Aliases Where is my autoexec? cfg files, and configuration files check out the page on. It is most commonly used to alter settings that are reverted after every game close.įor more information on. The autoexec is a configuration file that stores settings.cfg Files can be executed by Portal 2, and the autoexec is a configuration file that is executed upon launch of your game. Video with common examples and explanations