Q2 Config-O-Matic

Generating an R1Q2 client config

VariableValueDefaultDescription
cl_async 0 (Disabled)
1 (Enabled)
1 Enable asynchronous FPS. This will allow you to use high rendering frame rates without flooding the network, as traditionally Quake II sends one packet per frame. Note that when enabled, some physics might feel slightly different. If this is enabled, the cl_maxfps cvar controls the network packet rate and the r_maxfps cvar controls the rendering frame rate. If disabled, cl_maxfps and r_maxfps become the same thing. Note, if you use a joystick / joypad or similar, you must have cl_async set to 0.
cl_maxfps 30 If cl_async is enabled, cl_maxfps controls the number of packets per second to send to the server. If cl_async is disabled, this controls both the network and rendering FPS.
r_maxfps 1000 If cl_async is enabled, r_maxfps controls the maximum number of frames rendered per second. If cl_async is disabled, this controls both the network and rendering FPS.
m_directinput 0 (Disabled)
1 (Enabled (buffered))
2 (Enabled (immediate))
0 Enable DirectInput for mouse movement. DirectInput provides smoother mouse response and removes any mouse acceleration. If enabled, buffered mode ensures every single mouse event is reported to R1Q2. Immediate mode takes a 'snapshot' at the moment input is required and thus may miss very quick button clicks or other fast actions, but may be more responsive on slower PCs.
m_fixaccel 0 (Disabled)
1 (Enabled)
varies Enable a 'fix' for the mouse acceleration changes that Microsoft made on Windows 2000 and higher. By default, mouse acceleration is enabled on Windows 2000 or higher which is the opposite of what happens on earlier OSes. Enabling this fix attempts to remove the acceleration. The default value is enabled if the OS is detected to be Windows 2000 or higher, disabled otherwise. Use of DirectInput is recommended over this setting.
in_dinputkeyboard 0 (Disabled)
1 (Enabled)
0 Enable DirectInput for keyboard control. Not usually required, although if you find buttons seem to continue to act as if they are pressed for a few seconds after you release them, you can enable this to try and fix it.
cl_drawfps 0 (Disabled)
1 (Enabled)
0 Draw the current frames per second on the screen.
cl_cmdcomplete 0 (Standard Quake II)
1 (ProQuake Style)
2 (R1Q2 Style)
0 Control how commands / cvars are completed when you press <TAB> in the console. Standard Quake II just completes the first matching command, ProQuake displays a list of commands and R1Q2 style shows both a list of commands and cvars.
cl_smoothsteps 0 (Disabled)
1 (Normal)
2 (Aggressive)
3 (Detect)
3 Control how walking up steps is smoothed. When using cl_async 1, the original stair smoothing code does not work so well, so you can use this cvar to control it. Aggressive smoothing may attempt to smooth things that are not stairs. Detect smoothing attempts to detect stairs by their height and only smooths those.
cl_defermodels 0 (Disabled)
1 (Enabled)
1 Defer loading of models until you are in game. This provides a faster connection process but may cause a small amount of jitter when first entering a map.
cl_autorecord 0 (Disabled)
1 (Enabled)
0 Automatically begin demo recording at the start of the map.
cl_railtrail 0 Control the railgun trail effect. Values from 1-5 use a 'Xania' style laser beam, values higher than 5 control the color of the original railgun trail.
cl_beginmapcmd A series of commands to execute at the start of a map.
cl_endmapcmd A series of commands to execute at the end of the map. For example, set this to 'screenshot' if you would like an end of level screenshot.
net_maxmsglen 1390 Maximum network message size that your client wants to receive. If connected to an R1Q2 server, larger messages can be used if the 1390 byte limit is too small, however a number of consumer routers and modems are unable to handle large UDP packets properly. Set this to 0 and it will use the best available message length as provided by the server, but if you notice you are unable to enter servers, your router is probably causing problems and you should reset it to the default. It's only worth changing this if you play mods that have extremely heavy activity.
s_ambient 0 (Disabled)
1 (Enabled)
1 Control whether ambient/looping sounds are played. Note that in addition to the map sounds, this will also affect weapons such as the rocket flying round, railgun hum and others.
s_initsound 0 (No sound)
1 (DirectSound)
2 (OpenAL)
1 Select which sound engine to use. OpenAL provides more realistic 3D spatialization but requires the OpenAL runtimes and is currently still experimental. See the R1Q2 readme for further information.
s_openal_device DirectSound3D
DirectSound
MMSYSTEM
DirectSound3D Select which OpenAL driver to use if using OpenAL.
fs_cache 0 (No caching)
3 (PAKs only)
7 (Everything)
7 Control the level of caching by the file subsystem. Once a file is cached, it may not be modified without either restarting R1Q2 or issuing the 'fsflushcache' command.

By default, only cvars that are changed from the default value will be included in the output. If you prefer, you can include all cvars in output.