Autoexec.cfg

From AssaultWiki
Jump to: navigation, search

autoexec.cfg is the name of the config file where you insert commands (without the preceding forward slash) to be automatically executed when the game starts up. You can use CubeScript in this file. It's located in the folder named config inside of your AssaultCube directory.

Everything you enter here (such as bind commands) will overwrite what is in saved.cfg. To revert to the default configuration, delete your saved.cfg and clear out your autoexec.cfg. When you run the game, a new saved.cfg will be created.

Sample autoexec.cfg

// this file gets executed if you start the game
name "[Clan]My Name"
musicvol 0 //no music
nextprimary 2 //use shotgun
fov 120 //maximum view
autoreload 0

External links

http://zink.timot.net/autoexec.html

Personal tools