This is the sidebar
Basically, a cfg file is read line by line, and each line is feeded to the console as a command. There are multiple uses for this.
Config files are simple text files containing preference settings and commands for Nexuiz.
There are two main configuration files:
The other configuration files contain default settings. Some specific options are stored in an individual file (like weapons.cfg) and are executed from default.cfg.
There is also one very important cfg, quake.rc which is the very first executed file when you launch Nexuiz. Like the default cfgs, it is stored in the data pk3 archive.
Scripts are often made in a text editor, to be executed any time with the exec command.
All you need is a text editor. Just type one command per line, save the file in your data folder, and run it with the exec command. For example, if my cfg is called “foo.cfg”, all I get to do is open the console, and type “exec foo.cfg”.
You can also edit autoexec.cfg to add “exec foo.cfg” to it. This will launch your script every time Nexuiz starts.
Users can put their custom cfgs in a separate folder, to keep the root folder clean, as the exec command can read .cfgs in subdirectories.
GFDLcontent Unless mentioned on the licensing page, the work on this page is licensed under the GNU Free Documentation License. The author states that the text and images can be used within the restrictions of this license (for example, they can be incorporated into certain free encyclopedias such as Wikipedia). | |
Kindly hosted by NexuizNinjaz.com |