diff --git a/client/ui/UI.tscn b/client/ui/UI.tscn index 16a4a58..7071c21 100644 --- a/client/ui/UI.tscn +++ b/client/ui/UI.tscn @@ -58,22 +58,74 @@ suffix = "" anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 -offset_top = -134.0 -offset_right = 263.0 +offset_top = -132.0 +offset_right = 108.0 grow_vertical = 0 +size_flags_horizontal = 0 +size_flags_vertical = 8 -[node name="Chat" type="VBoxContainer" parent="BottomLeft"] +[node name="VBoxContainer" type="VBoxContainer" parent="BottomLeft"] layout_mode = 2 alignment = 2 -[node name="ChatBox" type="RichTextLabel" parent="BottomLeft/Chat"] +[node name="Nodes" parent="BottomLeft/VBoxContainer" instance=ExtResource("1_7s8uu")] +layout_mode = 2 +script = ExtResource("5_ab7ln") +monitor = 9 +multiply = 1.0 +precision = 1.0 +suffix = "" + +[node name="Meshes" parent="BottomLeft/VBoxContainer" instance=ExtResource("1_7s8uu")] +layout_mode = 2 +script = ExtResource("5_ab7ln") +monitor = 11 +multiply = 1.0 +precision = 1.0 +suffix = "" + +[node name="Vertices" parent="BottomLeft/VBoxContainer" instance=ExtResource("1_7s8uu")] +layout_mode = 2 +script = ExtResource("5_ab7ln") +monitor = 12 +multiply = 1.0 +precision = 1.0 +suffix = "" + +[node name="VRAM" parent="BottomLeft/VBoxContainer" instance=ExtResource("1_7s8uu")] +layout_mode = 2 +script = ExtResource("5_ab7ln") +monitor = 14 +multiply = 1.0 +precision = 1.0 +suffix = " bytes" + +[node name="Bottom" type="MarginContainer" parent="."] +anchors_preset = 7 +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -50.5 +offset_top = -60.0 +offset_right = 50.5 +grow_horizontal = 2 +grow_vertical = 0 + +[node name="Chat" type="VBoxContainer" parent="Bottom"] +custom_minimum_size = Vector2(200, 0) +layout_mode = 2 +size_flags_vertical = 3 +alignment = 2 + +[node name="ChatBox" type="RichTextLabel" parent="Bottom/Chat"] layout_mode = 2 size_flags_vertical = 3 bbcode_enabled = true scroll_following = true script = ExtResource("5_43juw") -[node name="ChatInput" type="LineEdit" parent="BottomLeft/Chat"] +[node name="ChatInput" type="LineEdit" parent="Bottom/Chat"] layout_mode = 2 script = ExtResource("6_cg2h5") @@ -159,8 +211,11 @@ text = "Connecting..." [node name="Settings" parent="." instance=ExtResource("11_rt7sl")] visible = false +anchors_preset = -1 anchor_left = 0.3 +anchor_top = 0.25 anchor_right = 0.7 +anchor_bottom = 0.75 [node name="Inventory" parent="." instance=ExtResource("13_1fc2b")] visible = false @@ -170,11 +225,6 @@ anchor_top = 0.25 anchor_right = 0.75 anchor_bottom = 0.75 -[node name="UI" type="Control" parent="."] -layout_mode = 3 -anchors_preset = 0 -script = ExtResource("1_l5b6o") - -[connection signal="focus_entered" from="BottomLeft/Chat/ChatInput" to="BottomLeft/Chat/ChatInput" method="_on_focus_entered"] -[connection signal="focus_exited" from="BottomLeft/Chat/ChatInput" to="BottomLeft/Chat/ChatInput" method="_on_focus_exited"] -[connection signal="text_submitted" from="BottomLeft/Chat/ChatInput" to="BottomLeft/Chat/ChatInput" method="_on_text_submitted"] +[connection signal="focus_entered" from="Bottom/Chat/ChatInput" to="Bottom/Chat/ChatInput" method="_on_focus_entered"] +[connection signal="focus_exited" from="Bottom/Chat/ChatInput" to="Bottom/Chat/ChatInput" method="_on_focus_exited"] +[connection signal="text_submitted" from="Bottom/Chat/ChatInput" to="Bottom/Chat/ChatInput" method="_on_text_submitted"] diff --git a/client/ui/debug/PerformanceLabel.gd b/client/ui/debug/PerformanceLabel.gd index 76aaf34..2cf94eb 100644 --- a/client/ui/debug/PerformanceLabel.gd +++ b/client/ui/debug/PerformanceLabel.gd @@ -6,4 +6,12 @@ extends DebugLabel @export var suffix := "" func _process(_delta): - text = str(snapped(Performance.get_monitor(monitor) * multiply, precision)) + suffix + match monitor: + Performance.Monitor.TIME_PROCESS, Performance.Monitor.TIME_PHYSICS_PROCESS: + text = str(snapped(Performance.get_monitor(monitor) * 1000, 0.1)) + " ms" + Performance.Monitor.RENDER_TOTAL_PRIMITIVES_IN_FRAME: + text = str(round(Performance.get_monitor(monitor) / 1000)) + "k" + Performance.Monitor.RENDER_VIDEO_MEM_USED: + text = str(round(Performance.get_monitor(monitor) / 1000000)) + " MB" + _: + text = str(Performance.get_monitor(monitor)) diff --git a/client/ui/settings/Settings.tscn b/client/ui/settings/Settings.tscn index 8a2bfdb..7879056 100644 --- a/client/ui/settings/Settings.tscn +++ b/client/ui/settings/Settings.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=3 uid="uid://bqpbrju7mc7d5"] +[gd_scene load_steps=16 format=3 uid="uid://bqpbrju7mc7d5"] [ext_resource type="Script" path="res://ui/settings/Settings.gd" id="1_gx3lf"] [ext_resource type="Script" path="res://ui/label/ParentNameLabel.gd" id="2_72a3s"] @@ -15,79 +15,74 @@ [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"] [ext_resource type="PackedScene" uid="uid://meal8j3ft58r" path="res://ui/settings/audio/AudioBusVolume.tscn" id="14_pvo80"] -[ext_resource type="Script" path="res://ui/settings/game/Quit.gd" id="16_jhp60"] [node name="Settings" type="Control"] layout_mode = 3 -anchor_left = 0.25 -anchor_top = 0.25 -anchor_right = 0.75 -anchor_bottom = 0.75 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_gx3lf") -[node name="VBoxContainer" type="VBoxContainer" parent="."] +[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 +size_flags_horizontal = 3 -[node name="TabContainer" type="TabContainer" parent="VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 - -[node name="Video" type="MarginContainer" parent="VBoxContainer/TabContainer"] +[node name="Video" type="MarginContainer" parent="TabContainer"] layout_mode = 2 -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Video"] +[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Video"] layout_mode = 2 -[node name="Preset" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Preset" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Preset"] +[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Preset"] layout_mode = 2 size_flags_horizontal = 3 text = "Preset:" script = ExtResource("2_72a3s") -[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Preset"] +[node name="HBoxContainer" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer/Preset"] layout_mode = 2 size_flags_horizontal = 3 -[node name="Low" type="Button" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer"] +[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="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer"] +[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="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer"] +[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="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer"] +[node name="Preset" type="Node" parent="TabContainer/Video/VBoxContainer/Preset/HBoxContainer"] script = ExtResource("3_il1yi") -[node name="Render Scale" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Render Scale" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Render Scale"] +[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Render Scale"] layout_mode = 2 size_flags_horizontal = 3 text = "Render Scale:" script = ExtResource("2_72a3s") -[node name="OptionButton" type="OptionButton" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Render Scale" groups=["video_preset_setting"]] +[node name="OptionButton" type="OptionButton" parent="TabContainer/Video/VBoxContainer/Render Scale" groups=["video_preset_setting"]] layout_mode = 2 size_flags_horizontal = 3 item_count = 5 @@ -103,17 +98,17 @@ popup/item_4/text = "Native" popup/item_4/id = 4 script = ExtResource("4_owrjf") -[node name="Scale Mode" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Scale Mode" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Scale Mode"] +[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Scale Mode"] layout_mode = 2 size_flags_horizontal = 3 text = "Scale Mode:" script = ExtResource("2_72a3s") -[node name="OptionButton" type="OptionButton" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Scale Mode" groups=["video_preset_setting"]] +[node name="OptionButton" type="OptionButton" parent="TabContainer/Video/VBoxContainer/Scale Mode" groups=["video_preset_setting"]] layout_mode = 2 size_flags_horizontal = 3 item_count = 3 @@ -125,92 +120,92 @@ popup/item_2/text = "FSR 2.2" popup/item_2/id = 2 script = ExtResource("5_monk2") -[node name="Glow" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Glow" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Glow"] +[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/Glow"] layout_mode = 2 size_flags_horizontal = 3 text = "Glow:" script = ExtResource("2_72a3s") -[node name="CheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Glow" groups=["video_preset_setting"]] +[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Glow" groups=["video_preset_setting"]] layout_mode = 2 size_flags_horizontal = 3 script = ExtResource("6_13yy3") -[node name="Depth of Field" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Depth of Field" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Depth of Field"] +[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") -[node name="CheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Depth of Field" groups=["video_preset_setting"]] +[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Depth of Field" groups=["video_preset_setting"]] layout_mode = 2 size_flags_horizontal = 3 script = ExtResource("7_i0l7x") -[node name="SSAO" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="SSAO" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/SSAO"] +[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/SSAO"] layout_mode = 2 size_flags_horizontal = 3 text = "SSAO:" script = ExtResource("2_72a3s") -[node name="CheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Video/VBoxContainer/SSAO" groups=["video_preset_setting"]] +[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/SSAO" groups=["video_preset_setting"]] layout_mode = 2 size_flags_horizontal = 3 script = ExtResource("8_je43v") -[node name="SSIL" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="SSIL" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/SSIL"] +[node name="Label" type="Label" parent="TabContainer/Video/VBoxContainer/SSIL"] layout_mode = 2 size_flags_horizontal = 3 text = "SSIL:" script = ExtResource("2_72a3s") -[node name="CheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Video/VBoxContainer/SSIL" groups=["video_preset_setting"]] +[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/SSIL" groups=["video_preset_setting"]] layout_mode = 2 size_flags_horizontal = 3 script = ExtResource("9_tngfj") -[node name="Volumetric Fog" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[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="VBoxContainer/TabContainer/Video/VBoxContainer/Volumetric Fog"] +[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") -[node name="CheckButton" type="CheckButton" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Volumetric Fog" groups=["video_preset_setting"]] +[node name="CheckButton" type="CheckButton" parent="TabContainer/Video/VBoxContainer/Volumetric Fog" groups=["video_preset_setting"]] layout_mode = 2 size_flags_horizontal = 3 script = ExtResource("10_1jm8r") -[node name="Brightness" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Brightness" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Brightness"] +[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="VBoxContainer/TabContainer/Video/VBoxContainer/Brightness"] +[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Brightness"] layout_mode = 2 size_flags_horizontal = 3 max_value = 2.0 @@ -218,17 +213,17 @@ step = 0.05 value = 0.5 script = ExtResource("11_crore") -[node name="Contrast" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Contrast" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Contrast"] +[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="VBoxContainer/TabContainer/Video/VBoxContainer/Contrast"] +[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Contrast"] layout_mode = 2 size_flags_horizontal = 3 max_value = 2.0 @@ -236,17 +231,17 @@ step = 0.05 value = 0.5 script = ExtResource("12_5kqj0") -[node name="Saturation" type="HBoxContainer" parent="VBoxContainer/TabContainer/Video/VBoxContainer"] +[node name="Saturation" type="HBoxContainer" parent="TabContainer/Video/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Video/VBoxContainer/Saturation"] +[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="VBoxContainer/TabContainer/Video/VBoxContainer/Saturation"] +[node name="HSlider" type="HSlider" parent="TabContainer/Video/VBoxContainer/Saturation"] layout_mode = 2 size_flags_horizontal = 3 max_value = 2.0 @@ -254,154 +249,150 @@ step = 0.05 value = 0.5 script = ExtResource("13_ntyeq") -[node name="Audio" type="MarginContainer" parent="VBoxContainer/TabContainer"] +[node name="Audio" type="MarginContainer" parent="TabContainer"] visible = false layout_mode = 2 -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Audio"] +[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Audio"] layout_mode = 2 -[node name="Master" parent="VBoxContainer/TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] +[node name="Master" parent="TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] layout_mode = 2 -[node name="Music" parent="VBoxContainer/TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] +[node name="Music" parent="TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] layout_mode = 2 -[node name="Effects" parent="VBoxContainer/TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] +[node name="Effects" parent="TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] layout_mode = 2 -[node name="Voices" parent="VBoxContainer/TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] +[node name="Voices" parent="TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] layout_mode = 2 -[node name="Ambience" parent="VBoxContainer/TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] +[node name="Ambience" parent="TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] layout_mode = 2 -[node name="Skills" parent="VBoxContainer/TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] +[node name="Skills" parent="TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] layout_mode = 2 -[node name="Footsteps" parent="VBoxContainer/TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] +[node name="Footsteps" parent="TabContainer/Audio/VBoxContainer" instance=ExtResource("14_pvo80")] layout_mode = 2 -[node name="Input" type="MarginContainer" parent="VBoxContainer/TabContainer"] +[node name="Controls" type="MarginContainer" parent="TabContainer"] visible = false layout_mode = 2 -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Input"] +[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Controls"] layout_mode = 2 -[node name="Layers" type="MarginContainer" parent="VBoxContainer/TabContainer"] +[node name="Gameplay" type="MarginContainer" parent="TabContainer"] visible = false layout_mode = 2 -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Layers"] +[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Gameplay"] layout_mode = 2 -[node name="Terrain" type="HBoxContainer" parent="VBoxContainer/TabContainer/Layers/VBoxContainer"] +[node name="Layers" type="MarginContainer" parent="TabContainer"] +visible = false +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/Layers"] +layout_mode = 2 + +[node name="Terrain" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Layers/VBoxContainer/Terrain"] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer/Terrain" groups=["video_preset_setting"]] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer"] +[node name="Grass" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Layers/VBoxContainer/Grass"] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer/Grass" groups=["video_preset_setting"]] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer"] +[node name="Trees" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Layers/VBoxContainer/Trees"] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer/Trees" groups=["video_preset_setting"]] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer"] +[node name="Enemies" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Layers/VBoxContainer/Enemies"] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer/Enemies" groups=["video_preset_setting"]] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer"] +[node name="Players" type="HBoxContainer" parent="TabContainer/Layers/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Layers/VBoxContainer/Players"] +[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="VBoxContainer/TabContainer/Layers/VBoxContainer/Players" groups=["video_preset_setting"]] +[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 -[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] -layout_mode = 2 -alignment = 1 - -[node name="Quit" type="Button" parent="VBoxContainer/HBoxContainer"] -layout_mode = 2 -size_flags_horizontal = 4 -text = "Quit" -script = ExtResource("16_jhp60") - -[connection signal="pressed" from="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Low" to="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_low"] -[connection signal="pressed" from="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Medium" to="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_medium"] -[connection signal="pressed" from="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer/High" to="VBoxContainer/TabContainer/Video/VBoxContainer/Preset/HBoxContainer/Preset" method="preset_high"] -[connection signal="item_selected" from="VBoxContainer/TabContainer/Video/VBoxContainer/Render Scale/OptionButton" to="VBoxContainer/TabContainer/Video/VBoxContainer/Render Scale/OptionButton" method="on_item_selected"] -[connection signal="item_selected" from="VBoxContainer/TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" to="VBoxContainer/TabContainer/Video/VBoxContainer/Scale Mode/OptionButton" method="on_item_selected"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Video/VBoxContainer/Glow/CheckButton" to="VBoxContainer/TabContainer/Video/VBoxContainer/Glow/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Video/VBoxContainer/Depth of Field/CheckButton" to="VBoxContainer/TabContainer/Video/VBoxContainer/Depth of Field/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Video/VBoxContainer/SSAO/CheckButton" to="VBoxContainer/TabContainer/Video/VBoxContainer/SSAO/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Video/VBoxContainer/SSIL/CheckButton" to="VBoxContainer/TabContainer/Video/VBoxContainer/SSIL/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Video/VBoxContainer/Volumetric Fog/CheckButton" to="VBoxContainer/TabContainer/Video/VBoxContainer/Volumetric Fog/CheckButton" method="on_toggled"] -[connection signal="value_changed" from="VBoxContainer/TabContainer/Video/VBoxContainer/Brightness/HSlider" to="VBoxContainer/TabContainer/Video/VBoxContainer/Brightness/HSlider" method="on_value_changed"] -[connection signal="value_changed" from="VBoxContainer/TabContainer/Video/VBoxContainer/Contrast/HSlider" to="VBoxContainer/TabContainer/Video/VBoxContainer/Contrast/HSlider" method="on_value_changed"] -[connection signal="value_changed" from="VBoxContainer/TabContainer/Video/VBoxContainer/Saturation/HSlider" to="VBoxContainer/TabContainer/Video/VBoxContainer/Saturation/HSlider" method="on_value_changed"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Layers/VBoxContainer/Terrain/CheckButton" to="VBoxContainer/TabContainer/Layers/VBoxContainer/Terrain/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Layers/VBoxContainer/Grass/CheckButton" to="VBoxContainer/TabContainer/Layers/VBoxContainer/Grass/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Layers/VBoxContainer/Trees/CheckButton" to="VBoxContainer/TabContainer/Layers/VBoxContainer/Trees/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Layers/VBoxContainer/Enemies/CheckButton" to="VBoxContainer/TabContainer/Layers/VBoxContainer/Enemies/CheckButton" method="on_toggled"] -[connection signal="toggled" from="VBoxContainer/TabContainer/Layers/VBoxContainer/Players/CheckButton" to="VBoxContainer/TabContainer/Layers/VBoxContainer/Players/CheckButton" method="on_toggled"] -[connection signal="pressed" from="VBoxContainer/HBoxContainer/Quit" to="VBoxContainer/HBoxContainer/Quit" method="on_pressed"] +[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"] +[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"] +[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"] +[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"] +[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"]