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
2021-12-31 13:05:48 +01:00
; Switches between real fullscreen and borderless window on a full display size.
borderless.fullscreen = true
; Hides a window border in the windowed mode.
borderless.window = 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
2021-06-05 21:01:37 +02:00
; Enable Hi-DPI where supported, currently working only for testing.
hidpi = false
2021-01-22 20:40:02 +01:00
; Allows to force GL version for SDL
forceglversion = false
forceglprofile = "compatibility" ; Possible values: compatibility, core, es
forceglmajorversion = 3
forceglminorversion = 3
2021-02-12 22:20:07 +01:00
; Big screenshot tiles
2021-12-13 20:03:02 +01:00
screenshot.tiles = 8
2021-02-12 22:20:07 +01:00
screenshot.tilewidth = 480
screenshot.tileheight = 270
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
2010-12-03 02:21:49 +01:00
shadows = true
2021-06-06 18:44:54 +02:00
shadowquality = 0 ; Shadow map resolution. (-1 - Low, 0 - Medium, 1 - High, 2 - Very High)
2017-08-19 14:46:05 +02:00
; High values can crash the game when using a graphics card with low memory!
2011-07-13 01:48:05 +02:00
shadowpcf = true
2021-06-06 18:44:54 +02:00
; Increases details closer to the camera but decreases performance
; especially on low hardware.
shadowscascadecount = 1
shadowscascadedistanceratio = 1.7
; Hides shadows after the distance.
shadowscutoffdistance = 300.0
; If true shadows cover the whole map instead of the camera frustum.
shadowscovermap = false
2020-01-05 23:44:39 +01:00
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
2021-01-17 14:28:37 +01:00
showsky = true
2010-12-03 02:21:49 +01:00
2021-03-02 22:24:34 +01:00
; Uses a synchonized call to a GL driver to get an error state. Useful
; for a debugging of a system without GL_KHR_debug.
gl.checkerrorafterswap = false
2021-09-22 00:44:46 +02:00
; Different ways to draw a cursor, possible values are "sdl" and "system".
; The "system" one doesn't support a visual change of the cursor.
cursorbackend = "sdl"
2012-02-12 21:45:31 +01:00
2021-12-14 07:34:02 +01:00
; Backends for all graphics rendering:
; glarb - GL with legacy assembler-like shaders, might used only for buggy drivers.
; gl - GL with GLSL shaders, should be used by default.
rendererbackend = "gl"
2022-02-18 23:38:45 +01:00
; Enables additional debug information in renderer backend.
2022-02-25 17:26:56 +01:00
renderer.backend.debugcontext = "false"
2022-02-18 23:38:45 +01:00
renderer.backend.debugmessages = "false"
renderer.backend.debuglabels = "false"
renderer.backend.debugscopedlabels = "false"
2021-12-14 07:34:02 +01:00
; Should not be edited. It's used only for preventing of running fixed pipeline.
2010-12-03 02:21:49 +01:00
renderpath = default
2022-02-13 20:30:28 +01:00
; (0 - low, 1 - medium, 2 - high), higher quality means worse performance.
textures.quality = 2
; (1, 2, 4, 8 and 16)
textures.maxanisotropy = 2
2012-08-06 21:10:47 +02:00
;;;;; EXPERIMENTAL ;;;;;
2021-12-14 07:34:02 +01:00
; Experimental probably-non-working GPU skinning support; requires GLSL; use at own risk
2012-10-29 14:20:21 +01:00
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
2020-02-05 22:53:10 +01:00
; Use anti-aliasing techniques.
antialiasing = "disabled"
2020-08-08 00:16:55 +02:00
; Use sharpening techniques.
sharpening = "disabled"
sharpness = 0.3
Implement quality levels for actors & corresponding setting.
An actor file, as referenced by the VisualActor, can now define
different actors for different "quality level" setting.
In this initial version, the quality is handled directly by the object
manager.
Actor format impact:
- '<qualitylevels>' may be used as the root node, containing actor nodes
as children.
- such actor nodes can refer to a file, or to an inline actor, or
simply be inlined.
- such actor nodes may have a 'quality' attribute, specifying the
maximum quality level of this actor. By default, 255 (the maximum) is
implied.
- The actor format remains valid, but 'groups', 'variants', 'material',
'castshadow' and 'float' can be given a [minquality, maxquality[ range
via XML attributes. Outside of this range, the XML node is ignored
(making it possible to define, in a single actor file, several quality
levels).
Quality is a 0-255 value, with:
- Range 0-99 intended for lower level-of-detail actors (billboards,
etc.)
- Range 100-200 the 'normal' range for models. 100 is "low", 150
"medium", and 200 "high".
- Range 201-255 used for higher quality actors that might be used for
e.g. cinematics.
The range is wide to make it easier to add intermediate levels in the
future and it seemed easier given that an integer value of some kind was
required anyways.
Engine impacts:
- A new CActorDef class is introduced, wrapping an art/actors XML file
and its different quality levels. ObjectBase remains the definition of a
given 'actor', now at a given quality level.
- CActorDef imposes a maximal # of quality level for a particular actor
definition (5 currently).
- CUnit is made to refer to an Actor Definition explicitly, not a
particular ObjectBase.
- As a minor optimisation, variation keys are calculated on
pointer-to-sets-of-selections, instead of raw sets-of-selections, as
this reduces copying.
- some refactoring, including better const-correctness and hotloading
support via std::shared_ptr.
Differential Revision: https://code.wildfiregames.com/D3787
This was SVN commit r25210.
2021-04-08 09:22:24 +02:00
; Quality used for actors.
max_actor_quality = 200
2021-05-31 13:42:46 +02:00
; Whether or not actor variants are selected randomly, possible values are "full", "limited", "none".
variant_diversity = "full"
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
;;;;;;;;;;;;;;;;;;;;;;;;
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).
Gamesetup class rewrite, fixes #5322, refs #5387.
* Decouples settings logically which in turn allows fixing many problems
arising from previous coupling.
* Fixes the persist-match-settings feature, refs #2963, refs #3049.
* Improves performance of the matchsetup by rebuilding GUI objects only
when necessary.
Provides groundwork for:
* UI to control per-player handicap, such as StartingResources,
PopulationCap, StartingTechnologies, DisabledTechnologies,
DisabledTemplates, ..., refs #812.
* Map specific settings (onMapChange event), refs #4838.
* Chat notifications announcing which settings changed, refs D1195,
* Multiple controllers setting up the game (since setting types can
check for permissions in onUpdateGameAttributes without the need for a
new data model or a second gamesetup data network message type), refs
#3806, subsequently dedicated server, refs #3556.
* MapBrowser (MapCache, MapTypes, onUpdateGameAttributes interface),
refs D1703 and D1777,
* Multiplayer saved games (decoupling and setting dependent unique
logic), refs #1088.
Refs
https://wildfiregames.com/forum/index.php?/topic/20787-paid-development-2016/
https://wildfiregames.com/forum/index.php?/topic/20789-paid-development-2016/
Enable maps to restrict setting values:
* If a map specifies an AI or Civs for a playerslot, the controller
can't assign a player/other AI or Civ to that slot, refs #3049, #3013.
Fix per player StartingResources, PopulationCap, StartingTechnologies,
DisabledTechnologies, DisabledTemplates following 9177683653, refs #812,
fixes #4504. Use this for DisabledTechnologies on Polar Sea.
Persist user settings for Skirmish maps:
* All user chosen settings are persisted when changing the selected map
or maptype,
except where the selected map overwrites the setting value and
except for Scenario maps which still use the default value where the
map doesn't specify the setting value.
* Tickets relating to that Skirmish mapchange user setting persistance:
- Selecting a map doesn't change the selected civilizations, fixes
#3120 (together with 7cf83f19fd removing map specified Civs).
- Selecting a map type doesn't reset the selected settings, fixes
#5372.
- Selecting a map doesn't change the selected victory conditions,
unless the map specifies those, refs #4661, #3209. (Atlas still writes
VictoryConditions to every map.)
- Consume the player color palette from Skirmish maps, refs 4996d28110
/ #1580. Preserve the selected playercolors when switching the
Skirmish/Random map by chosing the most similar colors if the map comes
with a different palette.
Rated games:
* Hide and disable Rated game setting unless there are exactly two
players, fixes #3950, supersedes D2117.
* Display conspicuous warning if the game is rated, so players are
perfectly aware.
Autostarted games:
* Allow using the gamesetup page to autostart matches with arbitrary
maps, not only this one tutorial, as reported in D194 and 15e2b42525,
refs D11.
Networking:
* Keep gamesetup page open after disconnect, allowing players to read
chat messages indicating why the host stopped the server, fixes #4114.
* The message subscription system allows new and mod settings to run
custom logic on arbitrary setting changes (most importantly on map
change).
This removes hardcoded logic restrictions from the gamesetup option
unification rewrite in b4e5858f6d/D322, refs #3994,
such as the hardcoding of setting references in selectMap to biomes
from f2550705d3/D852 and the difficulty from 9daa7520ef/D1189,
RelicDuration, WonderDuration, LastManStanding, RegicideGarrison,
TriggerScripts, CircularMap, Garrison, DisabledTemplates.
Checkboxes:
* Display values of disabled checkboxes with Yes/No labels, fixes D2349,
reviewed by nani.
Clean g_GameAttributes of invalid values and gamesetup GUI temporaries,
refs #3049, #3883:
* Delete useless values:
- VictoryScripts, because they are redundant with TriggerScripts,
introduced in 8915037631.
- mapType which was written twice to g_GameAttributes following
9177683653
- Description, Keywords, Preview since that doesn't impact simulation
and can be loaded from the MapCache
- mapFilter, mapPath, SupportedBiomes, SupportedTriggerDifficulties
since they are only used in the gamesetup
* Delete conditional values if the condition is not met:
- AIDiff, AIBehavior if there is no AI in that slot
- Nomad and Size if the maptype is not Random
- Biome, TriggerDifficulty if the map doesn't support that
- WonderDuration, RegicideGarrison, RelicCount, RelicDuration if the
according VictoryConditions are not enabled
- LastManStanding if TeamsLocked
- Rating if there are more than 2 players
MapCache:
* Refactor to MapCache class, store maps of all types and use it in the
replaymenu, lobby and session as well.
SettingTabsPanel:
* Remove hardcodings and coupling of the SettingTabsPanel with
biomes/difficulties/chat UI from D1027/ac7b5ce861.
GamesetupPage.xml:
* Restructure the page to use hierarchical object organization
(topPanel, centerPanel, centerLeftPanel, bottomPanel, centerCenterPanel,
centerRightPanel, bottomLeftPanel, bottomRightPanel), allowing to
deduplicate object position margins and size math and ease navigation.
New defaults:
* Check LockedTeams default in multiplayer (not only rated games).
* Persist the rated game setting instead of defaulting to true when
restarting a match, which often lead to unintentional rated games when
rehosting.
* 60 FPS in menus since they are animated
Autocomplete sorting fixed (playernames should be completed first).
Refactoring encompasses the one proposed in Polakrity and bb D1651.
Differential Revision: https://code.wildfiregames.com/D2483
Tested by: nani
Discussed with:
* nani for blackbox testing, code architecture, performance and
MapBrowser in PMs on 2019-12-19, 2019-12-31, 2020-01-06
* Angen for the simulation diff on
http://irclogs.wildfiregames.com/2020-01/2020-01-03-QuakeNet-%230ad-dev.log
* bb on SettingsTabPanel on
http://irclogs.wildfiregames.com/2020-01/2020-01-05-QuakeNet-%230ad-dev.log
* Imarok on data model and revised multi-controller plans for #3806 on
http://irclogs.wildfiregames.com/2020-01/2020-01-07-QuakeNet-%230ad-dev.log
Emojis by: asterix, Imarok, fpre, nani, Krinkle, Stan, Angen, Freagarach
This was SVN commit r23374.
2020-01-11 21:14:17 +01:00
menu = 60 ; Throttle FPS in menus only.
2010-12-03 02:21:49 +01:00
2020-12-07 09:11:23 +01:00
[profiler2]
server = "127.0.0.1"
server.port = "8000" ; Use a free port on your machine.
server.threads = "6" ; Enough for the browser's parallel connection limit
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
2021-06-09 20:39:06 +02:00
exit = "" ; 'Custom' exit to desktop, SDL handles the native command via SDL_Quit.
2015-06-08 05:07:45 +02:00
cancel = Escape ; Close or cancel the current dialog box/popup
confirm = Return ; Confirm the current command
2021-01-21 10:31:50 +01:00
pause = Pause, "Shift+Space" ; Pause/unpause game
2014-11-18 04:57:07 +01:00
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
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
timeelapsedcounter.toggle = "F12" ; Toggle time elapsed counter
2021-01-15 09:05:10 +01:00
ceasefirecounter.toggle = "" ; Toggle ceasefire counter
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
2021-01-15 09:05:10 +01:00
rallypointfocus = "" ; Focus the camera on the rally point of the selected building
2021-06-06 20:29:48 +02:00
lastattackfocus = "Space" ; Focus the camera on the last notified attack
Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific.
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in 3d7784d2af.
Various diffs tested by: Angen, Stan, Freagarach
Comments by: Nescio
Differential Revision: https://code.wildfiregames.com/D2814
This was SVN commit r24215.
2020-11-19 10:27:26 +01:00
zoom.in = Plus, NumPlus ; Zoom camera in (continuous control)
zoom.out = Minus, NumMinus ; Zoom camera out (continuous control)
2014-11-18 04:57:07 +01:00
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]
Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific.
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in 3d7784d2af.
Various diffs tested by: Angen, Stan, Freagarach
Comments by: Nescio
Differential Revision: https://code.wildfiregames.com/D2814
This was SVN commit r24215.
2020-11-19 10:27:26 +01:00
cancel = Esc ; Un-select all units and cancel building placement
2020-11-03 19:16:19 +01:00
add = Shift ; Add units to selection
militaryonly = Alt ; Add only military units to the selection
nonmilitaryonly = "Alt+Y" ; Add only non-military units to the selection
idleonly = "I" ; Select only idle units
woundedonly = "O" ; Select only wounded units
remove = Ctrl ; Remove units from selection
2021-04-01 09:26:59 +02:00
idlebuilder = Semicolon ; Select next idle builder
Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific.
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in 3d7784d2af.
Various diffs tested by: Angen, Stan, Freagarach
Comments by: Nescio
Differential Revision: https://code.wildfiregames.com/D2814
This was SVN commit r24215.
2020-11-19 10:27:26 +01:00
idleworker = Period, NumDecimal ; Select next idle worker
idlewarrior = Slash, NumDivide ; Select next idle warrior
2020-11-03 19:16:19 +01:00
idleunit = BackSlash ; Select next idle unit
offscreen = Alt ; Include offscreen units in selection
2021-10-10 20:39:20 +02:00
singleselection = "" ; Modifier to select units individually, opposed to per formation.
2014-11-18 04:57:07 +01:00
[hotkey.selection.group.add]
2020-11-03 19:16:19 +01:00
0 = "Shift+0", "Shift+Num0"
1 = "Shift+1", "Shift+Num1"
2 = "Shift+2", "Shift+Num2"
3 = "Shift+3", "Shift+Num3"
4 = "Shift+4", "Shift+Num4"
5 = "Shift+5", "Shift+Num5"
6 = "Shift+6", "Shift+Num6"
7 = "Shift+7", "Shift+Num7"
8 = "Shift+8", "Shift+Num8"
9 = "Shift+9", "Shift+Num9"
2014-11-18 04:57:07 +01:00
[hotkey.selection.group.save]
2020-11-03 19:16:19 +01:00
0 = "Ctrl+0", "Ctrl+Num0"
1 = "Ctrl+1", "Ctrl+Num1"
2 = "Ctrl+2", "Ctrl+Num2"
3 = "Ctrl+3", "Ctrl+Num3"
4 = "Ctrl+4", "Ctrl+Num4"
5 = "Ctrl+5", "Ctrl+Num5"
6 = "Ctrl+6", "Ctrl+Num6"
7 = "Ctrl+7", "Ctrl+Num7"
8 = "Ctrl+8", "Ctrl+Num8"
9 = "Ctrl+9", "Ctrl+Num9"
2014-11-18 04:57:07 +01:00
[hotkey.selection.group.select]
2020-11-03 19:16:19 +01:00
0 = 0, Num0
1 = 1, Num1
2 = 2, Num2
3 = 3, Num3
4 = 4, Num4
5 = 5, Num5
6 = 6, Num6
7 = 7, Num7
8 = 8, Num8
9 = 9, Num9
2014-11-18 04:57:07 +01:00
2020-12-27 16:26:19 +01:00
[hotkey.gamesetup]
mapbrowser.open = "M"
2014-11-18 04:57:07 +01:00
[hotkey.session]
Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific.
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in 3d7784d2af.
Various diffs tested by: Angen, Stan, Freagarach
Comments by: Nescio
Differential Revision: https://code.wildfiregames.com/D2814
This was SVN commit r24215.
2020-11-19 10:27:26 +01:00
kill = Delete, Backspace ; Destroy selected units
2014-11-18 04:57:07 +01:00
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
2021-03-26 11:18:30 +01:00
unloadturrets = "U" ; Unload turreted units.
2021-04-12 14:31:29 +02:00
leaveturret = "U" ; Leave turret point.
2021-01-15 09:05:10 +01:00
move = "" ; Modifier to move to a point instead of another action (e.g. gather)
2017-12-05 21:46:11 +01:00
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
2021-01-21 16:58:33 +01:00
attackmoveUnit = "Ctrl+Q" ; Modifier to attackmove targeting only units when clicking on a point
2014-11-18 04:57:07 +01:00
garrison = Ctrl ; Modifier to garrison when clicking on building
2021-03-26 11:18:30 +01:00
occupyturret = Ctrl ; Modifier to occupy a turret when clicking on a turret holder.
2014-11-18 04:57:07 +01:00
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
2021-03-06 07:12:07 +01:00
pushorderfront = "" ; Modifier to push unit orders to the front 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
2020-01-05 02:08:05 +01:00
snaptoedges = Ctrl ; Modifier to align new structures with nearby existing structure
2021-01-19 17:14:07 +01:00
toggledefaultformation = "" ; Switch between null default formation and the last default formation used (defaults to "box")
2021-06-05 19:37:18 +02:00
flare = K ; Modifier to send a flare to your allies
flareactivate = "" ; Modifier to activate the mode to send a flare to your allies
2021-08-28 07:52:37 +02:00
calltoarms = "" ; Modifier to call the selected units to the arms.
2020-06-01 17:11:26 +02:00
; Overlays
showstatusbars = Tab ; Toggle display of status bars
devcommands.toggle = "Alt+D" ; Toggle developer commands panel
Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific.
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in 3d7784d2af.
Various diffs tested by: Angen, Stan, Freagarach
Comments by: Nescio
Differential Revision: https://code.wildfiregames.com/D2814
This was SVN commit r24215.
2020-11-19 10:27:26 +01:00
highlightguarding = PageDown ; Toggle highlight of guarding units
highlightguarded = PageUp ; Toggle highlight of guarded units
2020-06-01 17:11:26 +02:00
diplomacycolors = "Alt+X" ; Toggle diplomacy colors
toggleattackrange = "Alt+C" ; Toggle display of attack range overlays of selected defensive structures
toggleaurasrange = "Alt+V" ; Toggle display of aura range overlays of selected units and structures
togglehealrange = "Alt+B" ; Toggle display of heal range overlays of selected units
2014-11-18 04:57:07 +01:00
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
2019-08-12 12:54:25 +02:00
diplomacy.toggle = "Ctrl+H" ; Toggle in-game diplomacy page
2017-03-28 04:34:32 +02:00
barter.toggle = "Ctrl+B" ; Toggle in-game barter/trade page
2019-08-12 12:54:25 +02:00
objectives.toggle = "Ctrl+O" ; Toggle in-game objectives 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]
Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific.
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in 3d7784d2af.
Various diffs tested by: Angen, Stan, Freagarach
Comments by: Nescio
Differential Revision: https://code.wildfiregames.com/D2814
This was SVN commit r24215.
2020-11-19 10:27:26 +01:00
delete = Delete, Backspace ; 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]
2021-06-06 20:29:48 +02:00
fastforward = "Ctrl+Space" ; If timewarp mode enabled, speed up the game
Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific.
- Provide a "Hotkey" screen to let players remap hotkeys in-game using a
convenient setup.
- Make all .cfg hotkeys refer to scancodes (i.e. position on the
keyboard), so that default hotkeys now translate correctly for AZERTY,
QWERTZ and other layouts.
- 'BackSpace' is now an alias for 'Delete', and works for killing units.
This fixes #1917, as macs don't have a proper delete key and would need
to use Fn+Del otherwise. This shifts "timewarp" to Shift+BackSpace.
Functionally, this switches hotkeys to scancodes, as that makes more
sense (they are combinations of key positions, not actual text output).
SDL includes are cleaned and key names are reused.
Fixes #2850, Fixes #2604, Refs #1810, Fixes #1917.
Follows work in 3d7784d2af.
Various diffs tested by: Angen, Stan, Freagarach
Comments by: Nescio
Differential Revision: https://code.wildfiregames.com/D2814
This was SVN commit r24215.
2020-11-19 10:27:26 +01:00
rewind = "Shift+Backspace" ; If timewarp mode enabled, go back to earlier point in the game
2014-11-18 04:57:07 +01:00
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
2019-11-12 16:54:09 +01:00
[gui.loadingscreen]
progressdescription = false ; Whether to display the progress percent or a textual description
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
2021-06-11 22:47:09 +02:00
flarelifetime = 6 ; How long the flare markers on the minimap are displayed in seconds
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
2019-04-25 17:58:54 +02:00
experiencestatusbar = true ; Show an experience status bar above each selected unit
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)
2020-01-29 18:41:39 +01:00
snaptoedges = "disabled" ; Possible values: disabled, enabled.
2020-01-05 02:08:05 +01:00
snaptoedgesdistancethreshold = 15 ; On which distance we don't snap to edges
2020-02-02 18:17:16 +01:00
disjointcontrolgroups = "true" ; Whether control groups are disjoint sets or entities can be in multiple control groups at the same time.
Allow picking a default formation for walk (and walk-like) orders.
This allows choosing a "default formation", which is activated
automatically for units given walk orders (and attack-walk etc.).
Conversely, units in formation that are given a gather/build/... order
are taken out of formation and given the order individually.
The default formation can be selected by right-clicking on any formation
icon.
This leverages formations for walking, where they are quite efficient
(in fact, perhaps too efficient), while circumventing issues with
various orders.
Choosing the "null formation" as the default formation de-activates the
behaviour entirely, and plays out exactly like SVN.
This makes it possible to queue a formation-order then a
noformation-order (i.e. walk then repair), though the behaviour isn't
very flexible.
For modders, it should be relatively easy to change the setup for each
order, and/or to force deactivating/activating formations in general.
Tested by: Freagarach, Angen
Refs #3479, #1791.
Makes #3478 mostly invalid.
Differential Revision: https://code.wildfiregames.com/D2764
This was SVN commit r24480.
2020-12-31 11:04:58 +01:00
defaultformation = "special/formations/box" ; For walking orders, automatically put units into this formation if they don't have one already.
2021-01-19 17:14:07 +01:00
formationwalkonly = "true" ; Formations are disabled when giving gather/attack/... orders.
2021-03-25 07:58:47 +01:00
howtoshownames = 0 ; Whether the specific names are show as default, as opposed to the generic names. And whether the secondary names are shown. (0 - show both; specific names primary, 1 - show both; generic names primary, 2 - show only specific names, 3 - show only generic names)
2021-12-15 09:07:59 +01:00
selectformationasone = "true" ; Whether to select formations as a whole by default.
2014-11-18 04:57:07 +01:00
[gui.session.minimap]
2022-03-07 02:22:06 +01:00
; Icons that are displayed for some entities on a minimap.
icons.enabled = "true"
icons.opacity = 1.0
icons.sizescale = 1.0
2014-11-18 04:57:07 +01:00
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
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
2021-08-27 18:32:34 +02:00
room = "arena26" ; Default MUC room to join
2014-11-18 04:57:07 +01:00
server = "lobby.wildfiregames.com" ; Address of lobby server
2018-11-27 15:41:44 +01:00
tls = true ; Whether to use TLS encryption when connecting to the server.
2018-10-09 19:50:08 +02:00
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)
2018-10-25 14:32:28 +02:00
terms_url = "https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/prelobby/common/terms/"; Allows the user to save the text and print the terms
2018-06-21 18:38:08 +02:00
terms_of_service = "0" ; Version (hash) of the Terms of Service that the user has accepted
terms_of_use = "0" ; Version (hash) of the Terms of Use that the user has accepted
2018-10-16 15:46:18 +02:00
privacy_policy = "0" ; Version (hash) of the Privacy Policy that the user has accepted
2021-08-27 18:32:34 +02:00
xpartamupp = "wfgbot26" ; Name of the server-side XMPP-account that manage games
echelon = "echelon26" ; 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
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]
2021-08-27 18:32:34 +02:00
public_key = "RWR/X/zDEJSHEfioDC/EO2So3TRMUmAH4O6A1a3ZhMwcqQA61xqBPPGa" ; Public key corresponding to the private key valid mods are signed with
2018-09-14 17:14:48 +02:00
disclaimer = "0" ; Version (hash) of the Disclaimer that the user has accepted
2018-04-22 20:14:45 +02:00
[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
2021-03-29 09:53:06 +02:00
observermaxlag = 10 ; Make clients wait for observers if they lag more than X turns behind. -1 means "never wait for observers".
autocatchup = true ; Auto-accelerate the sim rate if lagging behind (as an observer).
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
2020-08-01 12:52:59 +02:00
[rlinterface]
address = "127.0.0.1:6000"
2014-11-18 04:57:07 +01:00
[sound]
mastergain = 0.9
musicgain = 0.2
ambientgain = 0.6
actiongain = 0.7
uigain = 0.7
Tweak sound distance attenuation & add configurability
Following D3108 / 876f6d5e50, sounds are attenuated by their actual
distance. However, as noted by players on A24, the dropoff is stark and,
when zoomed out, can easily result in not hearing things that are
happening in the middle of the screen.
The new default settings almost double the max-range, change the minimum
range to have greater dynamic range, and reduce the stereo depth
slightly to better match the default camera FOV.
These are stored per sound-grounp, possibly allowing future tweaks on a
per-soundgroup basis, and are configurable.
Tested by: Imarok
Discussed over mail with: Samulis, Porru
Differential Revision: https://code.wildfiregames.com/D3612
This was SVN commit r25547.
2021-05-25 08:19:25 +02:00
mindistance = 1
maxdistance = 350
maxstereoangle = 0.62 ; About PI/5 radians
2014-11-18 04:57:07 +01:00
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
2019-02-15 19:55:38 +01:00
gamesetup.join = false ; Play a sound when a new client joins the game setup
2016-07-21 17:31:39 +02:00
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
2018-10-06 00:19:28 +02:00
url_upload = "https://feedback.wildfiregames.com/report/upload/v1/" ; URL where UserReports are uploaded to
2018-10-25 14:32:28 +02:00
url_publication = "https://feedback.wildfiregames.com/" ; URL where UserReports were analyzed and published
url_terms = "https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/userreport/Terms_and_Conditions.txt"; Allows the user to save the text and print the terms
2018-09-14 17:14:48 +02:00
terms = "0" ; Version (hash) of the UserReporter Terms that the user has accepted
2014-11-18 04:57:07 +01:00
[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