356 lines
14 KiB
Plaintext
Raw Normal View History

2024-02-14 12:52:59 +00:00
[gd_scene load_steps=15 format=3 uid="uid://bqpbrju7mc7d5"]
2024-02-05 22:42:04 +00:00
[ext_resource type="Script" path="res://ui/settings/Settings.gd" id="1_gx3lf"]
2024-02-07 22:01:54 +00:00
[ext_resource type="Script" path="res://ui/label/ParentNameLabel.gd" id="2_72a3s"]
2024-02-14 12:52:59 +00:00
[ext_resource type="Script" path="res://ui/settings/video/Preset.gd" id="3_il1yi"]
[ext_resource type="Script" path="res://ui/settings/video/RenderScale.gd" id="4_owrjf"]
[ext_resource type="Script" path="res://ui/settings/video/ScaleMode.gd" id="5_monk2"]
[ext_resource type="Script" path="res://ui/settings/video/Glow.gd" id="6_13yy3"]
[ext_resource type="Script" path="res://ui/settings/video/DepthOfField.gd" id="7_i0l7x"]
[ext_resource type="Script" path="res://ui/settings/video/SSAO.gd" id="8_je43v"]
[ext_resource type="Script" path="res://ui/settings/video/SSIL.gd" id="9_tngfj"]
[ext_resource type="Script" path="res://ui/settings/video/VolumetricFog.gd" id="10_1jm8r"]
[ext_resource type="Script" path="res://ui/settings/video/Brightness.gd" id="11_crore"]
[ext_resource type="Script" path="res://ui/settings/video/Contrast.gd" id="12_5kqj0"]
[ext_resource type="Script" path="res://ui/settings/video/Saturation.gd" id="13_ntyeq"]
[ext_resource type="Script" path="res://ui/settings/layer/CullMaskToggle.gd" id="14_npk11"]
2024-02-05 22:42:04 +00:00
[node name="Settings" type="Control"]
layout_mode = 3
anchor_left = 0.25
anchor_top = 0.25
anchor_right = 0.75
anchor_bottom = 0.75
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_gx3lf")
[node name="TabContainer" type="TabContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Video" type="MarginContainer" parent="TabContainer"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Video"]
layout_mode = 2
2024-02-12 09:56:55 +00:00
[node name="Preset" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Preset"]
layout_mode = 2
size_flags_horizontal = 3
text = "Preset:"
script = ExtResource("2_72a3s")
2024-02-12 11:38:31 +00:00
[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer/Preset"]
2024-02-12 09:56:55 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-12 11:38:31 +00:00
[node name="Low" type="Button" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "Low"
[node name="Medium" type="Button" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "Medium"
[node name="High" type="Button" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "High"
[node name="Preset" type="Node" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"]
2024-02-14 12:52:59 +00:00
script = ExtResource("3_il1yi")
2024-02-12 09:56:55 +00:00
2024-02-06 11:03:32 +00:00
[node name="Render Scale" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
2024-02-06 12:58:30 +00:00
custom_minimum_size = Vector2(0, 32)
2024-02-05 22:42:04 +00:00
layout_mode = 2
2024-02-06 11:03:32 +00:00
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Render Scale"]
2024-02-05 22:42:04 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-06 11:03:32 +00:00
text = "Render Scale:"
script = ExtResource("2_72a3s")
2024-02-05 22:42:04 +00:00
2024-02-12 09:56:55 +00:00
[node name="OptionButton" type="OptionButton" parent="TabContainer/Video/VBoxContainer/Render Scale" groups=["video_preset_setting"]]
2024-02-05 22:42:04 +00:00
layout_mode = 2
size_flags_horizontal = 3
item_count = 5
popup/item_0/text = "Performance"
popup/item_0/id = 0
popup/item_1/text = "Balanced"
popup/item_1/id = 1
popup/item_2/text = "Quality"
popup/item_2/id = 2
popup/item_3/text = "Ultra Quality"
popup/item_3/id = 3
popup/item_4/text = "Native"
popup/item_4/id = 4
2024-02-14 12:52:59 +00:00
script = ExtResource("4_owrjf")
2024-02-05 22:42:04 +00:00
2024-02-06 11:03:32 +00:00
[node name="Scale Mode" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
2024-02-06 12:58:30 +00:00
custom_minimum_size = Vector2(0, 32)
2024-02-05 22:42:04 +00:00
layout_mode = 2
2024-02-06 11:03:32 +00:00
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Scale Mode"]
2024-02-05 22:42:04 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-06 11:03:32 +00:00
text = "Scale Mode:"
script = ExtResource("2_72a3s")
2024-02-05 22:42:04 +00:00
2024-02-12 09:56:55 +00:00
[node name="OptionButton" type="OptionButton" parent="TabContainer/Video/VBoxContainer/Scale Mode" groups=["video_preset_setting"]]
2024-02-05 22:42:04 +00:00
layout_mode = 2
size_flags_horizontal = 3
item_count = 3
popup/item_0/text = "Bilinear"
popup/item_0/id = 0
popup/item_1/text = "FSR 1.0"
popup/item_1/id = 1
popup/item_2/text = "FSR 2.2"
popup/item_2/id = 2
2024-02-14 12:52:59 +00:00
script = ExtResource("5_monk2")
2024-02-05 22:42:04 +00:00
2024-02-06 11:03:32 +00:00
[node name="Glow" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
2024-02-06 12:58:30 +00:00
custom_minimum_size = Vector2(0, 32)
2024-02-05 22:42:04 +00:00
layout_mode = 2
2024-02-06 11:03:32 +00:00
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Glow"]
2024-02-05 22:42:04 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-06 11:03:32 +00:00
text = "Glow:"
script = ExtResource("2_72a3s")
2024-02-05 22:42:04 +00:00
2024-02-12 09:56:55 +00:00
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Glow" groups=["video_preset_setting"]]
2024-02-05 22:42:04 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-14 12:52:59 +00:00
script = ExtResource("6_13yy3")
2024-02-05 22:42:04 +00:00
2024-02-06 11:03:32 +00:00
[node name="Depth of Field" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
2024-02-06 12:58:30 +00:00
custom_minimum_size = Vector2(0, 32)
2024-02-06 11:03:32 +00:00
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Depth of Field"]
layout_mode = 2
size_flags_horizontal = 3
text = "Depth of Field:"
script = ExtResource("2_72a3s")
2024-02-12 09:56:55 +00:00
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Depth of Field" groups=["video_preset_setting"]]
2024-02-06 11:03:32 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-14 12:52:59 +00:00
script = ExtResource("7_i0l7x")
2024-02-06 11:03:32 +00:00
2024-02-08 20:42:16 +00:00
[node name="SSAO" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/SSAO"]
layout_mode = 2
size_flags_horizontal = 3
text = "SSAO:"
script = ExtResource("2_72a3s")
2024-02-12 09:56:55 +00:00
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/SSAO" groups=["video_preset_setting"]]
2024-02-08 20:42:16 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-14 12:52:59 +00:00
script = ExtResource("8_je43v")
2024-02-08 20:42:16 +00:00
[node name="SSIL" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/SSIL"]
layout_mode = 2
size_flags_horizontal = 3
text = "SSIL:"
script = ExtResource("2_72a3s")
2024-02-12 09:56:55 +00:00
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/SSIL" groups=["video_preset_setting"]]
2024-02-08 20:42:16 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-14 12:52:59 +00:00
script = ExtResource("9_tngfj")
2024-02-08 20:42:16 +00:00
[node name="Volumetric Fog" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Volumetric Fog"]
layout_mode = 2
size_flags_horizontal = 3
text = "Volumetric Fog:"
script = ExtResource("2_72a3s")
2024-02-12 09:56:55 +00:00
[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Volumetric Fog" groups=["video_preset_setting"]]
2024-02-08 20:42:16 +00:00
layout_mode = 2
size_flags_horizontal = 3
2024-02-14 12:52:59 +00:00
script = ExtResource("10_1jm8r")
2024-02-08 20:42:16 +00:00
2024-02-06 11:03:32 +00:00
[node name="Brightness" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
2024-02-06 12:58:30 +00:00
custom_minimum_size = Vector2(0, 32)
2024-02-06 11:03:32 +00:00
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Brightness"]
layout_mode = 2
size_flags_horizontal = 3
text = "Brightness:"
script = ExtResource("2_72a3s")
[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Brightness"]
layout_mode = 2
size_flags_horizontal = 3
max_value = 2.0
step = 0.05
value = 0.5
2024-02-14 12:52:59 +00:00
script = ExtResource("11_crore")
2024-02-06 11:03:32 +00:00
[node name="Contrast" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
2024-02-06 12:58:30 +00:00
custom_minimum_size = Vector2(0, 32)
2024-02-06 11:03:32 +00:00
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Contrast"]
layout_mode = 2
size_flags_horizontal = 3
text = "Contrast:"
script = ExtResource("2_72a3s")
[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Contrast"]
layout_mode = 2
size_flags_horizontal = 3
max_value = 2.0
step = 0.05
value = 0.5
2024-02-14 12:52:59 +00:00
script = ExtResource("12_5kqj0")
2024-02-06 11:03:32 +00:00
[node name="Saturation" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"]
2024-02-06 12:58:30 +00:00
custom_minimum_size = Vector2(0, 32)
2024-02-06 11:03:32 +00:00
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Saturation"]
layout_mode = 2
size_flags_horizontal = 3
text = "Saturation:"
script = ExtResource("2_72a3s")
[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Saturation"]
layout_mode = 2
size_flags_horizontal = 3
max_value = 2.0
step = 0.05
value = 0.5
2024-02-14 12:52:59 +00:00
script = ExtResource("13_ntyeq")
2024-02-06 11:03:32 +00:00
2024-02-14 12:52:59 +00:00
[node name="Layers" type="MarginContainer" parent="TabContainer"]
2024-02-05 22:42:04 +00:00
visible = false
layout_mode = 2
2024-02-14 12:52:59 +00:00
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Layers"]
2024-02-05 22:42:04 +00:00
layout_mode = 2
2024-02-14 12:52:59 +00:00
[node name="Terrain" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Layers/VBoxContainer/Terrain"]
layout_mode = 2
size_flags_horizontal = 3
text = "Terrain:"
script = ExtResource("2_72a3s")
[node name="CheckButton" type="CheckButton" parent="TabContainer/Layers/VBoxContainer/Terrain" groups=["video_preset_setting"]]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("14_npk11")
layer_number = 1
[node name="Grass" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Layers/VBoxContainer/Grass"]
layout_mode = 2
size_flags_horizontal = 3
text = "Grass:"
script = ExtResource("2_72a3s")
[node name="CheckButton" type="CheckButton" parent="TabContainer/Layers/VBoxContainer/Grass" groups=["video_preset_setting"]]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("14_npk11")
layer_number = 2
[node name="Trees" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Layers/VBoxContainer/Trees"]
layout_mode = 2
size_flags_horizontal = 3
text = "Trees:"
script = ExtResource("2_72a3s")
[node name="CheckButton" type="CheckButton" parent="TabContainer/Layers/VBoxContainer/Trees" groups=["video_preset_setting"]]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("14_npk11")
layer_number = 3
[node name="Enemies" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Layers/VBoxContainer/Enemies"]
layout_mode = 2
size_flags_horizontal = 3
text = "Enemies:"
script = ExtResource("2_72a3s")
[node name="CheckButton" type="CheckButton" parent="TabContainer/Layers/VBoxContainer/Enemies" groups=["video_preset_setting"]]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("14_npk11")
layer_number = 9
[node name="Players" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"]
custom_minimum_size = Vector2(0, 32)
layout_mode = 2
[node name="Label" type="Label" parent="TabContainer/Layers/VBoxContainer/Players"]
layout_mode = 2
size_flags_horizontal = 3
text = "Players:"
script = ExtResource("2_72a3s")
[node name="CheckButton" type="CheckButton" parent="TabContainer/Layers/VBoxContainer/Players" groups=["video_preset_setting"]]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("14_npk11")
layer_number = 10
2024-02-12 11:38:31 +00:00
[connection signal="pressed" from="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Low" to="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_low"]
[connection signal="pressed" from="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Medium" to="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_medium"]
[connection signal="pressed" from="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/High" to="TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_high"]
2024-02-06 11:03:32 +00:00
[connection signal="item_selected" from="TabContainer/Video/VBoxContainer/Render Scale/OptionButton" to="TabContainer/Video/VBoxContainer/Render Scale/OptionButton" method="on_item_selected"]
[connection signal="item_selected" from="TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" to="TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" method="on_item_selected"]
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/Glow/CheckButton" to="TabContainer/Video/VBoxContainer/Glow/CheckButton" method="on_toggled"]
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/Depth of Field/CheckButton" to="TabContainer/Video/VBoxContainer/Depth of Field/CheckButton" method="on_toggled"]
2024-02-08 20:42:16 +00:00
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/SSAO/CheckButton" to="TabContainer/Video/VBoxContainer/SSAO/CheckButton" method="on_toggled"]
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/SSIL/CheckButton" to="TabContainer/Video/VBoxContainer/SSIL/CheckButton" method="on_toggled"]
[connection signal="toggled" from="TabContainer/Video/VBoxContainer/Volumetric Fog/CheckButton" to="TabContainer/Video/VBoxContainer/Volumetric Fog/CheckButton" method="on_toggled"]
2024-02-06 11:03:32 +00:00
[connection signal="value_changed" from="TabContainer/Video/VBoxContainer/Brightness/HSlider" to="TabContainer/Video/VBoxContainer/Brightness/HSlider" method="on_value_changed"]
[connection signal="value_changed" from="TabContainer/Video/VBoxContainer/Contrast/HSlider" to="TabContainer/Video/VBoxContainer/Contrast/HSlider" method="on_value_changed"]
[connection signal="value_changed" from="TabContainer/Video/VBoxContainer/Saturation/HSlider" to="TabContainer/Video/VBoxContainer/Saturation/HSlider" method="on_value_changed"]
2024-02-14 12:52:59 +00:00
[connection signal="toggled" from="TabContainer/Layers/VBoxContainer/Terrain/CheckButton" to="TabContainer/Layers/VBoxContainer/Terrain/CheckButton" method="on_toggled"]
[connection signal="toggled" from="TabContainer/Layers/VBoxContainer/Grass/CheckButton" to="TabContainer/Layers/VBoxContainer/Grass/CheckButton" method="on_toggled"]
[connection signal="toggled" from="TabContainer/Layers/VBoxContainer/Trees/CheckButton" to="TabContainer/Layers/VBoxContainer/Trees/CheckButton" method="on_toggled"]
[connection signal="toggled" from="TabContainer/Layers/VBoxContainer/Enemies/CheckButton" to="TabContainer/Layers/VBoxContainer/Enemies/CheckButton" method="on_toggled"]
[connection signal="toggled" from="TabContainer/Layers/VBoxContainer/Players/CheckButton" to="TabContainer/Layers/VBoxContainer/Players/CheckButton" method="on_toggled"]