loadconfig

From Reflex Wiki
Jump to: navigation, search
loadconfig
Loads a configuration file.
Parameter(s) <config>
loadconfig <config>

Reflex stores its configuration files in the main game folder, i.e. under reflexfps\. The command automatically appends the extension .cfg, so that this should not be typed on the console.

loadconfig lets you "work with" your own configuration files, to then load them manually, or via key bind. An example usage might be to have a high quality and a low quality set of settings that are loaded on demand, e.g. HQ for screenshots and mapping, LQ for online play for maximum frame rate.

Also see saveconfig.

System configuration files

Central to the working of the game are reflexfps\game.cfg and reflexfps\editor.cfg.

Update: As of 0.33.1 the editor.cfg no longer exists. Now all bindings are saved in game.cfg using bind's new <mode> parameter.

The former defines the key bindings and console command settings when playing in game mode. These very much differ from the bindings and settings used by the map editor defined in the latter config. When switching between game and editor mode the appropriate configuration is automatically loaded.

There is also a reflexfps\dedicatedserver_default.cfg that demonstrates how to set up and run a dedicated server.

As of 0.31.x, four new config files have been added to quickly set the video quality (graphics presets):

  • reflexfps\vid_high.cfg
  • reflexfps\vid_medium.cfg
  • reflexfps\vid_low.cfg
  • reflexfps\vid_hi_vis.cfg

e.g. via loadconfig vid_high for high quality rendering.

Update: As of 0.33.1 these vid configs have been removed again.