Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/options/options.json
[ | [ | ||||
{ | { | ||||
"label": "General", | "label": "General", | ||||
"options": | "options": | ||||
[ | [ | ||||
{ | { | ||||
"type": "string", | "type": "string", | ||||
"label": "Player Name (Single-player)", | "label": "Player name (single-player)", | ||||
"tooltip": "How you want to be addressed in single-player matches.", | "tooltip": "How you want to be addressed in single-player matches.", | ||||
"config": "playername.singleplayer" | "config": "playername.singleplayer" | ||||
}, | }, | ||||
{ | { | ||||
"type": "string", | "type": "string", | ||||
"label": "Player Name (Multiplayer)", | "label": "Player name (multiplayer)", | ||||
"tooltip": "How you want to be addressed in multiplayer matches (except lobby).", | "tooltip": "How you want to be addressed in multiplayer matches (except lobby).", | ||||
"config": "playername.multiplayer" | "config": "playername.multiplayer" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Background Pause", | "label": "Background pause", | ||||
"tooltip": "Pause single-player games when window loses focus.", | "tooltip": "Pause single-player games when window loses focus.", | ||||
"config": "pauseonfocusloss" | "config": "pauseonfocusloss" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Enable Welcome Screen", | "label": "Enable welcome screen", | ||||
"tooltip": "If you disable it, the welcome screen will still appear once, each time a new version is available. You can always launch it from the main menu.", | "tooltip": "If you disable it, the welcome screen will still appear once, each time a new version is available. You can always launch it from the main menu.", | ||||
"config": "gui.splashscreen.enable" | "config": "gui.splashscreen.enable" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Network Warnings", | "label": "Network warnings", | ||||
"tooltip": "Show which player has a bad connection in multiplayer games.", | "tooltip": "Show which player has a bad connection in multiplayer games.", | ||||
"config": "overlay.netwarnings" | "config": "overlay.netwarnings" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "FPS Overlay", | "label": "FPS overlay", | ||||
"tooltip": "Show frames per second in top right corner.", | "tooltip": "Show frames per second in top right corner.", | ||||
"config": "overlay.fps" | "config": "overlay.fps" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Realtime Overlay", | "label": "Real time overlay", | ||||
"tooltip": "Show current system time in top right corner.", | "tooltip": "Show current system time in top right corner.", | ||||
"config": "overlay.realtime" | "config": "overlay.realtime" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Gametime Overlay", | "label": "Game time overlay", | ||||
"tooltip": "Show current simulation time in top right corner.", | "tooltip": "Show current simulation time in top right corner.", | ||||
"config": "gui.session.timeelapsedcounter" | "config": "gui.session.timeelapsedcounter" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Ceasefire Time Overlay", | "label": "Ceasefire time overlay", | ||||
"tooltip": "Always show the remaining ceasefire time.", | "tooltip": "Always show the remaining ceasefire time.", | ||||
"config": "gui.session.ceasefirecounter" | "config": "gui.session.ceasefirecounter" | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | "type": "dropdown", | ||||
"label": "Late Observer Joins", | "label": "Late observer joins", | ||||
"tooltip": "Allow everybody or buddies only to join the game as observer after it started.", | "tooltip": "Allow everybody or buddies only to join the game as observer after it started.", | ||||
"config": "network.lateobservers", | "config": "network.lateobservers", | ||||
"list": [ | "list": [ | ||||
{ "value": "everyone", "label": "Everyone" }, | { "value": "everyone", "label": "Everyone" }, | ||||
{ "value": "buddies", "label": "Buddies" }, | { "value": "buddies", "label": "Buddies" }, | ||||
{ "value": "disabled", "label": "Disabled" } | { "value": "disabled", "label": "Disabled" } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"type": "number", | "type": "number", | ||||
"label": "Observer Limit", | "label": "Observer limit", | ||||
"tooltip": "Prevent further observers from joining if the limit is reached.", | "tooltip": "Prevent further observers from joining if the limit is reached.", | ||||
"config": "network.observerlimit", | "config": "network.observerlimit", | ||||
"min": 0, | "min": 0, | ||||
"max": 32 | "max": 32 | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Chat Timestamp", | "label": "Chat timestamp", | ||||
"tooltip": "Show time that messages are posted in the lobby, gamesetup and ingame chat.", | "tooltip": "Show time that messages are posted in the lobby, gamesetup and ingame chat.", | ||||
"config": "chat.timestamp" | "config": "chat.timestamp" | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"label": "Graphics", | "label": "Graphics", | ||||
"tooltip": "Set the balance between performance and visual appearance.", | "tooltip": "Set the balance between performance and visual appearance.", | ||||
"options": | "options": | ||||
[ | [ | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Windowed Mode", | "label": "Windowed mode", | ||||
"tooltip": "Start 0 A.D. in a window.", | "tooltip": "Start 0 A.D. in a window.", | ||||
"config": "windowed" | "config": "windowed" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Prefer GLSL", | "label": "Prefer GLSL", | ||||
"tooltip": "Use OpenGL 2.0 shaders (recommended).", | "tooltip": "Use OpenGL 2.0 shaders (recommended).", | ||||
"config": "preferglsl", | "config": "preferglsl", | ||||
"function": "Renderer_SetPreferGLSLEnabled" | "function": "Renderer_SetPreferGLSLEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Fog", | "label": "Fog", | ||||
"tooltip": "Enable Fog.", | "tooltip": "Enable Fog.", | ||||
"dependencies": ["preferglsl"], | "dependencies": ["preferglsl"], | ||||
"config": "fog", | "config": "fog", | ||||
"function": "Renderer_SetFogEnabled" | "function": "Renderer_SetFogEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Post Processing", | "label": "Post-processing", | ||||
"tooltip": "Use screen-space postprocessing filters (HDR, Bloom, DOF, etc).", | "tooltip": "Use screen-space post-processing filters (HDR, Bloom, DOF, etc).", | ||||
"config": "postproc", | "config": "postproc", | ||||
"function": "Renderer_SetPostProcEnabled" | "function": "Renderer_SetPostProcEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "Shader Effects", | "label": "Shader effects", | ||||
"tooltip": "Number of shader effects. REQUIRES GAME RESTART", | "tooltip": "Number of shader effects. REQUIRES GAME RESTART", | ||||
"config": "materialmgr.quality", | "config": "materialmgr.quality", | ||||
"min": 0, | "min": 0, | ||||
"max": 10 | "max": 10 | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Shadows", | "label": "Shadows", | ||||
"tooltip": "Enable shadows.", | "tooltip": "Enable shadows.", | ||||
"config": "shadows", | "config": "shadows", | ||||
"function": "Renderer_SetShadowsEnabled" | "function": "Renderer_SetShadowsEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | "type": "dropdown", | ||||
"label": "Shadow Quality", | "label": "Shadow quality", | ||||
"tooltip": "Shadow map resolution. High values can crash the game when using a graphics card with low memory!", | "tooltip": "Shadow map resolution. High values can crash the game when using a graphics card with low memory!", | ||||
"dependencies": ["shadows"], | "dependencies": ["shadows"], | ||||
"config": "shadowquality", | "config": "shadowquality", | ||||
"function": "Renderer_RecreateShadowMap", | "function": "Renderer_RecreateShadowMap", | ||||
"list": [ | "list": [ | ||||
{ "value": -2, "label": "Very Low" }, | { "value": -2, "label": "Very Low" }, | ||||
{ "value": -1, "label": "Low" }, | { "value": -1, "label": "Low" }, | ||||
{ "value": 0, "label": "Medium" }, | { "value": 0, "label": "Medium" }, | ||||
{ "value": 1, "label": "High" }, | { "value": 1, "label": "High" }, | ||||
{ "value": 2, "label": "Very High" } | { "value": 2, "label": "Very High" } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Shadow Filtering", | "label": "Shadow filtering", | ||||
"tooltip": "Smooth shadows.", | "tooltip": "Smooth shadows.", | ||||
"dependencies": ["shadows"], | "dependencies": ["shadows"], | ||||
"config": "shadowpcf", | "config": "shadowpcf", | ||||
"function": "Renderer_SetShadowPCFEnabled" | "function": "Renderer_SetShadowPCFEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Unit Silhouettes", | "label": "Unit silhouettes", | ||||
"tooltip": "Show outlines of units behind structures.", | "tooltip": "Show outlines of units behind structures.", | ||||
"config": "silhouettes", | "config": "silhouettes", | ||||
"function": "Renderer_SetSilhouettesEnabled" | "function": "Renderer_SetSilhouettesEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Particles", | "label": "Particles", | ||||
"tooltip": "Enable particles.", | "tooltip": "Enable particles.", | ||||
"config": "particles", | "config": "particles", | ||||
"function": "Renderer_SetParticlesEnabled" | "function": "Renderer_SetParticlesEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Water Effects", | "label": "Water effects", | ||||
"tooltip": "When OFF, use the lowest settings possible to render water. This makes other settings irrelevant.", | "tooltip": "When OFF, use the lowest settings possible to render water. This makes other settings irrelevant.", | ||||
"config": "watereffects", | "config": "watereffects", | ||||
"function": "Renderer_SetWaterEffectsEnabled" | "function": "Renderer_SetWaterEffectsEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "HQ Water Effects", | "label": "High-quality water effects", | ||||
"tooltip": "Use higher-quality effects for water, rendering coastal waves, shore foam, and ships trails.", | "tooltip": "Use higher-quality effects for water, rendering coastal waves, shore foam, and ships trails.", | ||||
"dependencies": ["watereffects"], | "dependencies": ["watereffects"], | ||||
"config": "waterfancyeffects", | "config": "waterfancyeffects", | ||||
"function": "Renderer_SetWaterFancyEffectsEnabled" | "function": "Renderer_SetWaterFancyEffectsEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Real Water Depth", | "label": "Real water depth", | ||||
"tooltip": "Use actual water depth in rendering calculations.", | "tooltip": "Use actual water depth in rendering calculations.", | ||||
"dependencies": ["watereffects"], | "dependencies": ["watereffects"], | ||||
"config": "waterrealdepth", | "config": "waterrealdepth", | ||||
"function": "Renderer_SetWaterRealDepthEnabled" | "function": "Renderer_SetWaterRealDepthEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Water Reflections", | "label": "Water reflections", | ||||
"tooltip": "Allow water to reflect a mirror image.", | "tooltip": "Allow water to reflect a mirror image.", | ||||
"dependencies": ["watereffects"], | "dependencies": ["watereffects"], | ||||
"config": "waterreflection", | "config": "waterreflection", | ||||
"function": "Renderer_SetWaterReflectionEnabled" | "function": "Renderer_SetWaterReflectionEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Water Refraction", | "label": "Water refraction", | ||||
"tooltip": "Use a real water refraction map and not transparency.", | "tooltip": "Use a real water refraction map and not transparency.", | ||||
"dependencies": ["watereffects"], | "dependencies": ["watereffects"], | ||||
"config": "waterrefraction", | "config": "waterrefraction", | ||||
"function": "Renderer_SetWaterRefractionEnabled" | "function": "Renderer_SetWaterRefractionEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Shadows on Water", | "label": "Shadows on water", | ||||
"tooltip": "Cast shadows on water.", | "tooltip": "Cast shadows on water.", | ||||
"dependencies": ["watereffects"], | "dependencies": ["watereffects"], | ||||
"config": "shadowsonwater", | "config": "shadowsonwater", | ||||
"function": "Renderer_SetWaterShadowsEnabled" | "function": "Renderer_SetWaterShadowsEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Smooth LOS", | "label": "Smooth vision", | ||||
"tooltip": "Lift darkness and fog-of-war smoothly.", | "tooltip": "Lift darkness and fog-of-war smoothly.", | ||||
"config": "smoothlos", | "config": "smoothlos", | ||||
"function": "Renderer_SetSmoothLOSEnabled" | "function": "Renderer_SetSmoothLOSEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Show Sky", | "label": "Show sky", | ||||
"tooltip": "Render Sky.", | "tooltip": "Render Sky.", | ||||
"config": "showsky", | "config": "showsky", | ||||
"function": "Renderer_SetShowSkyEnabled" | "function": "Renderer_SetShowSkyEnabled" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "VSync", | "label": "VSync", | ||||
"tooltip": "Run vertical sync to fix screen tearing. REQUIRES GAME RESTART", | "tooltip": "Run vertical sync to fix screen tearing. REQUIRES GAME RESTART", | ||||
"config": "vsync" | "config": "vsync" | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "FPS Throttling in Menus", | "label": "FPS throttling in menus", | ||||
"tooltip": "To save CPU workload, throttle render frequency in all menus. Set to maximum to disable throttling.", | "tooltip": "To save CPU workload, throttle render frequency in all menus. Set to maximum to disable throttling.", | ||||
"config": "adaptivefps.menu", | "config": "adaptivefps.menu", | ||||
"min": 20, | "min": 20, | ||||
"max": 100 | "max": 100 | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "FPS Throttling in Games", | "label": "FPS throttling in games", | ||||
"tooltip": "To save CPU workload, throttle render frequency in running games. Set to maximum to disable throttling.", | "tooltip": "To save CPU workload, throttle render frequency in running games. Set to maximum to disable throttling.", | ||||
"config": "adaptivefps.session", | "config": "adaptivefps.session", | ||||
"min": 20, | "min": 20, | ||||
"max": 100 | "max": 100 | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"label": "Sound", | "label": "Sound", | ||||
"options": | "options": | ||||
[ | [ | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "Master Volume", | "label": "Master volume", | ||||
"tooltip": "Master audio gain.", | "tooltip": "Master audio gain.", | ||||
"config": "sound.mastergain", | "config": "sound.mastergain", | ||||
"function": "SetMasterGain", | "function": "SetMasterGain", | ||||
"min": 0, | "min": 0, | ||||
"max": 2 | "max": 2 | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "Music Volume", | "label": "Music volume", | ||||
"tooltip": "In game music gain.", | "tooltip": "In game music gain.", | ||||
"config": "sound.musicgain", | "config": "sound.musicgain", | ||||
"function": "SetMusicGain", | "function": "SetMusicGain", | ||||
"min": 0, | "min": 0, | ||||
"max": 2 | "max": 2 | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "Ambient Volume", | "label": "Ambient volume", | ||||
"tooltip": "In game ambient sound gain.", | "tooltip": "In game ambient sound gain.", | ||||
"config": "sound.ambientgain", | "config": "sound.ambientgain", | ||||
"function": "SetAmbientGain", | "function": "SetAmbientGain", | ||||
"min": 0, | "min": 0, | ||||
"max": 2 | "max": 2 | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "Action Volume", | "label": "Action volume", | ||||
"tooltip": "In game unit action sound gain.", | "tooltip": "In game unit action sound gain.", | ||||
"config": "sound.actiongain", | "config": "sound.actiongain", | ||||
"function": "SetActionGain", | "function": "SetActionGain", | ||||
"min": 0, | "min": 0, | ||||
"max": 2 | "max": 2 | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "UI Volume", | "label": "UI volume", | ||||
"tooltip": "UI sound gain.", | "tooltip": "UI sound gain.", | ||||
"config": "sound.uigain", | "config": "sound.uigain", | ||||
"function": "SetUIGain", | "function": "SetUIGain", | ||||
"min": 0, | "min": 0, | ||||
"max": 2 | "max": 2 | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Nick Notification", | "label": "Nick notification", | ||||
"tooltip": "Receive audio notification when someone types your nick.", | "tooltip": "Receive audio notification when someone types your nick.", | ||||
"config": "sound.notify.nick" | "config": "sound.notify.nick" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Game Setup - New Player Notification", | "label": "Game setup - new player notification", | ||||
"tooltip": "Receive audio notification when a new client joins the game setup.", | "tooltip": "Receive audio notification when a new client joins the game setup.", | ||||
"config": "sound.notify.gamesetup.join" | "config": "sound.notify.gamesetup.join" | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"label": "Game Setup", | "label": "Game Setup", | ||||
"options": | "options": | ||||
[ | [ | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Enable Game Setting Tips", | "label": "Enable game setting tips", | ||||
"tooltip": "Show tips when setting up a game.", | "tooltip": "Show tips when setting up a game.", | ||||
"config": "gui.gamesetup.enabletips" | "config": "gui.gamesetup.enabletips" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Enable Settings Panel Slide", | "label": "Enable settings panel slide", | ||||
"tooltip": "Slide the settings panel when opening, closing or resizing.", | "tooltip": "Slide the settings panel when opening, closing or resizing.", | ||||
"config": "gui.gamesetup.settingsslide" | "config": "gui.gamesetup.settingsslide" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Persist Match Settings", | "label": "Persist match settings", | ||||
"tooltip": "Save and restore match settings for quick reuse when hosting another game.", | "tooltip": "Save and restore match settings for quick reuse when hosting another game.", | ||||
"config": "persistmatchsettings" | "config": "persistmatchsettings" | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | "type": "dropdown", | ||||
"label": "Default AI Difficulty", | "label": "Default AI difficulty", | ||||
"tooltip": "Default difficulty of the AI.", | "tooltip": "Default difficulty of the AI.", | ||||
"config": "gui.gamesetup.aidifficulty", | "config": "gui.gamesetup.aidifficulty", | ||||
"list": [ | "list": [ | ||||
{ "value": 0, "label": "Sandbox" }, | { "value": 0, "label": "Sandbox" }, | ||||
{ "value": 1, "label": "Very Easy" }, | { "value": 1, "label": "Very Easy" }, | ||||
{ "value": 2, "label": "Easy" }, | { "value": 2, "label": "Easy" }, | ||||
{ "value": 3, "label": "Medium" }, | { "value": 3, "label": "Medium" }, | ||||
{ "value": 4, "label": "Hard" }, | { "value": 4, "label": "Hard" }, | ||||
{ "value": 5, "label": "Very Hard" } | { "value": 5, "label": "Very Hard" } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | "type": "dropdown", | ||||
"label": "Default AI Behavior", | "label": "Default AI behavior", | ||||
"tooltip": "Default behavior of the AI.", | "tooltip": "Default behavior of the AI.", | ||||
"config": "gui.gamesetup.aibehavior", | "config": "gui.gamesetup.aibehavior", | ||||
"list": [ | "list": [ | ||||
{ "value": "random", "label": "Random" }, | { "value": "random", "label": "Random" }, | ||||
{ "value": "balanced", "label": "Balanced" }, | { "value": "balanced", "label": "Balanced" }, | ||||
{ "value": "aggressive", "label": "Aggressive" }, | { "value": "aggressive", "label": "Aggressive" }, | ||||
{ "value": "defensive", "label": "Defensive" } | { "value": "defensive", "label": "Defensive" } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | "type": "dropdown", | ||||
"label": "Assign Players", | "label": "Assign players", | ||||
"tooltip": "Automatically assign joining clients to free player slots during the match setup.", | "tooltip": "Automatically assign joining clients to free player slots during the match setup.", | ||||
"config": "gui.gamesetup.assignplayers", | "config": "gui.gamesetup.assignplayers", | ||||
"list": [ | "list": [ | ||||
{ "value": "everyone", "label": "Everyone" }, | { "value": "everyone", "label": "Everyone" }, | ||||
{ "value": "buddies", "label": "Buddies" }, | { "value": "buddies", "label": "Buddies" }, | ||||
{ "value": "disabled", "label": "Disabled" } | { "value": "disabled", "label": "Disabled" } | ||||
] | ] | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"label": "Lobby", | "label": "Lobby", | ||||
"tooltip": "These settings only affect the multiplayer.", | "tooltip": "These settings only affect the multiplayer.", | ||||
"options": | "options": | ||||
[ | [ | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "TLS Encryption", | "label": "TLS encryption", | ||||
"tooltip": "Protect login and data exchanged with the lobby server using TLS encryption.", | "tooltip": "Protect login and data exchanged with the lobby server using TLS encryption.", | ||||
"config": "lobby.tls" | "config": "lobby.tls" | ||||
}, | }, | ||||
{ | { | ||||
"type": "number", | "type": "number", | ||||
"label": "Chat Backlog", | "label": "Chat backlog", | ||||
"tooltip": "Number of backlogged messages to load when joining the lobby.", | "tooltip": "Number of backlogged messages to load when joining the lobby.", | ||||
"config": "lobby.history", | "config": "lobby.history", | ||||
"min": "0" | "min": "0" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Game Rating Column", | "label": "Game rating column", | ||||
"tooltip": "Show the average rating of the participating players in a column of the gamelist.", | "tooltip": "Show the average rating of the participating players in a column of the gamelist.", | ||||
"config": "lobby.columns.gamerating" | "config": "lobby.columns.gamerating" | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"label": "In-Game", | "label": "In-Game", | ||||
"tooltip": "Change options regarding the in-game settings.", | "tooltip": "Change options regarding the in-game settings.", | ||||
"options": | "options": | ||||
[ | [ | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "Wounded Unit Health", | "label": "Wounded unit health", | ||||
"tooltip": "The wounded unit hotkey considers the selected units as wounded if their health percentage falls below this number.", | "tooltip": "The wounded unit hotkey considers the selected units as wounded if their health percentage falls below this number.", | ||||
"config": "gui.session.woundedunithotkeythreshold", | "config": "gui.session.woundedunithotkeythreshold", | ||||
"min": 0, | "min": 0, | ||||
"max": 100 | "max": 100 | ||||
}, | }, | ||||
{ | { | ||||
"type": "number", | "type": "number", | ||||
"label": "Batch Training Size", | "label": "Batch training size", | ||||
"tooltip": "Number of units trained per batch by default.", | "tooltip": "Number of units trained per batch by default.", | ||||
"config": "gui.session.batchtrainingsize", | "config": "gui.session.batchtrainingsize", | ||||
"min": 1, | "min": 1, | ||||
"max": 20 | "max": 20 | ||||
}, | }, | ||||
{ | { | ||||
"type": "slider", | "type": "slider", | ||||
"label": "Scroll Batch Increment Ratio", | "label": "Scroll batch increment ratio", | ||||
"tooltip": "Number of times you have to scroll to increase/decrease the batchsize by 1.", | "tooltip": "Number of times you have to scroll to increase/decrease the batchsize by 1.", | ||||
"config": "gui.session.scrollbatchratio", | "config": "gui.session.scrollbatchratio", | ||||
"min": 0.1, | "min": 0.1, | ||||
"max": 30 | "max": 30 | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Chat Notification Attack", | "label": "Chat notification attack", | ||||
"tooltip": "Show a chat notification if you are attacked by another player.", | "tooltip": "Show a chat notification if you are attacked by another player.", | ||||
"config": "gui.session.notifications.attack" | "config": "gui.session.notifications.attack" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Chat Notification Tribute", | "label": "Chat notification tribute", | ||||
"tooltip": "Show a chat notification if an ally tributes resources to another team member if teams are locked, and all tributes in observer mode.", | "tooltip": "Show a chat notification if an ally tributes resources to another team member if teams are locked, and all tributes in observer mode.", | ||||
"config": "gui.session.notifications.tribute" | "config": "gui.session.notifications.tribute" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Chat Notification Barter", | "label": "Chat notification barter", | ||||
"tooltip": "Show a chat notification to observers when a player bartered resources.", | "tooltip": "Show a chat notification to observers when a player bartered resources.", | ||||
"config": "gui.session.notifications.barter" | "config": "gui.session.notifications.barter" | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | "type": "dropdown", | ||||
"label": "Chat Notification Phase", | "label": "Chat notification phase", | ||||
"tooltip": "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.", | "tooltip": "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.", | ||||
"config": "gui.session.notifications.phase", | "config": "gui.session.notifications.phase", | ||||
"list": [ | "list": [ | ||||
{ "value": "none", "label": "Disable" }, | { "value": "none", "label": "Disable" }, | ||||
{ "value": "completed", "label": "Completed" }, | { "value": "completed", "label": "Completed" }, | ||||
{ "value": "all", "label": "All displayed" } | { "value": "all", "label": "All displayed" } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Attack Range Visualization", | "label": "Attack range visualization", | ||||
"tooltip": "Display the attack range of selected defensive structures (can also be toggled in-game with the hotkey).", | "tooltip": "Display the attack range of selected defensive structures (can also be toggled in-game with the hotkey).", | ||||
"config": "gui.session.attackrange" | "config": "gui.session.attackrange" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Aura Range Visualization", | "label": "Aura range visualization", | ||||
"tooltip": "Display the range of auras of selected units and structures (can also be toggled in-game with the hotkey).", | "tooltip": "Display the range of auras of selected units and structures (can also be toggled in-game with the hotkey).", | ||||
"config": "gui.session.aurasrange" | "config": "gui.session.aurasrange" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Heal Range Visualization", | "label": "Heal range visualization", | ||||
"tooltip": "Display the healing range of selected units (can also be toggled in-game with the hotkey).", | "tooltip": "Display the healing range of selected units (can also be toggled in-game with the hotkey).", | ||||
"config": "gui.session.healrange" | "config": "gui.session.healrange" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Rank icon above status bar", | "label": "Rank icon above status bar", | ||||
"tooltip": "Show rank icons above status bars.", | "tooltip": "Show rank icons above status bars.", | ||||
"config": "gui.session.rankabovestatusbar" | "config": "gui.session.rankabovestatusbar" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Experience status bar", | "label": "Experience status bar", | ||||
"tooltip": "Show an experience status bar above each selected unit.", | "tooltip": "Show an experience status bar above each selected unit.", | ||||
"config": "gui.session.experiencestatusbar" | "config": "gui.session.experiencestatusbar" | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Detailed Tooltips", | "label": "Detailed tooltips", | ||||
"tooltip": "Show detailed tooltips for trainable units in unit-producing structures.", | "tooltip": "Show detailed tooltips for trainable units in unit-producing structures.", | ||||
"config": "showdetailedtooltips" | "config": "showdetailedtooltips" | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | "type": "dropdown", | ||||
"label": "Sort resources and population tooltip", | "label": "Sort resources and population tooltip", | ||||
"tooltip": "Dynamically sort players in the resources and population tooltip by value.", | "tooltip": "Dynamically sort players in the resources and population tooltip by value.", | ||||
"config": "gui.session.respoptooltipsort", | "config": "gui.session.respoptooltipsort", | ||||
"list": [ | "list": [ | ||||
{ "value": 0, "label": "Unordered" }, | { "value": 0, "label": "Unordered" }, | ||||
{ "value": -1, "label": "Ascending" }, | { "value": -1, "label": "Ascending" }, | ||||
{ "value": 1, "label": "Descending" } | { "value": 1, "label": "Descending" } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"type": "color", | "type": "color", | ||||
"label": "Diplomacy Colors: Self", | "label": "Diplomacy colors: self", | ||||
"tooltip": "Color of your units when diplomacy colors are enabled.", | "tooltip": "Color of your units when diplomacy colors are enabled.", | ||||
"config": "gui.session.diplomacycolors.self" | "config": "gui.session.diplomacycolors.self" | ||||
}, | }, | ||||
{ | { | ||||
"type": "color", | "type": "color", | ||||
"label": "Diplomacy Colors: Ally", | "label": "Diplomacy colors: ally", | ||||
"tooltip": "Color of allies when diplomacy colors are enabled.", | "tooltip": "Color of allies when diplomacy colors are enabled.", | ||||
"config": "gui.session.diplomacycolors.ally" | "config": "gui.session.diplomacycolors.ally" | ||||
}, | }, | ||||
{ | { | ||||
"type": "color", | "type": "color", | ||||
"label": "Diplomacy Colors: Neutral", | "label": "Diplomacy colors: neutral", | ||||
"tooltip": "Color of neutral players when diplomacy colors are enabled.", | "tooltip": "Color of neutral players when diplomacy colors are enabled.", | ||||
"config": "gui.session.diplomacycolors.neutral" | "config": "gui.session.diplomacycolors.neutral" | ||||
}, | }, | ||||
{ | { | ||||
"type": "color", | "type": "color", | ||||
"label": "Diplomacy Colors: Enemy", | "label": "Diplomacy colors: enemy", | ||||
"tooltip": "Color of enemies when diplomacy colors are enabled.", | "tooltip": "Color of enemies when diplomacy colors are enabled.", | ||||
"config": "gui.session.diplomacycolors.enemy" | "config": "gui.session.diplomacycolors.enemy" | ||||
} | } | ||||
] | ] | ||||
} | } | ||||
] | ] |
Wildfire Games · Phabricator