Ticket #4919: default.cfg

File default.cfg, 19.6 KB (added by domien, 6 years ago)
Line 
1; Global Configuration Settings
2;
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. *
7; * *
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). *
13; * *
14; * On Linux, create: *
15; * $XDG_CONFIG_HOME/0ad/config/local.cfg *
16; * (Note: $XDG_CONFIG_HOME defaults to ~/.config) *
17; * *
18; * On OS X, create: *
19; * ~/Library/Application\ Support/0ad/config/local.cfg *
20; * *
21; * On Windows, create: *
22; * %appdata%\0ad\config\local.cfg *
23; * *
24; **************************************************************
25
26; Enable/disable windowed mode by default. (Use Alt+Enter to toggle in the game.)
27windowed = false
28
29; Show detailed tooltips (Unit stats)
30showdetailedtooltips = false
31
32; Pause the game on window focus loss (Only applicable to single player mode)
33pauseonfocusloss = true
34
35; Persist settings after leaving the game setup screen
36persistmatchsettings = true
37
38; Default player name to use in multiplayer
39; playername = "anonymous"
40
41; Default server name or IP to use in multiplayer
42multiplayerserver = "127.0.0.1"
43
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.)
47xres = 0
48yres = 0
49
50; Force a non-standard bit depth (if 0 then use the current desktop bit depth)
51bpp = 0
52
53; Preferred display (for multidisplay setups, only works with SDL 2.0)
54display = 0
55
56; Emulate right-click with Ctrl+Click on Mac mice
57macmouse = false
58
59; System settings:
60
61; if false, actors won't be rendered but anything entity will be.
62renderactors = true
63
64waterugly=false; Force usage of the fixed pipeline water. This is faster, but really, really ugly.
65waterfancyeffects = false
66waterrealdepth = true
67waterrefraction = true
68waterreflection = true
69shadowsonwater = false
70
71shadows = true
72shadowpcf = true
73vsync = false
74particles = true
75silhouettes = true
76showsky = true
77
78nos3tc = false
79noautomipmap = true
80novbo = false
81noframebufferobject = false
82
83; Disable hardware cursors
84nohwcursor = false
85
86; Linux only: Set the driconf force_s3tc_enable option at startup,
87; for compressed texture support
88force_s3tc_enable = true
89
90; Specify the render path. This can be one of:
91; default Automatically select one of the below, depending on system capabilities
92; fixed Only use OpenGL fixed function pipeline
93; shader Use vertex/fragment shaders for transform and lighting where possible
94; Using 'fixed' instead of 'default' may work around some graphics-related problems,
95; but will reduce performance and features when a modern graphics card is available.
96renderpath = default
97
98;;;;; EXPERIMENTAL ;;;;;
99; Prefer GLSL shaders over ARB shaders. Allows fancier graphical effects.
100preferglsl = false
101
102; Experimental probably-non-working GPU skinning support; requires preferglsl; use at own risk
103gpuskinning = false
104
105; Use smooth LOS interpolation
106smoothlos = false
107
108; Use screen-space postprocessing filters (HDR, bloom, DOF, etc). Incompatible with fixed renderpath.
109postproc = false
110
111; Quality level of shader effects (set to 10 to display all effects)
112materialmgr.quality = 2.0
113
114; Maximum distance to display parallax effect. Set to 0 to disable parallax.
115materialmgr.PARALLAX_DIST.max = 150
116; Maximum distance to display high quality parallax effect.
117materialmgr.PARALLAX_HQ_DIST.max = 75
118; Maximum distance to display very high quality parallax effect. Set to 30 to enable.
119materialmgr.PARALLAX_VHQ_DIST.max = 0
120;;;;;;;;;;;;;;;;;;;;;;;;
121
122; Replace alpha-blending with alpha-testing, for performance experiments
123forcealphatest = false
124
125; Color of the sky (in "r g b" format)
126skycolor = "0 0 0"
127
128[adaptivefps]
129session = 60 ; Throttle FPS in running games (prevents 100% CPU workload).
130menu = 30 ; Throttle FPS in menus only.
131
132[hotkey]
133; Each one of the specified keys will trigger the action on the left
134; for multiple-key combinations, separate keys with '+'.
135; See keys.txt for the list of key names.
136
137; > SYSTEM SETTINGS
138exit = "Ctrl+Break", "Super+Q" ; Exit to desktop
139cancel = Escape ; Close or cancel the current dialog box/popup
140leave = Escape ; End current game or Exit
141confirm = Return ; Confirm the current command
142pause = Pause ; Pause/unpause game
143screenshot = F2 ; Take PNG screenshot
144bigscreenshot = "Shift+F2" ; Take large BMP screenshot
145togglefullscreen = "Alt+Return" ; Toggle fullscreen/windowed mode
146screenshot.watermark = "Alt+K" ; Toggle product/company watermark for official screenshots
147wireframe = "Alt+W" ; Toggle wireframe mode
148silhouettes = "Alt+S" ; Toggle unit silhouettes
149showsky = "Alt+Z" ; Toggle sky
150
151; > CLIPBOARD CONTROLS
152copy = "Ctrl+C" ; Copy to clipboard
153paste = "Ctrl+V" ; Paste from clipboard
154cut = "Ctrl+X" ; Cut selected text and copy to the clipboard
155
156; > CONSOLE SETTINGS
157console.toggle = BackQuote, F9 ; Open/close console
158
159; > OVERLAY KEYS
160fps.toggle = "Alt+F" ; Toggle frame counter
161realtime.toggle = "Alt+T" ; Toggle current display of computer time
162session.devcommands.toggle = "Alt+D" ; Toggle developer commands panel
163timeelapsedcounter.toggle = "F12" ; Toggle time elapsed counter
164session.showstatusbars = Tab ; Toggle display of status bars
165session.highlightguarding = PgDn ; Toggle highlight of guarding units
166session.highlightguarded = PgUp ; Toggle highlight of guarded units
167session.toggleaurarange = "Alt+V" ; Toggle display of aura range overlays of selected units and structures
168session.togglehealrange = "Alt+B" ; Toggle display of heal range overlays of selected units
169
170; > HOTKEYS ONLY
171chat = Return ; Toggle chat window
172teamchat = "T" ; Toggle chat window in team chat mode
173privatechat = "L" ; Toggle chat window and select the previous private chat partner
174
175; > QUICKSAVE
176quicksave = "Shift+F5"
177quickload = "Shift+F8"
178
179[hotkey.camera]
180reset = "R" ; Reset camera rotation to default.
181follow = "F" ; Follow the first unit in the selection
182rallypointfocus = unused ; Focus the camera on the rally point of the selected building
183zoom.in = Plus, Equals, NumPlus ; Zoom camera in (continuous control)
184zoom.out = Minus, NumMinus ; Zoom camera out (continuous control)
185zoom.wheel.in = WheelUp ; Zoom camera in (stepped control)
186zoom.wheel.out = WheelDown ; Zoom camera out (stepped control)
187rotate.up = "Ctrl+UpArrow", "Ctrl+W" ; Rotate camera to look upwards
188rotate.down = "Ctrl+DownArrow", "Ctrl+S" ; Rotate camera to look downwards
189rotate.cw = "Ctrl+LeftArrow", "Ctrl+A", Q ; Rotate camera clockwise around terrain
190rotate.ccw = "Ctrl+RightArrow", "Ctrl+D", E ; Rotate camera anticlockwise around terrain
191rotate.wheel.cw = "Shift+WheelUp", MouseX1 ; Rotate camera clockwise around terrain (stepped control)
192rotate.wheel.ccw = "Shift+WheelDown", MouseX2 ; Rotate camera anticlockwise around terrain (stepped control)
193pan = MouseMiddle ; Enable scrolling by moving mouse
194left = A, LeftArrow ; Scroll or rotate left
195right = D, RightArrow ; Scroll or rotate right
196up = W, UpArrow ; Scroll or rotate up/forwards
197down = S, DownArrow ; Scroll or rotate down/backwards
198scroll.speed.increase = "Ctrl+Shift+S" ; Increase scroll speed
199scroll.speed.decrease = "Ctrl+Alt+S" ; Decrease scroll speed
200rotate.speed.increase = "Ctrl+Shift+R" ; Increase rotation speed
201rotate.speed.decrease = "Ctrl+Alt+R" ; Decrease rotation speed
202zoom.speed.increase = "Ctrl+Shift+Z" ; Increase zoom speed
203zoom.speed.decrease = "Ctrl+Alt+Z" ; Decrease zoom speed
204
205[hotkey.camera.jump]
2061 = F5 ; Jump to position N
2072 = F6
2083 = F7
2094 = F8
210;5 =
211;6 =
212;7 =
213;8 =
214;9 =
215;10 =
216[hotkey.camera.jump.set]
2171 = "Ctrl+F5" ; Set jump position N
2182 = "Ctrl+F6"
2193 = "Ctrl+F7"
2204 = "Ctrl+F8"
221;5 =
222;6 =
223;7 =
224;8 =
225;9 =
226;10 =
227
228[hotkey.profile]
229toggle = "F11" ; Enable/disable real-time profiler
230save = "Shift+F11" ; Save current profiler data to logs/profile.txt
231[hotkey.profile2]
232toggle = "Ctrl+F11" ; Enable/disable HTTP/GPU modes for new profiler
233
234[hotkey.selection]
235add = Shift ; Add units to selection
236milonly = Alt ; Add only military units to selection
237idleonly = "I" ; Select only idle units
238remove = Ctrl ; Remove units from selection
239cancel = Esc ; Un-select all units and cancel building placement
240idleworker = Period ; Select next idle worker
241idlewarrior = ForwardSlash ; Select next idle warrior
242offscreen = Alt ; Include offscreen units in selection
243[hotkey.selection.group.add]
2440 = "Shift+0"
2451 = "Shift+1"
2462 = "Shift+2"
2473 = "Shift+3"
2484 = "Shift+4"
2495 = "Shift+5"
2506 = "Shift+6"
2517 = "Shift+7"
2528 = "Shift+8"
2539 = "Shift+9"
254[hotkey.selection.group.save]
2550 = "Ctrl+0"
2561 = "Ctrl+1"
2572 = "Ctrl+2"
2583 = "Ctrl+3"
2594 = "Ctrl+4"
2605 = "Ctrl+5"
2616 = "Ctrl+6"
2627 = "Ctrl+7"
2638 = "Ctrl+8"
2649 = "Ctrl+9"
265[hotkey.selection.group.select]
2660 = 0
2671 = 1
2682 = 2
2693 = 3
2704 = 4
2715 = 5
2726 = 6
2737 = 7
2748 = 8
2759 = 9
276
277[hotkey.session]
278kill = Delete ; Destroy selected units
279stop = "H" ; Stop the current action
280backtowork = "Y" ; The unit will go back to work
281unload = "U" ; Unload garrisoned units when a building/mechanical unit is selected
282attack = Ctrl ; Modifier to attack instead of another action (eg capture)
283attackmove = Ctrl ; Modifier to attackmove when clicking on a point
284attackmoveUnit = "Ctrl+Q" ; Modifier to attackmove targeting only units when clicking on a point (should contain the attackmove keys)
285garrison = Ctrl ; Modifier to garrison when clicking on building
286autorallypoint = Ctrl ; Modifier to set the rally point on the building itself
287guard = "G" ; Modifier to escort/guard when clicking on unit/building
288patrol = "P" ; Modifier to patrol a unit
289repair = "J" ; Modifier to repair when clicking on building/mechanical unit
290queue = Shift ; Modifier to queue unit orders instead of replacing
291batchtrain = Shift ; Modifier to train units in batches
292massbarter = Shift ; Modifier to barter bunch of resources
293masstribute = Shift ; Modifier to tribute bunch of resources
294noconfirmation = Shift ; Do not ask confirmation when deleting a building/unit
295fulltradeswap = Shift ; Modifier to put the desired trade resource to 100%
296unloadtype = Shift ; Modifier to unload all units of type
297deselectgroup = Ctrl ; Modifier to deselect units when clicking group icon, instead of selecting
298rotate.cw = RightBracket ; Rotate building placement preview clockwise
299rotate.ccw = LeftBracket ; Rotate building placement preview anticlockwise
300
301[hotkey.session.gui]
302toggle = "Alt+G" ; Toggle visibility of session GUI
303menu.toggle = "F10" ; Toggle in-game menu
304barter.toggle = "Ctrl+B" ; Toggle in-game barter/trade page
305
306[hotkey.session.savedgames]
307delete = Delete ; Delete the selected saved game asking confirmation
308noconfirmation = Shift ; Do not ask confirmation when deleting a game
309
310[hotkey.session.queueunit] ; > UNIT TRAINING
3111 = "Z" ; add first unit type to queue
3122 = "X" ; add second unit type to queue
3133 = "C" ; add third unit type to queue
3144 = "V" ; add fourth unit type to queue
3155 = "B" ; add fivth unit type to queue
3166 = "N" ; add sixth unit type to queue
3177 = "M" ; add seventh unit type to queue
3188 = Comma ; add eighth unit type to queue
319
320[hotkey.session.timewarp]
321fastforward = Space ; If timewarp mode enabled, speed up the game
322rewind = Backspace ; If timewarp mode enabled, go back to earlier point in the game
323
324[hotkey.text] ; > GUI TEXTBOX HOTKEYS
325delete.left = "Ctrl+Backspace" ; Delete word to the left of cursor
326delete.right = "Ctrl+Del" ; Delete word to the right of cursor
327move.left = "Ctrl+LeftArrow" ; Move cursor to start of word to the left of cursor
328move.right = "Ctrl+RightArrow" ; Move cursor to start of word to the right of cursor
329
330[gui]
331cursorblinkrate = 0.5 ; Cursor blink rate in seconds (0.0 to disable blinking)
332scale = 1.0 ; GUI scaling factor, for improved compatibility with 4K displays
333
334[gui.gamesetup]
335enabletips = true ; Enable/Disable tips during gamesetup (for newcomers)
336assignplayers = everyone ; Whether to assign joining clients to free playerslots. Possible values: everyone, buddies, disabled.
337
338[gui.session]
339camerajump.threshold = 40 ; How close do we have to be to the actual location in order to jump back to the previous one?
340timeelapsedcounter = false ; Show the game duration in the top right corner
341batchtrainingsize = 5 ; Number of units to be trained per batch (when pressing the hotkey)
342aurarange = true ; Display aura range overlays of selected units and structures
343healrange = true ; Display heal range overlays of selected units
344
345[gui.session.minimap]
346blinkduration = 1.7 ; The blink duration while pinging
347pingduration = 50.0 ; The duration for which an entity will be pinged after an attack notification
348
349[gui.session.notifications]
350attack = true ; Show a chat notification if you are attacked by another player
351tribute = true ; Show a chat notification if an ally tributes resources to another team member if teams are locked, and all tributes in observer mode
352barter = true ; Show a chat notification to observers when a player bartered resources
353phase = 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.
354
355[gui.splashscreen]
356enable = true ; Enable/disable the splashscreen
357version = 0 ; Splashscreen version (date of last modification). By default, 0 to force splashscreen to appear at first launch
358
359[joystick] ; EXPERIMENTAL: joystick/gamepad settings
360enable = false
361deadzone = 8192
362[joystick.camera]
363pan.x = 0
364pan.y = 1
365rotate.x = 3
366rotate.y = 2
367zoom.in = 5
368zoom.out = 4
369
370[chat]
371timestamp = true ; Show at which time chat messages have been sent
372
373[chat.session]
374extended = true ; Whether to display the chat history
375
376[lobby]
377history = 0 ; Number of past messages to display on join
378room = "arena22" ; Default MUC room to join
379server = "lobby.wildfiregames.com" ; Address of lobby server
380xpartamupp = "wfgbot22" ; Name of the server-side xmpp client that manage games
381buddies = "," ; Comma separated list of playernames that the current user has marked as buddies
382
383[lobby.columns]
384gamerating = false ; Show the average rating of the participating players in a column of the gamelist
385
386[lobby.stun]
387enabled = true ; The STUN protocol allows hosting games without configuring the firewall and router.
388 ; If STUN is disabled, the game relies on direct connection, UPnP and port forwarding.
389server = "lobby.wildfiregames.com" ; Address of the STUN server.
390port = 3478 ; Port of the STUN server.
391delay = 200 ; Duration in milliseconds that is waited between STUN messages.
392 ; Smaller numbers speed up joins but also become less stable.
393
394[mod]
395enabledmods = "mod public"
396
397[network]
398duplicateplayernames = false ; Rename joining player to "User (2)" if "User" is already connected, otherwise prohibit join.
399lateobservers = everyone ; Allow observers to join the game after it started. Possible values: everyone, buddies, disabled.
400observerlimit = 8 ; Prevent further observer joins in running games if this limit is reached
401
402[overlay]
403fps = "false" ; Show frames per second in top right corner
404realtime = "false" ; Show current system time in top right corner
405netwarnings = "true" ; Show warnings if the network connection is bad
406
407[profiler2]
408autoenable = false ; Enable HTTP server output at startup (default off for security/performance)
409gpu.arb.enable = true ; Allow GL_ARB_timer_query timing mode when available
410gpu.ext.enable = true ; Allow GL_EXT_timer_query timing mode when available
411gpu.intel.enable = true ; Allow GL_INTEL_performance_queries timing mode when available
412
413[sound]
414mastergain = 0.9
415musicgain = 0.2
416ambientgain = 0.6
417actiongain = 0.7
418uigain = 0.7
419
420[sound.notify]
421nick = true ; Play a sound when someone mentions your name in the lobby or game
422
423[tinygettext]
424debug = false ; Print error messages each time a translation for an English string is not found.
425
426[userreport] ; Opt-in online user reporting system
427url = "http://feedback.wildfiregames.com/report/upload/v1/"
428
429[view] ; Camera control settings
430scroll.speed = 120.0
431scroll.speed.modifier = 1.05 ; Multiplier for changing scroll speed
432rotate.x.speed = 1.2
433rotate.x.min = 28.0
434rotate.x.max = 60.0
435rotate.x.default = 35.0
436rotate.y.speed = 2.0
437rotate.y.speed.wheel = 0.45
438rotate.y.default = 0.0
439rotate.speed.modifier = 1.05 ; Multiplier for changing rotation speed
440drag.speed = 0.5
441zoom.speed = 256.0
442zoom.speed.wheel = 32.0
443zoom.min = 50.0
444zoom.max = 200.0
445zoom.default = 120.0
446zoom.speed.modifier = 1.05 ; Multiplier for changing zoom speed
447pos.smoothness = 0.1
448zoom.smoothness = 0.4
449rotate.x.smoothness = 0.5
450rotate.y.smoothness = 0.3
451near = 2.0 ; Near plane distance
452far = 4096.0 ; Far plane distance
453fov = 45.0 ; Field of view (degrees), lower is narrow, higher is wide
454height.smoothness = 0.5
455height.min = 16