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. *
2016-06-05 22:48:22 +02:00
; * *
; * If a setting is part of a section (for instance [hotkey]) *
; * you need to append the section name at the beginning of *
; * your custom line (for instance you need to write *
; * "hotkey.pause = Space" if you want to change the pausing *
; * hotkey to the spacebar). *
2010-12-03 02:21:49 +01:00
; * *
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
2011-11-26 16:23:41 +01:00
; Pause the game on window focus loss (Only applicable to single player mode)
pauseonfocusloss = true
2014-12-31 01:21:24 +01:00
; Persist settings after leaving the game setup screen
persistmatchsettings = 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
2014-09-20 14:12:35 +02:00
; Preferred display (for multidisplay setups, only works with SDL 2.0)
display = 0
2015-02-22 22:24:27 +01:00
; Emulate right-click with Ctrl+Click on Mac mice
macmouse = false
2010-12-03 02:21:49 +01:00
; 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
2017-08-21 02:09:25 +02:00
watereffects = true ; When disabled, force usage of the fixed pipeline water. This is faster, but really, really ugly.
2014-07-01 18:05:05 +02:00
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
2017-08-19 14:46:05 +02:00
shadowquality = 0 ; Shadow map resolution. (-2 - Very Low, -1 - Low, 0 - Medium, 1 - High, 2 - Very High)
; High values can crash the game when using a graphics card with low memory!
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
2017-12-04 16:54:24 +01:00
fog = true
2012-05-07 03:09:53 +02:00
silhouettes = true
2016-01-07 13:38:43 +01:00
showsky = true
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 ;;;;;
2015-11-29 16:44:22 +01:00
; Prefer GLSL shaders over ARB shaders. Allows fancier graphical effects.
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
; Experimental probably-non-working GPU skinning support; requires preferglsl; use at own risk
gpuskinning = false
2014-10-27 01:53:31 +01:00
; Use smooth LOS interpolation
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
2017-04-30 23:51:00 +02:00
; Quality level of shader effects (set to 10 to display all effects)
2015-11-06 21:55:07 +01:00
materialmgr.quality = 2.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
2015-03-16 00:59:48 +01:00
; Color of the sky (in "r g b" format)
2010-12-03 02:21:49 +01:00
skycolor = "0 0 0"
2017-05-04 01:44:13 +02:00
[adaptivefps]
session = 60 ; Throttle FPS in running games (prevents 100% CPU workload).
menu = 30 ; Throttle FPS in menus only.
2010-12-03 02:21:49 +01:00
2014-11-18 04:57:07 +01:00
[hotkey]
2010-12-03 02:21:49 +01:00
; Each one of the specified keys will trigger the action on the left
2014-11-18 04:57:07 +01:00
; for multiple-key combinations, separate keys with '+'.
2010-12-03 02:21:49 +01:00
; See keys.txt for the list of key names.
; > SYSTEM SETTINGS
2016-10-11 17:48:02 +02:00
exit = "Ctrl+Break", "Super+Q" ; Exit to desktop
2015-06-08 05:07:45 +02:00
cancel = Escape ; Close or cancel the current dialog box/popup
2014-11-18 04:57:07 +01:00
leave = Escape ; End current game or Exit
2015-06-08 05:07:45 +02:00
confirm = Return ; Confirm the current command
2014-11-18 04:57:07 +01:00
pause = Pause ; Pause/unpause game
screenshot = F2 ; Take PNG screenshot
bigscreenshot = "Shift+F2" ; Take large BMP screenshot
togglefullscreen = "Alt+Return" ; Toggle fullscreen/windowed mode
screenshot.watermark = "Alt+K" ; Toggle product/company watermark for official screenshots
2017-12-11 23:16:01 +01:00
wireframe = "Alt+Shift+W" ; Toggle wireframe mode
silhouettes = "Alt+Shift+S" ; Toggle unit silhouettes
2014-11-18 04:57:07 +01:00
showsky = "Alt+Z" ; Toggle sky
2018-01-16 16:05:16 +01:00
; > DIALOG HOTKEYS
2017-12-11 23:16:01 +01:00
summary = "Ctrl+Tab" ; Toggle in-game summary
2018-01-16 16:05:16 +01:00
lobby = "Alt+L" ; Show the multiplayer lobby in a dialog window.
2018-04-09 17:18:44 +02:00
structree = "Alt+Shift+T" ; Show structure tree
2018-02-23 21:54:28 +01:00
civinfo = "Alt+Shift+H" ; Show civilization info
2011-06-25 02:04:41 +02:00
; > CLIPBOARD CONTROLS
2014-11-18 04:57:07 +01:00
copy = "Ctrl+C" ; Copy to clipboard
paste = "Ctrl+V" ; Paste from clipboard
cut = "Ctrl+X" ; Cut selected text and copy to the clipboard
; > CONSOLE SETTINGS
console.toggle = BackQuote, F9 ; Open/close console
2012-11-17 19:27:31 +01:00
2010-12-03 02:21:49 +01:00
; > OVERLAY KEYS
2014-11-18 04:57:07 +01:00
fps.toggle = "Alt+F" ; Toggle frame counter
realtime.toggle = "Alt+T" ; Toggle current display of computer time
session.devcommands.toggle = "Alt+D" ; Toggle developer commands panel
timeelapsedcounter.toggle = "F12" ; Toggle time elapsed counter
session.showstatusbars = Tab ; Toggle display of status bars
session.highlightguarding = PgDn ; Toggle highlight of guarding units
session.highlightguarded = PgUp ; Toggle highlight of guarded units
2017-12-08 14:40:41 +01:00
session.toggleattackrange = "Alt+C" ; Toggle display of attack range overlays of selected defensive structures
2017-12-10 04:08:05 +01:00
session.toggleaurasrange = "Alt+V" ; Toggle display of aura range overlays of selected units and structures
2017-05-28 07:07:10 +02:00
session.togglehealrange = "Alt+B" ; Toggle display of heal range overlays of selected units
2018-02-15 20:10:23 +01:00
session.diplomacycolors = "Alt+X" ; Toggle diplomacy colors
2010-12-03 02:21:49 +01:00
; > HOTKEYS ONLY
2014-11-18 04:57:07 +01:00
chat = Return ; Toggle chat window
teamchat = "T" ; Toggle chat window in team chat mode
2017-03-04 22:24:14 +01:00
privatechat = "L" ; Toggle chat window and select the previous private chat partner
2014-04-26 17:32:18 +02:00
2011-10-24 16:55:45 +02:00
; > QUICKSAVE
2014-11-18 04:57:07 +01:00
quicksave = "Shift+F5"
quickload = "Shift+F8"
[hotkey.camera]
reset = "R" ; Reset camera rotation to default.
follow = "F" ; Follow the first unit in the selection
2016-08-02 17:42:35 +02:00
rallypointfocus = unused ; Focus the camera on the rally point of the selected building
2014-11-18 04:57:07 +01:00
zoom.in = Plus, Equals, NumPlus ; Zoom camera in (continuous control)
zoom.out = Minus, NumMinus ; Zoom camera out (continuous control)
zoom.wheel.in = WheelUp ; Zoom camera in (stepped control)
zoom.wheel.out = WheelDown ; Zoom camera out (stepped control)
rotate.up = "Ctrl+UpArrow", "Ctrl+W" ; Rotate camera to look upwards
rotate.down = "Ctrl+DownArrow", "Ctrl+S" ; Rotate camera to look downwards
rotate.cw = "Ctrl+LeftArrow", "Ctrl+A", Q ; Rotate camera clockwise around terrain
rotate.ccw = "Ctrl+RightArrow", "Ctrl+D", E ; Rotate camera anticlockwise around terrain
rotate.wheel.cw = "Shift+WheelUp", MouseX1 ; Rotate camera clockwise around terrain (stepped control)
rotate.wheel.ccw = "Shift+WheelDown", MouseX2 ; Rotate camera anticlockwise around terrain (stepped control)
pan = MouseMiddle ; Enable scrolling by moving mouse
left = A, LeftArrow ; Scroll or rotate left
right = D, RightArrow ; Scroll or rotate right
up = W, UpArrow ; Scroll or rotate up/forwards
down = S, DownArrow ; Scroll or rotate down/backwards
scroll.speed.increase = "Ctrl+Shift+S" ; Increase scroll speed
scroll.speed.decrease = "Ctrl+Alt+S" ; Decrease scroll speed
rotate.speed.increase = "Ctrl+Shift+R" ; Increase rotation speed
rotate.speed.decrease = "Ctrl+Alt+R" ; Decrease rotation speed
zoom.speed.increase = "Ctrl+Shift+Z" ; Increase zoom speed
zoom.speed.decrease = "Ctrl+Alt+Z" ; Decrease zoom speed
[hotkey.camera.jump]
1 = F5 ; Jump to position N
2 = F6
3 = F7
4 = F8
;5 =
;6 =
;7 =
;8 =
;9 =
;10 =
[hotkey.camera.jump.set]
1 = "Ctrl+F5" ; Set jump position N
2 = "Ctrl+F6"
3 = "Ctrl+F7"
4 = "Ctrl+F8"
;5 =
;6 =
;7 =
;8 =
;9 =
;10 =
[hotkey.profile]
toggle = "F11" ; Enable/disable real-time profiler
save = "Shift+F11" ; Save current profiler data to logs/profile.txt
[hotkey.profile2]
toggle = "Ctrl+F11" ; Enable/disable HTTP/GPU modes for new profiler
[hotkey.selection]
add = Shift ; Add units to selection
2017-12-30 19:20:43 +01:00
militaryonly = Alt ; Add only military units to the selection
nonmilitaryonly = "Alt+Y" ; Add only non-military units to the selection
2014-11-24 17:46:05 +01:00
idleonly = "I" ; Select only idle units
2017-12-11 13:47:56 +01:00
woundedonly = "O" ; Select only wounded units
2014-11-18 04:57:07 +01:00
remove = Ctrl ; Remove units from selection
2016-07-21 17:31:39 +02:00
cancel = Esc ; Un-select all units and cancel building placement
2014-11-18 04:57:07 +01:00
idleworker = Period ; Select next idle worker
idlewarrior = ForwardSlash ; Select next idle warrior
2017-12-04 03:54:51 +01:00
idleunit = BackSlash ; Select next idle unit
2014-11-18 04:57:07 +01:00
offscreen = Alt ; Include offscreen units in selection
[hotkey.selection.group.add]
0 = "Shift+0"
1 = "Shift+1"
2 = "Shift+2"
3 = "Shift+3"
4 = "Shift+4"
5 = "Shift+5"
6 = "Shift+6"
7 = "Shift+7"
8 = "Shift+8"
9 = "Shift+9"
[hotkey.selection.group.save]
0 = "Ctrl+0"
1 = "Ctrl+1"
2 = "Ctrl+2"
3 = "Ctrl+3"
4 = "Ctrl+4"
5 = "Ctrl+5"
6 = "Ctrl+6"
7 = "Ctrl+7"
8 = "Ctrl+8"
9 = "Ctrl+9"
[hotkey.selection.group.select]
0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
[hotkey.session]
kill = Delete ; Destroy selected units
stop = "H" ; Stop the current action
2016-09-23 17:16:33 +02:00
backtowork = "Y" ; The unit will go back to work
2016-08-02 17:42:35 +02:00
unload = "U" ; Unload garrisoned units when a building/mechanical unit is selected
2017-12-05 21:46:11 +01:00
move = unused ; Modifier to move to a point instead of another action (e.g. gather)
attack = Ctrl ; Modifier to attack instead of another action (e.g. capture)
2014-11-18 04:57:07 +01:00
attackmove = Ctrl ; Modifier to attackmove when clicking on a point
attackmoveUnit = "Ctrl+Q" ; Modifier to attackmove targeting only units when clicking on a point (should contain the attackmove keys)
garrison = Ctrl ; Modifier to garrison when clicking on building
autorallypoint = Ctrl ; Modifier to set the rally point on the building itself
guard = "G" ; Modifier to escort/guard when clicking on unit/building
2016-09-25 23:33:05 +02:00
patrol = "P" ; Modifier to patrol a unit
2016-08-02 17:42:35 +02:00
repair = "J" ; Modifier to repair when clicking on building/mechanical unit
2014-11-18 04:57:07 +01:00
queue = Shift ; Modifier to queue unit orders instead of replacing
2017-11-11 18:20:37 +01:00
orderone = Alt ; Modifier to order only one entity in selection.
2014-11-18 04:57:07 +01:00
batchtrain = Shift ; Modifier to train units in batches
massbarter = Shift ; Modifier to barter bunch of resources
masstribute = Shift ; Modifier to tribute bunch of resources
2016-05-27 00:33:38 +02:00
noconfirmation = Shift ; Do not ask confirmation when deleting a building/unit
2014-11-18 04:57:07 +01:00
fulltradeswap = Shift ; Modifier to put the desired trade resource to 100%
unloadtype = Shift ; Modifier to unload all units of type
deselectgroup = Ctrl ; Modifier to deselect units when clicking group icon, instead of selecting
rotate.cw = RightBracket ; Rotate building placement preview clockwise
rotate.ccw = LeftBracket ; Rotate building placement preview anticlockwise
2017-03-28 04:34:32 +02:00
[hotkey.session.gui]
toggle = "Alt+G" ; Toggle visibility of session GUI
menu.toggle = "F10" ; Toggle in-game menu
barter.toggle = "Ctrl+B" ; Toggle in-game barter/trade page
2017-12-30 14:31:14 +01:00
tutorial.toggle = "Ctrl+P" ; Toggle in-game tutorial panel
2017-03-28 04:34:32 +02:00
2015-01-26 22:05:31 +01:00
[hotkey.session.savedgames]
delete = Delete ; Delete the selected saved game asking confirmation
2016-05-27 00:33:38 +02:00
noconfirmation = Shift ; Do not ask confirmation when deleting a game
2015-01-26 22:05:31 +01:00
2014-11-18 04:57:07 +01:00
[hotkey.session.queueunit] ; > UNIT TRAINING
1 = "Z" ; add first unit type to queue
2 = "X" ; add second unit type to queue
3 = "C" ; add third unit type to queue
4 = "V" ; add fourth unit type to queue
5 = "B" ; add fivth unit type to queue
6 = "N" ; add sixth unit type to queue
7 = "M" ; add seventh unit type to queue
8 = Comma ; add eighth unit type to queue
[hotkey.session.timewarp]
fastforward = Space ; If timewarp mode enabled, speed up the game
rewind = Backspace ; If timewarp mode enabled, go back to earlier point in the game
2017-12-11 23:16:01 +01:00
[hotkey.tab]
2018-01-22 06:06:52 +01:00
next = "Tab", "Alt+S" ; Show the next tab
prev = "Shift+Tab", "Alt+W" ; Show the previous tab
2017-12-11 23:16:01 +01:00
2014-11-18 04:57:07 +01:00
[hotkey.text] ; > GUI TEXTBOX HOTKEYS
delete.left = "Ctrl+Backspace" ; Delete word to the left of cursor
delete.right = "Ctrl+Del" ; Delete word to the right of cursor
move.left = "Ctrl+LeftArrow" ; Move cursor to start of word to the left of cursor
move.right = "Ctrl+RightArrow" ; Move cursor to start of word to the right of cursor
[gui]
cursorblinkrate = 0.5 ; Cursor blink rate in seconds (0.0 to disable blinking)
2015-01-24 21:06:37 +01:00
scale = 1.0 ; GUI scaling factor, for improved compatibility with 4K displays
2014-11-18 04:57:07 +01:00
2016-12-22 10:50:03 +01:00
[gui.gamesetup]
enabletips = true ; Enable/Disable tips during gamesetup (for newcomers)
2017-06-03 00:11:05 +02:00
assignplayers = everyone ; Whether to assign joining clients to free playerslots. Possible values: everyone, buddies, disabled.
2017-12-01 21:05:58 +01:00
aidifficulty = 3 ; Difficulty level, from 0 (easiest) to 5 (hardest)
2017-12-20 23:02:15 +01:00
aibehavior = "random" ; Default behavior of the AI (random, balanced, aggressive or defensive)
2018-01-21 13:35:47 +01:00
settingsslide = true ; Enable/Disable settings panel slide
2016-12-22 10:50:03 +01:00
2014-11-18 04:57:07 +01:00
[gui.session]
camerajump.threshold = 40 ; How close do we have to be to the actual location in order to jump back to the previous one?
timeelapsedcounter = false ; Show the game duration in the top right corner
2018-03-18 20:02:18 +01:00
ceasefirecounter = false ; Show the remaining ceasefire time in the top right corner
2018-03-10 21:15:51 +01:00
batchtrainingsize = 5 ; Number of units to be trained per batch by default (when pressing the hotkey)
scrollbatchratio = 1 ; Number of times you have to scroll to increase/decrease the batchsize by 1
2017-12-11 13:47:56 +01:00
woundedunithotkeythreshold = 33 ; The wounded unit hotkey considers the selected units as wounded if their health percentage falls below this number
2017-12-08 14:40:41 +01:00
attackrange = true ; Display attack range overlays of selected defensive structures
2017-12-10 04:08:05 +01:00
aurasrange = true ; Display aura range overlays of selected units and structures
2017-05-28 07:07:10 +02:00
healrange = true ; Display heal range overlays of selected units
2018-01-30 16:10:20 +01:00
rankabovestatusbar = true ; Show rank icons above status bars
2018-01-30 00:12:12 +01:00
respoptooltipsort = 0 ; Sorting players in the resources and population tooltip by value (0 - no sort, -1 - ascending, 1 - descending)
2014-11-18 04:57:07 +01:00
[gui.session.minimap]
blinkduration = 1.7 ; The blink duration while pinging
pingduration = 50.0 ; The duration for which an entity will be pinged after an attack notification
2017-02-23 20:35:55 +01:00
[gui.session.notifications]
attack = true ; Show a chat notification if you are attacked by another player
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
barter = true ; Show a chat notification to observers when a player bartered resources
2017-05-16 17:52:01 +02:00
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.
2017-02-23 20:35:55 +01:00
2016-12-22 10:50:03 +01:00
[gui.splashscreen]
enable = true ; Enable/disable the splashscreen
version = 0 ; Splashscreen version (date of last modification). By default, 0 to force splashscreen to appear at first launch
2018-03-12 05:48:38 +01:00
[gui.session.diplomacycolors]
self = "21 55 149" ; Color of your units when diplomacy colors are enabled
ally = "86 180 31" ; Color of allies when diplomacy colors are enabled
neutral = "231 200 5" ; Color of neutral players when diplomacy colors are enabled
enemy = "150 20 20" ; Color of enemies when diplomacy colors are enabled
2014-11-18 04:57:07 +01:00
[joystick] ; EXPERIMENTAL: joystick/gamepad settings
enable = false
deadzone = 8192
[joystick.camera]
pan.x = 0
pan.y = 1
rotate.x = 3
rotate.y = 2
zoom.in = 5
zoom.out = 4
2016-09-25 22:10:38 +02:00
[chat]
2016-11-11 02:46:12 +01:00
timestamp = true ; Show at which time chat messages have been sent
2016-09-25 22:10:38 +02:00
[chat.session]
extended = true ; Whether to display the chat history
2014-11-18 04:57:07 +01:00
[lobby]
history = 0 ; Number of past messages to display on join
2017-07-29 18:36:55 +02:00
room = "arena23" ; Default MUC room to join
2014-11-18 04:57:07 +01:00
server = "lobby.wildfiregames.com" ; Address of lobby server
2018-04-14 14:50:54 +02:00
xpartamupp = "wfgbot23" ; Name of the server-side XMPP-account that manage games
echelon = "echelon23" ; Name of the server-side XMPP-account that manages ratings
2017-04-19 13:51:29 +02:00
buddies = "," ; Comma separated list of playernames that the current user has marked as buddies
2018-02-21 23:01:03 +01:00
rememberpassword = true ; Whether to store the encrypted password in the user config
2018-03-12 01:23:40 +01:00
secureauth = true ; Secure Lobby Authentication: This prevents the impersonation of other players. The lobby server confirms the identity of the player before they join.
2014-11-18 04:57:07 +01:00
2017-05-18 13:50:33 +02:00
[lobby.columns]
gamerating = false ; Show the average rating of the participating players in a column of the gamelist
STUN + XMPP ICE implementation.
Allows lobby players to host games without having to configure their
router.
Differential Revision: https://code.wildfiregames.com/D364
Fixes #2305
Patch By: fcxSanya.
StunClient based on code by SuperTuxKart, relicensed with approval of
the according authors hilnius, hiker, Auria, deveee, Flakebi, leper,
konstin and KroArtem.
Added rfc5245 (ejabberd) support, a GUI option, refactoring and segfault
fixes by myself.
Tested By: user1, Sandarac, Sestroretsk1714, Vladislav, Grugnas,
javiergodas
Partially Reviewed By: leper, Philip, echotangoecho
This was SVN commit r19703.
2017-06-01 08:33:52 +02:00
[lobby.stun]
enabled = true ; The STUN protocol allows hosting games without configuring the firewall and router.
; If STUN is disabled, the game relies on direct connection, UPnP and port forwarding.
server = "lobby.wildfiregames.com" ; Address of the STUN server.
port = 3478 ; Port of the STUN server.
delay = 200 ; Duration in milliseconds that is waited between STUN messages.
; Smaller numbers speed up joins but also become less stable.
2014-11-18 04:57:07 +01:00
[mod]
enabledmods = "mod public"
2018-04-22 20:14:45 +02:00
[modio]
public_key = "RWQBhIRg+dOifTWlwgYHe8RfD8bqoDh1cCvygboAl3GOUKiCo0NlF4fw" ; Public key corresponding to the private key valid mods are signed with
[modio.v1]
baseurl = "https://api.mod.io/v1"
api_key = "23df258a71711ea6e4b50893acc1ba55"
name_id = "0ad"
2016-03-09 16:02:38 +01:00
[network]
2016-03-10 12:16:15 +01:00
duplicateplayernames = false ; Rename joining player to "User (2)" if "User" is already connected, otherwise prohibit join.
2017-06-03 00:11:05 +02:00
lateobservers = everyone ; Allow observers to join the game after it started. Possible values: everyone, buddies, disabled.
2016-09-12 00:46:00 +02:00
observerlimit = 8 ; Prevent further observer joins in running games if this limit is reached
Prevent players from disconnecting during the loading screen by increasing the timeout tolerance to 60 seconds for that period, fixes #5163.
The NetClient runs in the main thread, so any part of the loading screen
consuming several seconds makes that client timeout.
This is a workaround because threading the NetClient would have prevent
these timeouts, refs #3700.
Coutnerintuitively, since enet timeout tolerance is proportional to the
latency, the better the connection of the player, the more likely it was
to drop on gamestart.
This problem became very frequent in Alpha 23, at least due to the Aura
bugfix 583b6ec625, AIInterface being particularly slow and that not
having been disabled yet in the loading screen resulting in additional
10 second freezes during the loading screen, even on empty maps, refs
#5200, 8e168f85e6.
Differential Revision: https://code.wildfiregames.com/D1513
Based on patch by: causative
This was SVN commit r21842.
2018-06-07 00:09:38 +02:00
gamestarttimeout = 60000 ; Don't disconnect clients timing out in the loading screen and rejoin process before exceeding this timeout.
2016-03-09 16:02:38 +01:00
2014-11-18 04:57:07 +01:00
[overlay]
fps = "false" ; Show frames per second in top right corner
realtime = "false" ; Show current system time in top right corner
2016-02-04 18:14:46 +01:00
netwarnings = "true" ; Show warnings if the network connection is bad
2014-11-18 04:57:07 +01:00
[profiler2]
autoenable = false ; Enable HTTP server output at startup (default off for security/performance)
gpu.arb.enable = true ; Allow GL_ARB_timer_query timing mode when available
gpu.ext.enable = true ; Allow GL_EXT_timer_query timing mode when available
gpu.intel.enable = true ; Allow GL_INTEL_performance_queries timing mode when available
[sound]
mastergain = 0.9
musicgain = 0.2
ambientgain = 0.6
actiongain = 0.7
uigain = 0.7
2016-07-21 17:31:39 +02:00
[sound.notify]
nick = true ; Play a sound when someone mentions your name in the lobby or game
2014-11-18 04:57:07 +01:00
[tinygettext]
debug = false ; Print error messages each time a translation for an English string is not found.
[userreport] ; Opt-in online user reporting system
url = "http://feedback.wildfiregames.com/report/upload/v1/"
[view] ; Camera control settings
scroll.speed = 120.0
scroll.speed.modifier = 1.05 ; Multiplier for changing scroll speed
rotate.x.speed = 1.2
rotate.x.min = 28.0
rotate.x.max = 60.0
rotate.x.default = 35.0
rotate.y.speed = 2.0
rotate.y.speed.wheel = 0.45
rotate.y.default = 0.0
rotate.speed.modifier = 1.05 ; Multiplier for changing rotation speed
drag.speed = 0.5
zoom.speed = 256.0
zoom.speed.wheel = 32.0
zoom.min = 50.0
zoom.max = 200.0
zoom.default = 120.0
zoom.speed.modifier = 1.05 ; Multiplier for changing zoom speed
pos.smoothness = 0.1
zoom.smoothness = 0.4
rotate.x.smoothness = 0.5
rotate.y.smoothness = 0.3
near = 2.0 ; Near plane distance
far = 4096.0 ; Far plane distance
fov = 45.0 ; Field of view (degrees), lower is narrow, higher is wide
height.smoothness = 0.5
height.min = 16