Difference between revisions of "Loadconfig"

From Reflex Wiki
Jump to: navigation, search
m
m (I explicitly mention where the config files go, a while back the main Reflex Steam folder was changed though!)
 
Line 7: Line 7:
 
| alternate_key =
 
| alternate_key =
 
| short_descr  = Loads a configuration file.
 
| short_descr  = Loads a configuration file.
| description  = '''''Reflex''''' stores its configuration files in the main game folder, i.e. under <code>Reflex\</code>. The command automatically appends the extension <code>.cfg</code>, so that this should not be typed on the console.
+
| description  = '''''Reflex''''' stores its configuration files in the main game folder, i.e. under <code>reflexfps\</code>. The command automatically appends the extension <code>.cfg</code>, 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.
 
[[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.
Line 14: Line 14:
  
 
== System configuration files ==
 
== System configuration files ==
Central to the working of the game are <code>Reflex\'''game.cfg'''</code> and <code>Reflex\'''editor.cfg'''</code>.
+
Central to the working of the game are <code>reflexfps\'''game.cfg'''</code> and <code>reflexfps\'''editor.cfg'''</code>.
  
 
'''Update:''' As of 0.33.1 the <code>editor.cfg</code> no longer exists. Now all bindings are saved in <code>'''game.cfg'''</code> using [[bind]]'s new <code><mode></code> parameter.
 
'''Update:''' As of 0.33.1 the <code>editor.cfg</code> no longer exists. Now all bindings are saved in <code>'''game.cfg'''</code> using [[bind]]'s new <code><mode></code> parameter.
Line 20: Line 20:
 
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.
 
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 <code>Reflex\'''dedicatedserver_default.cfg'''</code> that demonstrates how to set up and run a dedicated server.
+
There is also a <code>reflexfps\'''dedicatedserver_default.cfg'''</code> that demonstrates how to set up and run a dedicated server.
  
 
As of [[Reflex Changelog 0.31.x#Client|0.31.x]], four new config files have been added to quickly set the '''video quality''' (graphics presets):
 
As of [[Reflex Changelog 0.31.x#Client|0.31.x]], four new config files have been added to quickly set the '''video quality''' (graphics presets):
  
* <code>Reflex\'''vid_high.cfg'''</code>
+
* <code>reflexfps\'''vid_high.cfg'''</code>
* <code>Reflex\'''vid_medium.cfg'''</code>
+
* <code>reflexfps\'''vid_medium.cfg'''</code>
* <code>Reflex\'''vid_low.cfg'''</code>
+
* <code>reflexfps\'''vid_low.cfg'''</code>
* <code>Reflex\'''vid_hi_vis.cfg'''</code>
+
* <code>reflexfps\'''vid_hi_vis.cfg'''</code>
  
 
e.g. via <code>[[loadconfig]] vid_high</code> for high quality rendering.
 
e.g. via <code>[[loadconfig]] vid_high</code> for high quality rendering.

Latest revision as of 03:15, 27 December 2015

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.