Ticket #2670: local.cfg.txt

File local.cfg.txt, 16.8 KB (added by brian, 10 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; * On Linux, create: *
9; * $XDG_CONFIG_HOME/0ad/config/local.cfg *
10; * (Note: $XDG_CONFIG_HOME defaults to ~/.config) *
11; * *
12; * On OS X, create: *
13; * ~/Library/Application\ Support/0ad/config/local.cfg *
14; * *
15; * On Windows, create: *
16; * %appdata%\0ad\config\local.cfg *
17; * *
18; **************************************************************
19
20; Enable/disable windowed mode by default. (Use Alt+Enter to toggle in the game.)
21windowed = true
22
23; Enable/disable the splashscreen
24splashscreenenable = true
25
26; Pause the game on window focus loss (Only applicable to single player mode)
27pauseonfocusloss = true
28
29; Default player name to use in multiplayer
30; playername = "anonymous"
31
32; Default server name or IP to use in multiplayer
33multiplayerserver = "127.0.0.1"
34
35; Force a particular resolution. (If these are 0, the default is
36; to keep the current desktop resolution in fullscreen mode or to
37; use 1024x768 in windowed mode.)
38xres = 1366
39yres = 768
40
41; Force a non-standard bit depth (if 0 then use the current desktop bit depth)
42bpp = 0
43
44; System settings:
45
46; if false, actors won't be rendered but anything entity will be.
47renderactors = true
48
49waternormals = true
50waterrealdepth = true
51waterfoam = true
52watercoastalwaves = true
53waterrefraction = true
54waterreflection = true
55watershadows = true
56
57shadows = true
58shadowpcf = true
59vsync = true
60particles = true
61silhouettes = true
62showsky = false
63
64nos3tc = false
65noautomipmap = true
66novbo = false
67noframebufferobject = false
68
69; Disable hardware cursors
70nohwcursor = false
71
72; Linux only: Set the driconf force_s3tc_enable option at startup,
73; for compressed texture support
74force_s3tc_enable = true
75
76; Specify the render path. This can be one of:
77; default Automatically select one of the below, depending on system capabilities
78; fixed Only use OpenGL fixed function pipeline
79; shader Use vertex/fragment shaders for transform and lighting where possible
80; Using 'fixed' instead of 'default' may work around some graphics-related problems,
81; but will reduce performance and features when a modern graphics card is available.
82renderpath = default
83
84;;;;; EXPERIMENTAL ;;;;;
85; Prefer GLSL shaders over ARB shaders (not recommended). REQUIRES gentangents=true.
86preferglsl = true
87
88; Generate tangents for normal and parallax mapping. REQUIRES preferglsl=true.
89gentangents = true
90
91; Experimental probably-non-working GPU skinning support; requires preferglsl; use at own risk
92gpuskinning = false
93
94; Use smooth LOS interpolation; REQUIRES preferglsl=true.
95smoothlos = false
96
97; Use screen-space postprocessing filters (HDR, bloom, DOF, etc). Incompatible with fixed renderpath.
98postproc = false
99
100; Quality level of shader effects (set to 10 to display effects)
101materialmgr.quality = 0.0
102
103; Maximum distance to display parallax effect. Set to 0 to disable parallax.
104materialmgr.PARALLAX_DIST.max = 150
105; Maximum distance to display high quality parallax effect.
106materialmgr.PARALLAX_HQ_DIST.max = 75
107; Maximum distance to display very high quality parallax effect. Set to 30 to enable.
108materialmgr.PARALLAX_VHQ_DIST.max = 0
109;;;;;;;;;;;;;;;;;;;;;;;;
110
111; Replace alpha-blending with alpha-testing, for performance experiments
112forcealphatest = false
113
114; Opt-in online user reporting system
115userreport.url = "http://feedback.wildfiregames.com/report/upload/v1/"
116
117; Colour of the sky (in "r g b" format)
118skycolor = "0 0 0"
119
120; GENERAL PREFERENCES:
121
122sound.mastergain = 0.9
123sound.musicgain = 0.2
124sound.ambientgain = 0.6
125sound.actiongain = 0.7
126sound.uigain = 0.7
127
128; Camera control settings
129view.scroll.speed = 120.0
130view.scroll.speed.modifier = 1.05 ; Multiplier for changing scroll speed
131view.rotate.x.speed = 1.2
132view.rotate.x.min = 28.0
133view.rotate.x.max = 60.0
134view.rotate.x.default = 35.0
135view.rotate.y.speed = 2.0
136view.rotate.y.speed.wheel = 0.45
137view.rotate.y.default = 0.0
138view.rotate.speed.modifier = 1.05 ; Multiplier for changing rotation speed
139view.drag.speed = 0.5
140view.zoom.speed = 256.0
141view.zoom.speed.wheel = 32.0
142view.zoom.min = 50.0
143view.zoom.max = 200.0
144view.zoom.default = 120.0
145view.zoom.speed.modifier = 1.05 ; Multiplier for changing zoom speed
146view.pos.smoothness = 0.1
147view.zoom.smoothness = 0.4
148view.rotate.x.smoothness = 0.5
149view.rotate.y.smoothness = 0.3
150view.near = 2.0 ; Near plane distance
151view.far = 4096.0 ; Far plane distance
152view.fov = 45.0 ; Field of view (degrees), lower is narrow, higher is wide
153view.height.smoothness = 0.5
154view.height.min = 16
155
156; How close do we have to be to the actual location in order to jump back to the previous one?
157camerajump.threshold = 40
158
159; HOTKEY MAPPINGS:
160
161; Each one of the specified keys will trigger the action on the left
162; for multiple-key combinations, separate keys with '+' and enclose the entire thing
163; in doublequotes.
164; See keys.txt for the list of key names.
165
166; > SYSTEM SETTINGS
167hotkey.exit = "Alt+F4", "Ctrl+Break", "Super+Q" ; Exit to desktop
168hotkey.leave = Escape ; End current game or Exit
169hotkey.confirm = Return ; Confirm the current command.
170hotkey.pause = Pause ; Pause/unpause game
171hotkey.screenshot = F2 ; Take PNG screenshot
172hotkey.bigscreenshot = "Shift+F2" ; Take large BMP screenshot
173hotkey.togglefullscreen = "Ctrl+Return" ; Toggle fullscreen/windowed mode
174hotkey.screenshot.watermark = "Alt+K" ; Toggle product/company watermark for official screenshots
175hotkey.wireframe = "Alt+W" ; Toggle wireframe mode
176hotkey.silhouettes = "Alt+S" ; Toggle unit silhouettes
177hotkey.showsky = "Alt+Z" ; Toggle sky
178
179; > CAMERA SETTINGS
180hotkey.camera.reset = "R" ; Reset camera rotation to default.
181hotkey.camera.follow = "F" ; Follow the first unit in the selection
182hotkey.camera.zoom.in = Plus, Equals, NumPlus ; Zoom camera in (continuous control)
183hotkey.camera.zoom.out = Minus, NumMinus ; Zoom camera out (continuous control)
184hotkey.camera.zoom.wheel.in = WheelUp ; Zoom camera in (stepped control)
185hotkey.camera.zoom.wheel.out = WheelDown ; Zoom camera out (stepped control)
186hotkey.camera.rotate.up = "Ctrl+UpArrow", "Ctrl+W" ; Rotate camera to look upwards
187hotkey.camera.rotate.down = "Ctrl+DownArrow", "Ctrl+S" ; Rotate camera to look downwards
188hotkey.camera.rotate.cw = "Ctrl+LeftArrow", "Ctrl+A", Q ; Rotate camera clockwise around terrain
189hotkey.camera.rotate.ccw = "Ctrl+RightArrow", "Ctrl+D", E ; Rotate camera anticlockwise around terrain
190hotkey.camera.rotate.wheel.cw = "Shift+WheelUp", MouseX1 ; Rotate camera clockwise around terrain (stepped control)
191hotkey.camera.rotate.wheel.ccw = "Shift+WheelDown", MouseX2 ; Rotate camera anticlockwise around terrain (stepped control)
192hotkey.camera.pan = MouseMiddle ; Enable scrolling by moving mouse
193hotkey.camera.left = A, LeftArrow ; Scroll or rotate left
194hotkey.camera.right = D, RightArrow ; Scroll or rotate right
195hotkey.camera.up = W, UpArrow ; Scroll or rotate up/forwards
196hotkey.camera.down = S, DownArrow ; Scroll or rotate down/backwards
197hotkey.camera.scroll.speed.increase = "Ctrl+Shift+S" ; Increase scroll speed
198hotkey.camera.scroll.speed.decrease = "Ctrl+Alt+S" ; Decrease scroll speed
199hotkey.camera.rotate.speed.increase = "Ctrl+Shift+R" ; Increase rotation speed
200hotkey.camera.rotate.speed.decrease = "Ctrl+Alt+R" ; Decrease rotation speed
201hotkey.camera.zoom.speed.increase = "Ctrl+Shift+Z" ; Increase zoom speed
202hotkey.camera.zoom.speed.decrease = "Ctrl+Alt+Z" ; Decrease zoom speed
203hotkey.camera.jump.1 = F5 ; Jump to position N
204hotkey.camera.jump.2 = F6
205hotkey.camera.jump.3 = F7
206hotkey.camera.jump.4 = F8
207;hotkey.camera.jump.5 =
208;hotkey.camera.jump.6 =
209;hotkey.camera.jump.7 =
210;hotkey.camera.jump.8 =
211;hotkey.camera.jump.9 =
212;hotkey.camera.jump.10 =
213hotkey.camera.jump.set.1 = "Ctrl+F5" ; Set jump position N
214hotkey.camera.jump.set.2 = "Ctrl+F6"
215hotkey.camera.jump.set.3 = "Ctrl+F7"
216hotkey.camera.jump.set.4 = "Ctrl+F8"
217;hotkey.camera.jump.set.5 =
218;hotkey.camera.jump.set.6 =
219;hotkey.camera.jump.set.7 =
220;hotkey.camera.jump.set.8 =
221;hotkey.camera.jump.set.9 =
222;hotkey.camera.jump.set.10 =
223
224; > CONSOLE SETTINGS
225hotkey.console.toggle = BackQuote, F9 ; Open/close console
226
227; > CLIPBOARD CONTROLS
228hotkey.copy = "Ctrl+C" ; Copy to clipboard
229hotkey.paste = "Ctrl+V" ; Paste from clipboard
230hotkey.cut = "Ctrl+X" ; Cut selected text and copy to the clipboard
231
232; > ENTITY SELECTION
233hotkey.selection.add = Shift ; Add units to selection
234hotkey.selection.milonly = Alt ; Add only military units to selection
235hotkey.selection.remove = Ctrl ; Remove units from selection
236hotkey.selection.cancel = Esc ; Un-select all units and cancel building placement
237hotkey.selection.idleworker = Period ; Select next idle worker
238hotkey.selection.idlewarrior = ForwardSlash ; Select next idle warrior
239hotkey.selection.offscreen = Alt ; Include offscreen units in selection
240hotkey.selection.group.select.0 = 0
241hotkey.selection.group.save.0 = "Ctrl+0"
242hotkey.selection.group.add.0 = "Shift+0"
243hotkey.selection.group.select.1 = 1
244hotkey.selection.group.save.1 = "Ctrl+1"
245hotkey.selection.group.add.1 = "Shift+1"
246hotkey.selection.group.select.2 = 2
247hotkey.selection.group.save.2 = "Ctrl+2"
248hotkey.selection.group.add.2 = "Shift+2"
249hotkey.selection.group.select.3 = 3
250hotkey.selection.group.save.3 = "Ctrl+3"
251hotkey.selection.group.add.3 = "Shift+3"
252hotkey.selection.group.select.4 = 4
253hotkey.selection.group.save.4 = "Ctrl+4"
254hotkey.selection.group.add.4 = "Shift+4"
255hotkey.selection.group.select.5 = 5
256hotkey.selection.group.save.5 = "Ctrl+5"
257hotkey.selection.group.add.5 = "Shift+5"
258hotkey.selection.group.select.6 = 6
259hotkey.selection.group.save.6 = "Ctrl+6"
260hotkey.selection.group.add.6 = "Shift+6"
261hotkey.selection.group.select.7 = 7
262hotkey.selection.group.save.7 = "Ctrl+7"
263hotkey.selection.group.add.7 = "Shift+7"
264hotkey.selection.group.select.8 = 8
265hotkey.selection.group.save.8 = "Ctrl+8"
266hotkey.selection.group.add.8 = "Shift+8"
267hotkey.selection.group.select.9 = 9
268hotkey.selection.group.save.9 = "Ctrl+9"
269hotkey.selection.group.add.9 = "Shift+9"
270
271; > SESSION CONTROLS
272hotkey.session.kill = Delete ; Destroy selected units
273hotkey.session.stop = "H" ; Stop the current action
274hotkey.session.attack = "Ctrl+Alt" ; Modifier to force attack instead of another action
275hotkey.session.attackmove = Ctrl ; Modifier to attackmove when clicking on a point
276hotkey.session.garrison = Ctrl ; Modifier to garrison when clicking on building
277hotkey.session.autorallypoint = Ctrl ; Modifier to set the rally point on the building itself
278hotkey.session.guard = "G" ; Modifier to escort/guard when clicking on unit/building
279hotkey.session.queue = Shift ; Modifier to queue unit orders instead of replacing
280hotkey.session.batchtrain = Shift ; Modifier to train units in batches
281hotkey.session.massbarter = Shift ; Modifier to barter bunch of resources
282hotkey.session.masstribute = Shift ; Modifier to tribute bunch of resources
283hotkey.session.unloadtype = Shift ; Modifier to unload all units of type
284hotkey.session.deselectgroup = Ctrl ; Modifier to deselect units when clicking group icon, instead of selecting
285hotkey.session.rotate.cw = RightBracket ; Rotate building placement preview clockwise
286hotkey.session.rotate.ccw = LeftBracket ; Rotate building placement preview anticlockwise
287hotkey.timewarp.fastforward = Space ; If timewarp mode enabled, speed up the game
288hotkey.timewarp.rewind = Backspace ; If timewarp mode enabled, go back to earlier point in the game
289
290; > UNIT TRAINING
291hotkey.session.queueunit.1 = "Z" ; add first unit type to queue
292hotkey.session.queueunit.2 = "X" ; add second unit type to queue
293hotkey.session.queueunit.3 = "C" ; add third unit type to queue
294hotkey.session.queueunit.4 = "V" ; add fourth unit type to queue
295hotkey.session.queueunit.5 = "B" ; add fivth unit type to queue
296hotkey.session.queueunit.6 = "N" ; add sixth unit type to queue
297hotkey.session.queueunit.7 = "M" ; add seventh unit type to queue
298hotkey.session.queueunit.8 = Comma ; add eighth unit type to queue
299
300; > OVERLAY KEYS
301hotkey.fps.toggle = "Ctrl+F" ; Toggle frame counter
302hotkey.session.devcommands.toggle = "F4" ; Toggle developer commands panel
303hotkey.session.gui.toggle = "Ctrl+G" ; Toggle visibility of session GUI
304hotkey.menu.toggle = "F10" ; Toggle in-game menu
305hotkey.timeelapsedcounter.toggle = "F12" ; Toggle time elapsed counter
306hotkey.session.showstatusbars = Tab ; Toggle display of status bars
307hotkey.session.highlightguarding = PgDn ; Toggle highlight of guarding units
308hotkey.session.highlightguarded = PgUp ; Toggle highlight of guarded units
309
310; > HOTKEYS ONLY
311hotkey.chat = Return ; Toggle chat window
312hotkey.teamchat = "T" ; Toggle chat window in team chat mode
313
314; > GUI TEXTBOX HOTKEYS
315hotkey.text.delete.left = "Ctrl+Backspace" ; Delete word to the left of cursor
316hotkey.text.delete.right = "Ctrl+Del" ; Delete word to the right of cursor
317hotkey.text.move.left = "Ctrl+LeftArrow" ; Move cursor to start of word to the left of cursor
318hotkey.text.move.right = "Ctrl+RightArrow" ; Move cursor to start of word to the right of cursor
319
320; > PROFILER
321hotkey.profile.toggle = "F11" ; Enable/disable real-time profiler
322hotkey.profile.save = "Shift+F11" ; Save current profiler data to logs/profile.txt
323hotkey.profile2.enable = "F11" ; Enable HTTP/GPU modes for new profiler
324
325profiler2.http.autoenable = false ; Enable HTTP server output at startup (default off for security/performance)
326profiler2.script.enable = false ; Enable Javascript profiling. Needs to be set before startup and can't be changed later. (default off for performance)
327profiler2.gpu.autoenable = false ; Enable GPU timing at startup (default off for performance/compatibility)
328profiler2.gpu.arb.enable = true ; Allow GL_ARB_timer_query timing mode when available
329profiler2.gpu.ext.enable = true ; Allow GL_EXT_timer_query timing mode when available
330profiler2.gpu.intel.enable = true ; Allow GL_INTEL_performance_queries timing mode when available
331
332; > JS DEBUGGER
333jsdebugger.enable = false ; Enable Javascript debugging. The Debugger is currently broken and can't be enabled until the SpiderMonkey upgrade is done and the debugger is updated for the new API.
334
335; > QUICKSAVE
336hotkey.quicksave = "Shift+F5"
337hotkey.quickload = "Shift+F8"
338
339; EXPERIMENTAL: joystick/gamepad settings
340joystick.enable = false
341joystick.deadzone = 8192
342joystick.camera.pan.x = 0
343joystick.camera.pan.y = 1
344joystick.camera.rotate.x = 3
345joystick.camera.rotate.y = 2
346joystick.camera.zoom.in = 5
347joystick.camera.zoom.out = 4
348
349; SESSION GUI SETTINGS
350gui.session.timeelapsedcounter = false ; Show the game duration in the top right corner
351gui.session.attacknotificationmessage = true ; Show attack notification messages
352gui.session.minimap.pingduration = 50.0 ; The duration for which an entity will be pinged after an attack notification
353gui.session.minimap.blinkduration = 1.7 ; The blink duration while pinging
354
355; GENERAL GUI SETTINGS
356gui.cursorblinkrate = 0.5 ; Cursor blink rate in seconds (0.0 to disable blinking)
357
358; Multiplayer lobby preferences
359lobby.server = "lobby.wildfiregames.com" ; Address of lobby server
360lobby.xpartamupp = "wfgbot16" ; Name of the server-side xmpp client that manage games
361lobby.chattimestamp = false ; Show time chat message was posted
362lobby.room = "arena16" ; Default MUC room to join