R mode (cvar)
Description
This CVar determines the displayed video resolution.
Usage
At the console type…
r_mode [Screen Mode]
Parameters
- [Screen Mode] - The screen mode in integer format.
- -1 - Custom resolution determined by the CVars r_customHeight and r_customWidth .
- 0 - 320 x 240
- 1 - 400 x 300
- 2 - 512 x 384
- 3 - 640 x 480
- 4 - 800 x 600
- 5 - 1024 x 768
- 6 - 1152 x 864
- 7 - 1280 x 1024
- 8 - 1600 x 1200
Flags
Flag | Enabled | Description |
---|---|---|
CVAR_ALL | all flags | |
CVAR_BOOL | variable is a boolean | |
CVAR_INTEGER | X | variable is an integer |
CVAR_FLOAT | variable is a float | |
CVAR_SYSTEM | system variable | |
CVAR_RENDERER | X | renderer variable |
CVAR_SOUND | sound variable | |
CVAR_GUI | gui variable | |
CVAR_GAME | game variable | |
CVAR_TOOL | tool variable | |
CVAR_USERINFO | sent to servers, available to menu | |
CVAR_SERVERINFO | sent from servers, available to menu | |
CVAR_NETWORKSYNC | cvar is synced from the server to clients | |
CVAR_STATIC | X | statically declared, not user created |
CVAR_CHEAT | variable is considered a cheat | |
CVAR_NOCHEAT | X | variable is not considered a cheat |
CVAR_INIT | can only be set from the command-line | |
CVAR_ROM | display only, cannot be set by user at all | |
CVAR_ARCHIVE | X | set to cause it to be saved to a config file |
CVAR_MODIFIED | X | set when the variable is modified |
Notes
If you set this CVar from the console, changes will not take effect until you restart the renderer by typing vid_restart in the console.