Documentation - Variables
Variables and commands can be used to change almost everything about how the game works. Type them in the console, such as /fov 100, or put them in your autoexec.cfg. These pages are made from the descriptions in config/usage.cfg, and the game’s Docs reader makes its own from the version you’re playing.
Where a family of variables shares a pattern, such as one for each weapon, the pages list it once with a placeholder (such as <weapon> or <team>), and the values it stands for are given above the table.
- General: Joining and leaving games, your player, recording movies and demos, and the clients in a game
- Movement: How players move: speeds, jumping and the other impulse moves, gravity, and moving through liquids
- Gameplay: The rules of a match: health, damage, spawning, items, teams and scoring
- Server: Running a server: its settings, the privileges needed for each action, moderation and the IRC relay
- Modes: Settings for each mode, and the aliases that pick a mode and its mutators
- Sound: Volume, music, footsteps, and how sounds carry, echo and give way to the announcer
- Interface: Menus, the HUD and the field of view
- Engine: The engine’s own settings, and the values it reports
- Editing: Editing maps: entities, the map’s settings, its lighting and sky, textures and materials
- Scripting: Binding keys, aliases, and the CubeScript commands that scripts are made of
- Weapons: Every weapon’s settings, one set for each weapon named by its prefix, such as pistolammoclip