2010-12-03 02:21:49 +01:00
; Global Configuration Settings
;
; **************************************************************
; * DO NOT EDIT THIS FILE if you want personal customisations: *
; * create a text file called "local.cfg" instead, and copy *
; * the lines from this file that you want to change. *
; * *
2012-06-13 22:43:56 +02:00
; * On Linux, create: *
; * $XDG_CONFIG_HOME/0ad/config/local.cfg *
; * (Note: $XDG_CONFIG_HOME defaults to ~/.config) *
; * *
; * On OS X, create: *
; * ~/Library/Application\ Support/0ad/config/local.cfg *
2010-12-03 02:21:49 +01:00
; * *
; * On Windows, create: *
2012-06-13 22:43:56 +02:00
; * %appdata%\0ad\config\local.cfg *
2010-12-03 02:21:49 +01:00
; * *
; **************************************************************
; Enable/disable windowed mode by default. (Use Alt+Enter to toggle in the game.)
windowed = false
2014-05-19 03:00:30 +02:00
; Show detailed tooltips (Unit stats)
showdetailedtooltips = false
2012-10-07 14:43:08 +02:00
; Enable/disable the splashscreen
2014-04-28 19:18:46 +02:00
splashscreendisable = false
2014-05-19 03:00:30 +02:00
2014-04-28 19:18:46 +02:00
; Splashscreen version (date of last modification). By default, 0 to force splashscreen to appear at first launch.
splashscreenversion = 0
2012-10-07 14:43:08 +02:00
2011-11-26 16:23:41 +01:00
; Pause the game on window focus loss (Only applicable to single player mode)
pauseonfocusloss = true
2012-09-14 07:38:29 +02:00
; Default player name to use in multiplayer
; playername = "anonymous"
2012-12-20 22:44:56 +01:00
; Default server name or IP to use in multiplayer
multiplayerserver = "127.0.0.1"
2010-12-03 02:21:49 +01:00
; Force a particular resolution. (If these are 0, the default is
; to keep the current desktop resolution in fullscreen mode or to
; use 1024x768 in windowed mode.)
xres = 0
yres = 0
; Force a non-standard bit depth (if 0 then use the current desktop bit depth)
bpp = 0
; System settings:
2013-12-30 16:52:42 +01:00
; if false, actors won't be rendered but anything entity will be.
2013-12-30 16:59:00 +01:00
renderactors = true
2013-12-30 16:52:42 +01:00
2014-07-01 18:05:05 +02:00
waterugly = false; Force usage of the fixed pipeline water. This is faster, but really, really ugly.
waterfancyeffects = false
2012-11-04 16:54:36 +01:00
waterrealdepth = true
waterrefraction = true
waterreflection = true
2014-07-01 18:05:05 +02:00
shadowsonwater = false
2012-11-04 16:54:36 +01:00
2010-12-03 02:21:49 +01:00
shadows = true
2011-07-13 01:48:05 +02:00
shadowpcf = true
2010-12-03 02:21:49 +01:00
vsync = false
2012-04-24 00:57:51 +02:00
particles = true
2012-05-07 03:09:53 +02:00
silhouettes = true
2012-08-22 09:32:26 +02:00
showsky = false
2010-12-03 02:21:49 +01:00
nos3tc = false
noautomipmap = true
novbo = false
noframebufferobject = false
2012-02-12 21:45:31 +01:00
; Disable hardware cursors
nohwcursor = false
2010-12-03 02:21:49 +01:00
; Linux only: Set the driconf force_s3tc_enable option at startup,
; for compressed texture support
force_s3tc_enable = true
; Specify the render path. This can be one of:
; default Automatically select one of the below, depending on system capabilities
; fixed Only use OpenGL fixed function pipeline
2011-04-11 12:04:39 +02:00
; shader Use vertex/fragment shaders for transform and lighting where possible
2010-12-03 02:21:49 +01:00
; Using 'fixed' instead of 'default' may work around some graphics-related problems,
2011-04-11 12:04:39 +02:00
; but will reduce performance and features when a modern graphics card is available.
2010-12-03 02:21:49 +01:00
renderpath = default
2012-08-06 21:10:47 +02:00
;;;;; EXPERIMENTAL ;;;;;
2012-08-07 00:38:42 +02:00
; Prefer GLSL shaders over ARB shaders (not recommended). REQUIRES gentangents=true.
2014-04-30 19:53:51 +02:00
preferglsl = false
2012-01-29 02:22:22 +01:00
2012-10-29 14:20:21 +01:00
; Generate tangents for normal and parallax mapping. REQUIRES preferglsl=true.
2014-04-30 19:53:51 +02:00
gentangents = false
2012-08-06 21:10:47 +02:00
2012-10-29 14:20:21 +01:00
; Experimental probably-non-working GPU skinning support; requires preferglsl; use at own risk
gpuskinning = false
2012-08-07 00:38:42 +02:00
; Use smooth LOS interpolation; REQUIRES preferglsl=true.
2012-08-13 21:09:11 +02:00
smoothlos = false
2012-08-07 00:38:42 +02:00
2012-10-15 12:34:23 +02:00
; Use screen-space postprocessing filters (HDR, bloom, DOF, etc). Incompatible with fixed renderpath.
postproc = false
2012-08-07 20:21:16 +02:00
; Quality level of shader effects (set to 10 to display effects)
2012-08-13 21:09:11 +02:00
materialmgr.quality = 0.0
2012-08-06 21:10:47 +02:00
; Maximum distance to display parallax effect. Set to 0 to disable parallax.
materialmgr.PARALLAX_DIST.max = 150
; Maximum distance to display high quality parallax effect.
materialmgr.PARALLAX_HQ_DIST.max = 75
2012-08-11 17:25:00 +02:00
; Maximum distance to display very high quality parallax effect. Set to 30 to enable.
2012-08-11 18:20:32 +02:00
materialmgr.PARALLAX_VHQ_DIST.max = 0
2012-08-06 21:10:47 +02:00
;;;;;;;;;;;;;;;;;;;;;;;;
2012-04-10 23:03:22 +02:00
; Replace alpha-blending with alpha-testing, for performance experiments
forcealphatest = false
2011-02-16 21:40:15 +01:00
; Opt-in online user reporting system
userreport.url = "http://feedback.wildfiregames.com/report/upload/v1/"
2010-12-03 02:21:49 +01:00
; Colour of the sky (in "r g b" format)
skycolor = "0 0 0"
; GENERAL PREFERENCES:
2012-08-15 02:10:44 +02:00
sound.mastergain = 0.9
sound.musicgain = 0.2
sound.ambientgain = 0.6
sound.actiongain = 0.7
2013-06-10 15:58:43 +02:00
sound.uigain = 0.7
2010-12-03 02:21:49 +01:00
; Camera control settings
view.scroll.speed = 120.0
2012-08-17 20:33:41 +02:00
view.scroll.speed.modifier = 1.05 ; Multiplier for changing scroll speed
2010-12-03 02:21:49 +01:00
view.rotate.x.speed = 1.2
2011-11-18 00:34:01 +01:00
view.rotate.x.min = 28.0
view.rotate.x.max = 60.0
view.rotate.x.default = 35.0
2010-12-03 02:21:49 +01:00
view.rotate.y.speed = 2.0
view.rotate.y.speed.wheel = 0.45
view.rotate.y.default = 0.0
2012-08-17 20:33:41 +02:00
view.rotate.speed.modifier = 1.05 ; Multiplier for changing rotation speed
2010-12-03 02:21:49 +01:00
view.drag.speed = 0.5
view.zoom.speed = 256.0
view.zoom.speed.wheel = 32.0
2011-11-19 03:15:01 +01:00
view.zoom.min = 50.0
2011-11-19 21:37:16 +01:00
view.zoom.max = 200.0
2012-04-15 05:53:32 +02:00
view.zoom.default = 120.0
2012-08-17 20:33:41 +02:00
view.zoom.speed.modifier = 1.05 ; Multiplier for changing zoom speed
2010-12-03 02:21:49 +01:00
view.pos.smoothness = 0.1
view.zoom.smoothness = 0.4
view.rotate.x.smoothness = 0.5
view.rotate.y.smoothness = 0.3
2011-11-19 21:37:16 +01:00
view.near = 2.0 ; Near plane distance
2011-11-18 00:34:01 +01:00
view.far = 4096.0 ; Far plane distance
view.fov = 45.0 ; Field of view (degrees), lower is narrow, higher is wide
2012-04-18 22:39:00 +02:00
view.height.smoothness = 0.5
view.height.min = 16
2010-12-03 02:21:49 +01:00
2013-06-09 22:21:19 +02:00
; How close do we have to be to the actual location in order to jump back to the previous one?
camerajump.threshold = 40
2010-12-03 02:21:49 +01:00
; HOTKEY MAPPINGS:
; Each one of the specified keys will trigger the action on the left
; for multiple-key combinations, separate keys with '+' and enclose the entire thing
; in doublequotes.
; See keys.txt for the list of key names.
; > SYSTEM SETTINGS
2013-02-24 22:42:21 +01:00
hotkey.exit = "Alt+F4", "Ctrl+Break", "Super+Q" ; Exit to desktop
2010-12-03 02:21:49 +01:00
hotkey.leave = Escape ; End current game or Exit
2013-09-17 02:31:18 +02:00
hotkey.confirm = Return ; Confirm the current command.
2010-12-03 02:21:49 +01:00
hotkey.pause = Pause ; Pause/unpause game
hotkey.screenshot = F2 ; Take PNG screenshot
hotkey.bigscreenshot = "Shift+F2" ; Take large BMP screenshot
hotkey.togglefullscreen = "Alt+Return" ; Toggle fullscreen/windowed mode
2013-01-04 21:12:32 +01:00
hotkey.screenshot.watermark = "Alt+K" ; Toggle product/company watermark for official screenshots
2010-12-03 02:21:49 +01:00
hotkey.wireframe = "Alt+W" ; Toggle wireframe mode
2012-05-07 03:09:53 +02:00
hotkey.silhouettes = "Alt+S" ; Toggle unit silhouettes
2012-08-22 09:32:26 +02:00
hotkey.showsky = "Alt+Z" ; Toggle sky
2010-12-03 02:21:49 +01:00
; > CAMERA SETTINGS
2013-04-18 21:20:29 +02:00
hotkey.camera.reset = "R" ; Reset camera rotation to default.
2013-01-01 19:33:53 +01:00
hotkey.camera.follow = "F" ; Follow the first unit in the selection
hotkey.camera.zoom.in = Plus, Equals, NumPlus ; Zoom camera in (continuous control)
hotkey.camera.zoom.out = Minus, NumMinus ; Zoom camera out (continuous control)
hotkey.camera.zoom.wheel.in = WheelUp ; Zoom camera in (stepped control)
hotkey.camera.zoom.wheel.out = WheelDown ; Zoom camera out (stepped control)
hotkey.camera.rotate.up = "Ctrl+UpArrow", "Ctrl+W" ; Rotate camera to look upwards
hotkey.camera.rotate.down = "Ctrl+DownArrow", "Ctrl+S" ; Rotate camera to look downwards
hotkey.camera.rotate.cw = "Ctrl+LeftArrow", "Ctrl+A", Q ; Rotate camera clockwise around terrain
hotkey.camera.rotate.ccw = "Ctrl+RightArrow", "Ctrl+D", E ; Rotate camera anticlockwise around terrain
2010-12-03 02:21:49 +01:00
hotkey.camera.rotate.wheel.cw = "Shift+WheelUp", MouseX1 ; Rotate camera clockwise around terrain (stepped control)
2010-12-23 21:48:37 +01:00
hotkey.camera.rotate.wheel.ccw = "Shift+WheelDown", MouseX2 ; Rotate camera anticlockwise around terrain (stepped control)
2013-10-05 01:31:24 +02:00
hotkey.camera.pan = MouseMiddle ; Enable scrolling by moving mouse
2013-01-01 19:33:53 +01:00
hotkey.camera.left = A, LeftArrow ; Scroll or rotate left
hotkey.camera.right = D, RightArrow ; Scroll or rotate right
hotkey.camera.up = W, UpArrow ; Scroll or rotate up/forwards
hotkey.camera.down = S, DownArrow ; Scroll or rotate down/backwards
hotkey.camera.scroll.speed.increase = "Ctrl+Shift+S" ; Increase scroll speed
hotkey.camera.scroll.speed.decrease = "Ctrl+Alt+S" ; Decrease scroll speed
hotkey.camera.rotate.speed.increase = "Ctrl+Shift+R" ; Increase rotation speed
hotkey.camera.rotate.speed.decrease = "Ctrl+Alt+R" ; Decrease rotation speed
hotkey.camera.zoom.speed.increase = "Ctrl+Shift+Z" ; Increase zoom speed
hotkey.camera.zoom.speed.decrease = "Ctrl+Alt+Z" ; Decrease zoom speed
2013-06-09 22:21:19 +02:00
hotkey.camera.jump.1 = F5 ; Jump to position N
hotkey.camera.jump.2 = F6
hotkey.camera.jump.3 = F7
hotkey.camera.jump.4 = F8
;hotkey.camera.jump.5 =
;hotkey.camera.jump.6 =
;hotkey.camera.jump.7 =
;hotkey.camera.jump.8 =
;hotkey.camera.jump.9 =
;hotkey.camera.jump.10 =
hotkey.camera.jump.set.1 = "Ctrl+F5" ; Set jump position N
hotkey.camera.jump.set.2 = "Ctrl+F6"
hotkey.camera.jump.set.3 = "Ctrl+F7"
hotkey.camera.jump.set.4 = "Ctrl+F8"
;hotkey.camera.jump.set.5 =
;hotkey.camera.jump.set.6 =
;hotkey.camera.jump.set.7 =
;hotkey.camera.jump.set.8 =
;hotkey.camera.jump.set.9 =
;hotkey.camera.jump.set.10 =
2010-12-03 02:21:49 +01:00
; > CONSOLE SETTINGS
hotkey.console.toggle = BackQuote, F9 ; Open/close console
2011-06-25 02:04:41 +02:00
; > CLIPBOARD CONTROLS
hotkey.copy = "Ctrl+C" ; Copy to clipboard
hotkey.paste = "Ctrl+V" ; Paste from clipboard
hotkey.cut = "Ctrl+X" ; Cut selected text and copy to the clipboard
2010-12-03 02:21:49 +01:00
; > ENTITY SELECTION
hotkey.selection.add = Shift ; Add units to selection
2012-01-05 14:31:54 +01:00
hotkey.selection.milonly = Alt ; Add only military units to selection
2010-12-03 02:21:49 +01:00
hotkey.selection.remove = Ctrl ; Remove units from selection
2013-05-04 23:02:11 +02:00
hotkey.selection.cancel = Esc ; Un-select all units and cancel building placement
2011-07-10 04:11:51 +02:00
hotkey.selection.idleworker = Period ; Select next idle worker
2013-10-05 01:31:24 +02:00
hotkey.selection.idlewarrior = ForwardSlash ; Select next idle warrior
2012-03-02 19:03:19 +01:00
hotkey.selection.offscreen = Alt ; Include offscreen units in selection
2011-04-26 20:19:16 +02:00
hotkey.selection.group.select.0 = 0
hotkey.selection.group.save.0 = "Ctrl+0"
hotkey.selection.group.add.0 = "Shift+0"
hotkey.selection.group.select.1 = 1
hotkey.selection.group.save.1 = "Ctrl+1"
hotkey.selection.group.add.1 = "Shift+1"
hotkey.selection.group.select.2 = 2
hotkey.selection.group.save.2 = "Ctrl+2"
hotkey.selection.group.add.2 = "Shift+2"
hotkey.selection.group.select.3 = 3
hotkey.selection.group.save.3 = "Ctrl+3"
hotkey.selection.group.add.3 = "Shift+3"
hotkey.selection.group.select.4 = 4
hotkey.selection.group.save.4 = "Ctrl+4"
hotkey.selection.group.add.4 = "Shift+4"
hotkey.selection.group.select.5 = 5
hotkey.selection.group.save.5 = "Ctrl+5"
hotkey.selection.group.add.5 = "Shift+5"
hotkey.selection.group.select.6 = 6
hotkey.selection.group.save.6 = "Ctrl+6"
hotkey.selection.group.add.6 = "Shift+6"
hotkey.selection.group.select.7 = 7
hotkey.selection.group.save.7 = "Ctrl+7"
hotkey.selection.group.add.7 = "Shift+7"
hotkey.selection.group.select.8 = 8
hotkey.selection.group.save.8 = "Ctrl+8"
hotkey.selection.group.add.8 = "Shift+8"
hotkey.selection.group.select.9 = 9
hotkey.selection.group.save.9 = "Ctrl+9"
hotkey.selection.group.add.9 = "Shift+9"
2010-12-03 02:21:49 +01:00
; > SESSION CONTROLS
hotkey.session.kill = Delete ; Destroy selected units
2013-04-18 21:20:29 +02:00
hotkey.session.stop = "H" ; Stop the current action
2013-03-15 22:59:36 +01:00
hotkey.session.attack = "Ctrl+Alt" ; Modifier to force attack instead of another action
2013-02-25 22:56:24 +01:00
hotkey.session.attackmove = Ctrl ; Modifier to attackmove when clicking on a point
2013-11-11 16:37:16 +01:00
hotkey.session.garrison = Ctrl ; Modifier to garrison when clicking on building
hotkey.session.autorallypoint = Ctrl ; Modifier to set the rally point on the building itself
2013-11-30 18:30:08 +01:00
hotkey.session.guard = "G" ; Modifier to escort/guard when clicking on unit/building
2010-12-03 02:21:49 +01:00
hotkey.session.queue = Shift ; Modifier to queue unit orders instead of replacing
hotkey.session.batchtrain = Shift ; Modifier to train units in batches
2011-11-24 16:43:32 +01:00
hotkey.session.massbarter = Shift ; Modifier to barter bunch of resources
2013-02-25 23:59:04 +01:00
hotkey.session.masstribute = Shift ; Modifier to tribute bunch of resources
2014-05-24 17:37:19 +02:00
hotkey.session.fulltradeswap = Shift ; Modifier to put the desired trade resource to 100%
2012-03-21 16:18:31 +01:00
hotkey.session.unloadtype = Shift ; Modifier to unload all units of type
2010-12-03 02:21:49 +01:00
hotkey.session.deselectgroup = Ctrl ; Modifier to deselect units when clicking group icon, instead of selecting
hotkey.session.rotate.cw = RightBracket ; Rotate building placement preview clockwise
hotkey.session.rotate.ccw = LeftBracket ; Rotate building placement preview anticlockwise
2012-03-02 19:03:19 +01:00
hotkey.timewarp.fastforward = Space ; If timewarp mode enabled, speed up the game
hotkey.timewarp.rewind = Backspace ; If timewarp mode enabled, go back to earlier point in the game
2010-12-03 02:21:49 +01:00
2012-11-17 19:27:31 +01:00
; > UNIT TRAINING
hotkey.session.queueunit.1 = "Z" ; add first unit type to queue
hotkey.session.queueunit.2 = "X" ; add second unit type to queue
hotkey.session.queueunit.3 = "C" ; add third unit type to queue
hotkey.session.queueunit.4 = "V" ; add fourth unit type to queue
hotkey.session.queueunit.5 = "B" ; add fivth unit type to queue
hotkey.session.queueunit.6 = "N" ; add sixth unit type to queue
hotkey.session.queueunit.7 = "M" ; add seventh unit type to queue
2013-10-05 01:31:24 +02:00
hotkey.session.queueunit.8 = Comma ; add eighth unit type to queue
2012-11-17 19:27:31 +01:00
2010-12-03 02:21:49 +01:00
; > OVERLAY KEYS
2012-02-06 06:56:31 +01:00
hotkey.fps.toggle = "Alt+F" ; Toggle frame counter
2014-08-13 04:35:29 +02:00
hotkey.realtime.toggle = "Alt+T" ; Toggle current display of computer time
2012-02-06 06:56:31 +01:00
hotkey.session.devcommands.toggle = "Alt+D" ; Toggle developer commands panel
hotkey.session.gui.toggle = "Alt+G" ; Toggle visibility of session GUI
hotkey.menu.toggle = "F10" ; Toggle in-game menu
hotkey.timeelapsedcounter.toggle = "F12" ; Toggle time elapsed counter
2012-07-24 06:14:09 +02:00
hotkey.session.showstatusbars = Tab ; Toggle display of status bars
2013-11-30 18:30:08 +01:00
hotkey.session.highlightguarding = PgDn ; Toggle highlight of guarding units
hotkey.session.highlightguarded = PgUp ; Toggle highlight of guarded units
2010-12-03 02:21:49 +01:00
; > HOTKEYS ONLY
hotkey.chat = Return ; Toggle chat window
2012-08-12 01:59:28 +02:00
hotkey.teamchat = "T" ; Toggle chat window in team chat mode
2010-12-03 02:21:49 +01:00
2011-06-23 12:12:43 +02:00
; > GUI TEXTBOX HOTKEYS
2011-06-25 02:04:41 +02:00
hotkey.text.delete.left = "Ctrl+Backspace" ; Delete word to the left of cursor
hotkey.text.delete.right = "Ctrl+Del" ; Delete word to the right of cursor
hotkey.text.move.left = "Ctrl+LeftArrow" ; Move cursor to start of word to the left of cursor
hotkey.text.move.right = "Ctrl+RightArrow" ; Move cursor to start of word to the right of cursor
2011-06-23 12:12:43 +02:00
2010-12-03 02:21:49 +01:00
; > PROFILER
hotkey.profile.toggle = "F11" ; Enable/disable real-time profiler
hotkey.profile.save = "Shift+F11" ; Save current profiler data to logs/profile.txt
2011-11-09 14:09:01 +01:00
hotkey.profile2.enable = "F11" ; Enable HTTP/GPU modes for new profiler
profiler2.http.autoenable = false ; Enable HTTP server output at startup (default off for security/performance)
2013-03-07 14:49:49 +01:00
profiler2.script.enable = false ; Enable Javascript profiling. Needs to be set before startup and can't be changed later. (default off for performance)
2011-11-09 14:09:01 +01:00
profiler2.gpu.autoenable = false ; Enable GPU timing at startup (default off for performance/compatibility)
profiler2.gpu.arb.enable = true ; Allow GL_ARB_timer_query timing mode when available
profiler2.gpu.ext.enable = true ; Allow GL_EXT_timer_query timing mode when available
profiler2.gpu.intel.enable = true ; Allow GL_INTEL_performance_queries timing mode when available
2010-12-03 02:21:49 +01:00
2014-04-26 21:31:23 +02:00
; Developer options
2014-01-04 21:47:56 +01:00
jsdebugger.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.
2014-04-26 17:32:18 +02:00
tinygettext.debug = false ; Enable Tinygettext debugging information. If true, Tinygettext prints error messages each time that a translation for an English string is not found.
2011-10-24 16:55:45 +02:00
; > QUICKSAVE
hotkey.quicksave = "Shift+F5"
hotkey.quickload = "Shift+F8"
2010-12-30 20:45:13 +01:00
; EXPERIMENTAL: joystick/gamepad settings
joystick.enable = false
joystick.deadzone = 8192
joystick.camera.pan.x = 0
joystick.camera.pan.y = 1
joystick.camera.rotate.x = 3
joystick.camera.rotate.y = 2
joystick.camera.zoom.in = 5
joystick.camera.zoom.out = 4
2013-01-12 02:20:01 +01:00
2013-10-06 06:49:38 +02:00
; SESSION GUI SETTINGS
2013-12-13 13:14:17 +01:00
gui.session.timeelapsedcounter = false ; Show the game duration in the top right corner
2013-10-06 23:17:56 +02:00
gui.session.attacknotificationmessage = true ; Show attack notification messages
2013-10-06 06:49:38 +02:00
gui.session.minimap.pingduration = 50.0 ; The duration for which an entity will be pinged after an attack notification
gui.session.minimap.blinkduration = 1.7 ; The blink duration while pinging
2013-01-12 02:20:01 +01:00
; GENERAL GUI SETTINGS
gui.cursorblinkrate = 0.5 ; Cursor blink rate in seconds (0.0 to disable blinking)
2013-11-07 21:07:24 +01:00
; Multiplayer lobby preferences
lobby.server = "lobby.wildfiregames.com" ; Address of lobby server
2014-05-18 15:25:00 +02:00
lobby.xpartamupp = "wfgbot17" ; Name of the server-side xmpp client that manage games
2013-12-13 13:14:17 +01:00
lobby.chattimestamp = false ; Show time chat message was posted
2014-05-18 15:25:00 +02:00
lobby.room = "arena17" ; Default MUC room to join
2014-01-26 06:39:55 +01:00
lobby.history = 0 ; Number of past messages to display on join