- 0 Talk
-
Manual/Console Commands
< Manual
See also: Command console
Here are shown a (incomplete) list with some of the most useful commands and cvars. For a more complete listing look the External Help section.
Contents |
Commands
Edit
To execute a command ingame press Shift+Esc to open the console and then write it preceded by a "/" symbol.
Also you can add commands you want to execute every time you start. To do it, you can write them in the baseoa\autoexec.cfg file in the game folder.
| Command usage | Effect |
|---|---|
| bind <key> "<command>" | Assign <key> to do <command> when pressed |
| exec <filename> | Execute <filename> script or config file. In Linux, the file can be placed in ~/.openarena/baseoa/. |
| record <filename> | Starts recording a demo with <filename> as output. |
| weapon <integer> | Select the weapon numbered as <integer>. (1.Gauntlet 2.Machinegun 3.Shotgun 4.GrenadeLauncher 5.RocketLauncher 6.Lightninggun 7.Railgun 8.Plasmagun 9.BFG10K) |
Variables
Edit
There are three ways to set a variable through the console:
/<cvar name> <value> works only if the cvar already exists
/set <cvar name> <value> if the cvar does not exist
/seta <cvar name> <value> if you want to archive (remember) the cvar. Will not work for all cvars.
Or start the game from the commandline with the parameter: +set <cvar name> <value>
Also, if you want to see the current value for a variable you can execute <cvar name> (without parameters) from the console to see it, along with its default value.
| Cvar | Type | Effect |
|---|---|---|
| bot_nochat | integer | 1 >= Disables the random bot chat, 2 >= Hide bot teamchat (bots can still hear each other). Hiding teamchat was not possible until 0.8.5 |
| com_blood | boolean | Enables all the blood and gibs |
| sv_allowdownload | boolean | Enables (if hosting a server) the ability for clients to download files from the server. |
| con_notifytime | integer | controls how long messages at the top of the screen are displayed before they scroll up off the screen (with negative value the messages won't show up). |
| cg_draw2d | boolean | Enables the graphics of the HUD. |
| sv_hostname "Server Name" | string | Set server name |
ioquake3 specific
Edit
Ioquake3 engine features a much improved TAB-completion. This means that you can type the beginning of a variable or command and press TAB to either complete the command or see a list of possible commands. This also works, for example, for completing map filenames.
Also, this engine has some additional commands and variables.
Commands
Edit
| Command usage | Effect |
|---|---|
| video <filename> | Start (if playing a demo) a video capture with <filename> as output. |
| stopvideo | Stop the video capture. |
Variables
Edit
| Cvar name | Type | Effect |
|---|---|---|
| s_useOpenAL | boolean | Use the OpenAl sound backend (if disabled it will use SDL library) |
| s_alSources | integer | Sets the amount of memory to allocate as source for OpenAl |
| cl_aviFrameRate | integer | Sets the framerate for captured videos |
See also
Edit
- Command console
- Command console#Remote control - How to remotely manage your server
- Manual/Graphic options