1 ; Global Configuration Settings
3 ; **************************************************************
4 ; * DO NOT EDIT THIS FILE if you want personal customisations: *
5 ; * create a text file called "local.cfg" instead, and copy *
6 ; * the lines from this file that you want to change. *
8 ; * If a setting is part of a section (for instance [hotkey]) *
9 ; * you need to append the section name at the beginning of *
10 ; * your custom line (for instance you need to write *
11 ; * "hotkey.pause = Space" if you want to change the pausing *
12 ; * hotkey to the spacebar). *
14 ; * On Linux, create: *
15 ; * $XDG_CONFIG_HOME/0ad/config/local.cfg *
16 ; * (Note: $XDG_CONFIG_HOME defaults to ~/.config) *
18 ; * On OS X, create: *
19 ; * ~/Library/Application\ Support/0ad/config/local.cfg *
21 ; * On Windows, create: *
22 ; * %appdata%\0ad\config\local.cfg *
24 ; **************************************************************
26 ; Enable/disable windowed mode by default. (Use Alt+Enter to toggle in the game.)
29 ; Show detailed tooltips (Unit stats)
30 showdetailedtooltips = false
32 ; Pause the game on window focus loss (Only applicable to single player mode)
33 pauseonfocusloss = true
35 ; Persist settings after leaving the game setup screen
36 persistmatchsettings = true
38 ; Default player name to use in multiplayer
39 ; playername = "anonymous"
41 ; Default server name or IP to use in multiplayer
42 multiplayerserver = "127.0.0.1"
44 ; Force a particular resolution. (If these are 0, the default is
45 ; to keep the current desktop resolution in fullscreen mode or to
46 ; use 1024x768 in windowed mode.)
50 ; Force a non-standard bit depth (if 0 then use the current desktop bit depth)
53 ; Preferred display (for multidisplay setups, only works with SDL 2.0)
56 ; Emulate right-click with Ctrl+Click on Mac mice
61 ; if false, actors won't be rendered but anything entity will be.
64 watereffects=true ; When disabled, force usage of the fixed pipeline water. This is faster, but really, really ugly.
65 waterfancyeffects = false
67 waterrefraction = true
68 waterreflection = true
69 shadowsonwater = false
72 shadowquality = 0 ; Shadow map resolution. (-2 - Very Low, -1 - Low, 0 - Medium, 1 - High, 2 - Very High)
73 ; High values can crash the game when using a graphics card with low memory!
84 noframebufferobject = false
86 ; Disable hardware cursors
89 ; Linux only: Set the driconf force_s3tc_enable option at startup,
90 ; for compressed texture support
91 force_s3tc_enable = true
93 ; Specify the render path. This can be one of:
94 ; default Automatically select one of the below, depending on system capabilities
95 ; fixed Only use OpenGL fixed function pipeline
96 ; shader Use vertex/fragment shaders for transform and lighting where possible
97 ; Using 'fixed' instead of 'default' may work around some graphics-related problems,
98 ; but will reduce performance and features when a modern graphics card is available.
101 ;;;;; EXPERIMENTAL ;;;;;
102 ; Prefer GLSL shaders over ARB shaders. Allows fancier graphical effects.
105 ; Experimental probably-non-working GPU skinning support; requires preferglsl; use at own risk
108 ; Use smooth LOS interpolation
111 ; Use screen-space postprocessing filters (HDR, bloom, DOF, etc). Incompatible with fixed renderpath.
114 ; Quality level of shader effects (set to 10 to display all effects)
115 materialmgr.quality = 2.0
117 ; Maximum distance to display parallax effect. Set to 0 to disable parallax.
118 materialmgr.PARALLAX_DIST.max = 150
119 ; Maximum distance to display high quality parallax effect.
120 materialmgr.PARALLAX_HQ_DIST.max = 75
121 ; Maximum distance to display very high quality parallax effect. Set to 30 to enable.
122 materialmgr.PARALLAX_VHQ_DIST.max = 0
123 ;;;;;;;;;;;;;;;;;;;;;;;;
125 ; Replace alpha-blending with alpha-testing, for performance experiments
126 forcealphatest = false
128 ; Color of the sky (in "r g b" format)
132 session = 60 ; Throttle FPS in running games (prevents 100% CPU workload).
133 menu = 30 ; Throttle FPS in menus only.
136 ; Each one of the specified keys will trigger the action on the left
137 ; for multiple-key combinations, separate keys with '+'.
138 ; See keys.txt for the list of key names.
141 exit = "Ctrl+Break", "Super+Q" ; Exit to desktop
142 cancel = Escape ; Close or cancel the current dialog box/popup
143 leave = Escape ; End current game or Exit
144 confirm = Return ; Confirm the current command
145 pause = Pause ; Pause/unpause game
146 screenshot = F2 ; Take PNG screenshot
147 bigscreenshot = "Shift+F2" ; Take large BMP screenshot
148 togglefullscreen = "Alt+Return" ; Toggle fullscreen/windowed mode
149 screenshot.watermark = "Alt+K" ; Toggle product/company watermark for official screenshots
150 wireframe = "Alt+Shift+W" ; Toggle wireframe mode
151 silhouettes = "Alt+Shift+S" ; Toggle unit silhouettes
152 showsky = "Alt+Z" ; Toggle sky
155 summary = "Ctrl+Tab" ; Toggle in-game summary
156 lobby = "Alt+L" ; Show the multiplayer lobby in a dialog window.
157 structree = "Alt+Shift+T" ; Show structure tree
158 civinfo = "Alt+Shift+H" ; Show civilization info
160 ; > CLIPBOARD CONTROLS
161 copy = "Ctrl+C" ; Copy to clipboard
162 paste = "Ctrl+V" ; Paste from clipboard
163 cut = "Ctrl+X" ; Cut selected text and copy to the clipboard
166 console.toggle = BackQuote, F9 ; Open/close console
169 fps.toggle = "Alt+F" ; Toggle frame counter
170 realtime.toggle = "Alt+T" ; Toggle current display of computer time
171 session.devcommands.toggle = "Alt+D" ; Toggle developer commands panel
172 timeelapsedcounter.toggle = "F12" ; Toggle time elapsed counter
173 session.showstatusbars = Tab ; Toggle display of status bars
174 session.highlightguarding = PgDn ; Toggle highlight of guarding units
175 session.highlightguarded = PgUp ; Toggle highlight of guarded units
176 session.toggleattackrange = "Alt+C" ; Toggle display of attack range overlays of selected defensive structures
177 session.toggleaurasrange = "Alt+V" ; Toggle display of aura range overlays of selected units and structures
178 session.togglehealrange = "Alt+B" ; Toggle display of heal range overlays of selected units
179 session.diplomacycolors = "Alt+X" ; Toggle diplomacy colors
182 chat = Return ; Toggle chat window
183 teamchat = "T" ; Toggle chat window in team chat mode
184 privatechat = "L" ; Toggle chat window and select the previous private chat partner
187 quicksave = "Shift+F5"
188 quickload = "Shift+F8"
191 reset = "R" ; Reset camera rotation to default.
192 follow = "F" ; Follow the first unit in the selection
193 rallypointfocus = unused ; Focus the camera on the rally point of the selected building
194 zoom.in = Plus, Equals, NumPlus ; Zoom camera in (continuous control)
195 zoom.out = Minus, NumMinus ; Zoom camera out (continuous control)
196 zoom.wheel.in = WheelUp ; Zoom camera in (stepped control)
197 zoom.wheel.out = WheelDown ; Zoom camera out (stepped control)
198 rotate.up = "Ctrl+UpArrow", "Ctrl+W" ; Rotate camera to look upwards
199 rotate.down = "Ctrl+DownArrow", "Ctrl+S" ; Rotate camera to look downwards
200 rotate.cw = "Ctrl+LeftArrow", "Ctrl+A", Q ; Rotate camera clockwise around terrain
201 rotate.ccw = "Ctrl+RightArrow", "Ctrl+D", E ; Rotate camera anticlockwise around terrain
202 rotate.wheel.cw = "Shift+WheelUp", MouseX1 ; Rotate camera clockwise around terrain (stepped control)
203 rotate.wheel.ccw = "Shift+WheelDown", MouseX2 ; Rotate camera anticlockwise around terrain (stepped control)
204 pan = MouseMiddle ; Enable scrolling by moving mouse
205 left = A, LeftArrow ; Scroll or rotate left
206 right = D, RightArrow ; Scroll or rotate right
207 up = W, UpArrow ; Scroll or rotate up/forwards
208 down = S, DownArrow ; Scroll or rotate down/backwards
209 scroll.speed.increase = "Ctrl+Shift+S" ; Increase scroll speed
210 scroll.speed.decrease = "Ctrl+Alt+S" ; Decrease scroll speed
211 rotate.speed.increase = "Ctrl+Shift+R" ; Increase rotation speed
212 rotate.speed.decrease = "Ctrl+Alt+R" ; Decrease rotation speed
213 zoom.speed.increase = "Ctrl+Shift+Z" ; Increase zoom speed
214 zoom.speed.decrease = "Ctrl+Alt+Z" ; Decrease zoom speed
217 1 = F5 ; Jump to position N
227 [hotkey.camera.jump.set]
228 1 = "Ctrl+F5" ; Set jump position N
240 toggle = "F11" ; Enable/disable real-time profiler
241 save = "Shift+F11" ; Save current profiler data to logs/profile.txt
243 toggle = "Ctrl+F11" ; Enable/disable HTTP/GPU modes for new profiler
246 add = Shift ; Add units to selection
247 militaryonly = Alt ; Add only military units to the selection
248 nonmilitaryonly = "Alt+Y" ; Add only non-military units to the selection
249 idleonly = "I" ; Select only idle units
250 woundedonly = "O" ; Select only wounded units
251 remove = Ctrl ; Remove units from selection
252 cancel = Esc ; Un-select all units and cancel building placement
253 idleworker = Period ; Select next idle worker
254 idlewarrior = ForwardSlash ; Select next idle warrior
255 idleunit = BackSlash ; Select next idle unit
256 offscreen = Alt ; Include offscreen units in selection
257 [hotkey.selection.group.add]
268 [hotkey.selection.group.save]
279 [hotkey.selection.group.select]
292 kill = Delete ; Destroy selected units
293 stop = "H" ; Stop the current action
294 backtowork = "Y" ; The unit will go back to work
295 unload = "U" ; Unload garrisoned units when a building/mechanical unit is selected
296 move = unused ; Modifier to move to a point instead of another action (e.g. gather)
297 attack = Ctrl ; Modifier to attack instead of another action (e.g. capture)
298 attackmove = Ctrl ; Modifier to attackmove when clicking on a point
299 attackmoveUnit = "Ctrl+Q" ; Modifier to attackmove targeting only units when clicking on a point (should contain the attackmove keys)
300 garrison = Ctrl ; Modifier to garrison when clicking on building
301 autorallypoint = Ctrl ; Modifier to set the rally point on the building itself
302 guard = "G" ; Modifier to escort/guard when clicking on unit/building
303 patrol = "P" ; Modifier to patrol a unit
304 repair = "J" ; Modifier to repair when clicking on building/mechanical unit
305 queue = Shift ; Modifier to queue unit orders instead of replacing
306 orderone = Alt ; Modifier to order only one entity in selection.
307 batchtrain = Shift ; Modifier to train units in batches
308 massbarter = Shift ; Modifier to barter bunch of resources
309 masstribute = Shift ; Modifier to tribute bunch of resources
310 noconfirmation = Shift ; Do not ask confirmation when deleting a building/unit
311 fulltradeswap = Shift ; Modifier to put the desired trade resource to 100%
312 unloadtype = Shift ; Modifier to unload all units of type
313 deselectgroup = Ctrl ; Modifier to deselect units when clicking group icon, instead of selecting
314 rotate.cw = RightBracket ; Rotate building placement preview clockwise
315 rotate.ccw = LeftBracket ; Rotate building placement preview anticlockwise
318 toggle = "Alt+G" ; Toggle visibility of session GUI
319 menu.toggle = "F10" ; Toggle in-game menu
320 barter.toggle = "Ctrl+B" ; Toggle in-game barter/trade page
321 tutorial.toggle = "Ctrl+P" ; Toggle in-game tutorial panel
323 [hotkey.session.savedgames]
324 delete = Delete ; Delete the selected saved game asking confirmation
325 noconfirmation = Shift ; Do not ask confirmation when deleting a game
327 [hotkey.session.queueunit] ; > UNIT TRAINING
328 1 = "Z" ; add first unit type to queue
329 2 = "X" ; add second unit type to queue
330 3 = "C" ; add third unit type to queue
331 4 = "V" ; add fourth unit type to queue
332 5 = "B" ; add fivth unit type to queue
333 6 = "N" ; add sixth unit type to queue
334 7 = "M" ; add seventh unit type to queue
335 8 = Comma ; add eighth unit type to queue
337 [hotkey.session.timewarp]
338 fastforward = Space ; If timewarp mode enabled, speed up the game
339 rewind = Backspace ; If timewarp mode enabled, go back to earlier point in the game
342 next = "Tab", "Alt+S" ; Show the next tab
343 prev = "Shift+Tab", "Alt+W" ; Show the previous tab
345 [hotkey.text] ; > GUI TEXTBOX HOTKEYS
346 delete.left = "Ctrl+Backspace" ; Delete word to the left of cursor
347 delete.right = "Ctrl+Del" ; Delete word to the right of cursor
348 move.left = "Ctrl+LeftArrow" ; Move cursor to start of word to the left of cursor
349 move.right = "Ctrl+RightArrow" ; Move cursor to start of word to the right of cursor
352 cursorblinkrate = 0.5 ; Cursor blink rate in seconds (0.0 to disable blinking)
353 scale = 1.0 ; GUI scaling factor, for improved compatibility with 4K displays
356 enabletips = true ; Enable/Disable tips during gamesetup (for newcomers)
357 assignplayers = everyone ; Whether to assign joining clients to free playerslots. Possible values: everyone, buddies, disabled.
358 aidifficulty = 3 ; Difficulty level, from 0 (easiest) to 5 (hardest)
359 aibehavior = "random" ; Default behavior of the AI (random, balanced, aggressive or defensive)
360 settingsslide = true ; Enable/Disable settings panel slide
363 camerajump.threshold = 40 ; How close do we have to be to the actual location in order to jump back to the previous one?
364 timeelapsedcounter = false ; Show the game duration in the top right corner
365 ceasefirecounter = false ; Show the remaining ceasefire time in the top right corner
366 batchtrainingsize = 5 ; Number of units to be trained per batch by default (when pressing the hotkey)
367 scrollbatchratio = 1 ; Number of times you have to scroll to increase/decrease the batchsize by 1
368 woundedunithotkeythreshold = 33 ; The wounded unit hotkey considers the selected units as wounded if their health percentage falls below this number
369 attackrange = true ; Display attack range overlays of selected defensive structures
370 aurasrange = true ; Display aura range overlays of selected units and structures
371 healrange = true ; Display heal range overlays of selected units
372 rankabovestatusbar = true ; Show rank icons above status bars
373 respoptooltipsort = 0 ; Sorting players in the resources and population tooltip by value (0 - no sort, -1 - ascending, 1 - descending)
375 [gui.session.minimap]
376 blinkduration = 1.7 ; The blink duration while pinging
377 pingduration = 50.0 ; The duration for which an entity will be pinged after an attack notification
379 [gui.session.notifications]
380 attack = true ; Show a chat notification if you are attacked by another player
381 tribute = true ; Show a chat notification if an ally tributes resources to another team member if teams are locked, and all tributes in observer mode
382 barter = true ; Show a chat notification to observers when a player bartered resources
383 phase = completed ; Show a chat notification if you or an ally have started, aborted or completed a new phase, and phases of all players in observer mode. Possible values: none, completed, all.
386 enable = true ; Enable/disable the splashscreen
387 version = 0 ; Splashscreen version (date of last modification). By default, 0 to force splashscreen to appear at first launch
389 [gui.session.diplomacycolors]
390 self = "21 55 149" ; Color of your units when diplomacy colors are enabled
391 ally = "86 180 31" ; Color of allies when diplomacy colors are enabled
392 neutral = "231 200 5" ; Color of neutral players when diplomacy colors are enabled
393 enemy = "150 20 20" ; Color of enemies when diplomacy colors are enabled
395 [joystick] ; EXPERIMENTAL: joystick/gamepad settings
407 timestamp = true ; Show at which time chat messages have been sent
410 extended = true ; Whether to display the chat history
413 history = 0 ; Number of past messages to display on join
414 room = "arena23" ; Default MUC room to join
415 server = "lobby.wildfiregames.com" ; Address of lobby server
416 require_tls = true ; Whether to reject connecting to the lobby if TLS encryption is unavailable.
417 verify_certificate = false ; Whether to reject connecting to the lobby if the TLS certificate is invalid (TODO: wait for Gloox GnuTLS trust implementation to be fixed)
418 terms_of_service = "0" ; Version (hash) of the Terms of Service that the user has accepted
419 terms_of_use = "0" ; Version (hash) of the Terms of Use that the user has accepted
420 privacy_policy = "0" ; Version (hash) of the Privacy Policy that the user has accepted
421 xpartamupp = "wfgbot23" ; Name of the server-side XMPP-account that manage games
422 echelon = "echelon23" ; Name of the server-side XMPP-account that manages ratings
423 buddies = "," ; Comma separated list of playernames that the current user has marked as buddies
424 rememberpassword = true ; Whether to store the encrypted password in the user config
427 gamerating = false ; Show the average rating of the participating players in a column of the gamelist
430 enabled = true ; The STUN protocol allows hosting games without configuring the firewall and router.
431 ; If STUN is disabled, the game relies on direct connection, UPnP and port forwarding.
432 server = "lobby.wildfiregames.com" ; Address of the STUN server.
433 port = 3478 ; Port of the STUN server.
434 delay = 200 ; Duration in milliseconds that is waited between STUN messages.
435 ; Smaller numbers speed up joins but also become less stable.
438 enabledmods = "mod public"
441 public_key = "RWQBhIRg+dOifTWlwgYHe8RfD8bqoDh1cCvygboAl3GOUKiCo0NlF4fw" ; Public key corresponding to the private key valid mods are signed with
442 disclaimer = "0" ; Version (hash) of the Disclaimer that the user has accepted
445 baseurl = "https://api.mod.io/v1"
446 api_key = "23df258a71711ea6e4b50893acc1ba55"
450 duplicateplayernames = false ; Rename joining player to "User (2)" if "User" is already connected, otherwise prohibit join.
451 lateobservers = everyone ; Allow observers to join the game after it started. Possible values: everyone, buddies, disabled.
452 observerlimit = 8 ; Prevent further observer joins in running games if this limit is reached
453 gamestarttimeout = 60000 ; Don't disconnect clients timing out in the loading screen and rejoin process before exceeding this timeout.
456 fps = "false" ; Show frames per second in top right corner
457 realtime = "false" ; Show current system time in top right corner
458 netwarnings = "true" ; Show warnings if the network connection is bad
461 autoenable = false ; Enable HTTP server output at startup (default off for security/performance)
462 gpu.arb.enable = true ; Allow GL_ARB_timer_query timing mode when available
463 gpu.ext.enable = true ; Allow GL_EXT_timer_query timing mode when available
464 gpu.intel.enable = true ; Allow GL_INTEL_performance_queries timing mode when available
474 nick = true ; Play a sound when someone mentions your name in the lobby or game
477 debug = false ; Print error messages each time a translation for an English string is not found.
479 [userreport] ; Opt-in online user reporting system
480 url_upload = "https://feedback.wildfiregames.com/report/upload/v1/" ; URL where UserReports are uploaded to
481 url_publication = "http://feedback.wildfiregames.com/" ; URL where UserReports were analyzed and published
482 terms = "0" ; Version (hash) of the UserReporter Terms that the user has accepted
484 [view] ; Camera control settings
486 scroll.speed.modifier = 1.05 ; Multiplier for changing scroll speed
490 rotate.x.default = 35.0
492 rotate.y.speed.wheel = 0.45
493 rotate.y.default = 0.0
494 rotate.speed.modifier = 1.05 ; Multiplier for changing rotation speed
497 zoom.speed.wheel = 32.0
501 zoom.speed.modifier = 1.05 ; Multiplier for changing zoom speed
503 zoom.smoothness = 0.4
504 rotate.x.smoothness = 0.5
505 rotate.y.smoothness = 0.3
506 near = 2.0 ; Near plane distance
507 far = 4096.0 ; Far plane distance
508 fov = 45.0 ; Field of view (degrees), lower is narrow, higher is wide
509 height.smoothness = 0.5