diff options
| author | tpart <tpart120@proton.me> | 2024-07-30 14:21:50 +0200 | 
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2024-07-30 14:29:03 +0200 | 
| commit | 77db2babd6c0cf5e754bdd3d8772e0e5931be274 (patch) | |
| tree | b3cc0d1d4b039f36e3e275add94eea9fae284b88 /client/global.gd | |
| parent | 209d167d98afe3ae9038cbdd9bc1928f4cfa741d (diff) | |
| download | hurrycurry-77db2babd6c0cf5e754bdd3d8772e0e5931be274.tar hurrycurry-77db2babd6c0cf5e754bdd3d8772e0e5931be274.tar.bz2 hurrycurry-77db2babd6c0cf5e754bdd3d8772e0e5931be274.tar.zst | |
Better default options for compatibility mode
Diffstat (limited to 'client/global.gd')
| -rw-r--r-- | client/global.gd | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/client/global.gd b/client/global.gd index 949d1fc5..0a510d4c 100644 --- a/client/global.gd +++ b/client/global.gd @@ -54,16 +54,16 @@ var default_settings := {  	"server_binary": TextSetting.new(tr("Server binary (leave empty to search PATH)"), "", tr("Enter path")),  	"server_data": TextSetting.new(tr("Server data directory (leave empty to auto-detect)"), "", tr("Enter path")),  	"ui_scale": DropdownSetting.new(tr("UI scale"), 0, [tr("Resize"), tr("Disabled")]), -	"aa": DropdownSetting.new(tr("Anti-aliasing"), 2, [tr("Disabled"), "FXAA", "MSAA 2x", "MSAA 4x"]), -	"ssao": ToggleSetting.new(tr("Ambient occlusion"), true), +	"aa": DropdownSetting.new(tr("Anti-aliasing"), 2 if on_vulkan() else 0, [tr("Disabled"), "FXAA", "MSAA 2x", "MSAA 4x"]), +	"ssao": ToggleSetting.new(tr("Ambient occlusion"), true if on_vulkan() else false),  	"taa": ToggleSetting.new(tr("Temporal Anti-Aliasing"), false),  	"voxel_gi": ToggleSetting.new(tr("Use VoxelGI (Blocks the game on map update but is more accurate)"), false),  	"sdfgi": ToggleSetting.new(tr("Use SDFGI (Doesn't block the game but produces more artifacts)"), false), -	"shadows": ToggleSetting.new(tr("Enable shadows"), true), -	"glow": ToggleSetting.new(tr("Enable glow"), true), +	"shadows": ToggleSetting.new(tr("Enable shadows"), true if on_vulkan() else false), +	"glow": ToggleSetting.new(tr("Enable glow"), true if on_vulkan() else false),  	"debug_info": ToggleSetting.new(tr("Display debug info (Framerate, etc.)"), false), -	"grass_amount": RangeSetting.new(tr("3D grass amount per grass tile"), 16, 0, 32), -	"lq_trees": ToggleSetting.new(tr("Low-poly trees"), false), +	"grass_amount": RangeSetting.new(tr("3D grass amount per grass tile"), 16 if on_vulkan() else 0, 0, 32), +	"lq_trees": ToggleSetting.new(tr("Low-poly trees"), false if on_vulkan() else true),  	"setup_complete": ToggleSetting.new(tr("Initial setup complete. (Uncheck and restart to reenter)"), false),  	"tutorial_started": ToggleSetting.new(tr("Tutorial started"), false),  	"latch_boost": ToggleSetting.new(tr("Always extend boost to maximum duration"), true) | 
