Cvars

From UFO:AI

General

Cvars are available for dynamic configuration of the engine. You can always get a list of cvars by typing

cvarlist

to the console. See commands for more information.

We also have tab completion for the console. Just type the first letter(s) and hit Tab.

List

See also Cvars/Multiplayer.

Values in square brackets ('[' and ']') contain the possible possible values for each cvar. Do not leave them in.

vid_grabmouse [1|0]

Install or uninstall the mousegrab.

vid_fullscreen [1|0]

Fullscreen- or windowed-mode.

vid_ref [glx|sdl|gl]

OpenGL refresh - glx and sdl are *nix only - gl is Windows only

snd_init [1|0]

Start the sound engine or not.

developer [1|0]

Activates or deactivates the developer mode.

logfile [2|1|0]

Activates or deactivates the console log (written to base/ufoconsole.log).
The value 1 will start a new log every time to game starts up, value 2 will append to current logfile

s_language [language]

Will change/set the language (see base/i18n for valid languages; see also Manual/Language).

cl_showcoords [1|0]

Used to create or place new missions on geoscape - will show the clicked coordinates.

r_showbox [1|0]

Use the cvar r_showbox to draw the bounding box of a model.

cl_fps [1|0]

Displays the Frames per second on the screen when enabled.

Links

project-navigation