|
[gd_scene load_steps=4 format=3 uid="uid://uwlutbmfp8dv"]
|
|
|
|
[ext_resource type="Script" uid="uid://ccei1q7fb022x" path="res://scenes/ui/pause_menu/settings_menu.gd" id="1_govsn"]
|
|
[ext_resource type="PackedScene" uid="uid://4itp2hjp14n2" path="res://scenes/ui/pause_menu/base_menu.tscn" id="1_oec81"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_830fb"]
|
|
content_margin_left = 10.0
|
|
content_margin_top = 10.0
|
|
content_margin_right = 10.0
|
|
content_margin_bottom = 10.0
|
|
bg_color = Color(0, 0, 0, 0.27451)
|
|
corner_radius_top_left = 2
|
|
corner_radius_top_right = 2
|
|
corner_radius_bottom_right = 2
|
|
corner_radius_bottom_left = 2
|
|
|
|
[node name="SettingsMenu" node_paths=PackedStringArray("autosaves_input", "block_highlight_input", "creative_mode_input", "held_block_ui_input", "quick_slots_ui_input", "screenshot_icon_input", "waila_input", "fov_slider", "fov_value_label", "resolution_input", "vsync_input", "window_mode_input") instance=ExtResource("1_oec81")]
|
|
script = ExtResource("1_govsn")
|
|
autosaves_input = NodePath("MainContent/MenuContainer/TabContainer/Game/Autosaves/CheckButton")
|
|
block_highlight_input = NodePath("MainContent/MenuContainer/TabContainer/Game/BlockHighlight/CheckButton")
|
|
creative_mode_input = NodePath("MainContent/MenuContainer/TabContainer/Game/CreativeMode/CheckButton")
|
|
held_block_ui_input = NodePath("MainContent/MenuContainer/TabContainer/Game/HeldBlockUI/CheckButton")
|
|
quick_slots_ui_input = NodePath("MainContent/MenuContainer/TabContainer/Game/QuickslotsUI/CheckButton")
|
|
screenshot_icon_input = NodePath("MainContent/MenuContainer/TabContainer/Game/ScreenshotIcon/CheckButton")
|
|
waila_input = NodePath("MainContent/MenuContainer/TabContainer/Game/Waila/CheckButton")
|
|
fov_slider = NodePath("MainContent/MenuContainer/TabContainer/Graphics/FOV/HSlider")
|
|
fov_value_label = NodePath("MainContent/MenuContainer/TabContainer/Graphics/FOV/Value")
|
|
resolution_input = NodePath("MainContent/MenuContainer/TabContainer/Graphics/Resolution/OptionButton")
|
|
vsync_input = NodePath("MainContent/MenuContainer/TabContainer/Graphics/VSync/CheckBox")
|
|
window_mode_input = NodePath("MainContent/MenuContainer/TabContainer/Graphics/WindowMode/OptionButton")
|
|
|
|
[node name="Title" parent="MainContent/MenuContainer" index="0"]
|
|
text = "Settings"
|
|
|
|
[node name="TabContainer" type="TabContainer" parent="MainContent/MenuContainer" index="1"]
|
|
layout_mode = 2
|
|
theme_override_constants/side_margin = 0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_830fb")
|
|
current_tab = 0
|
|
clip_tabs = false
|
|
|
|
[node name="Game" type="VBoxContainer" parent="MainContent/MenuContainer/TabContainer" index="1"]
|
|
layout_mode = 2
|
|
metadata/_tab_index = 0
|
|
|
|
[node name="BlockHighlight" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Game" index="0"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Game/BlockHighlight" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Block Highlighting"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="MainContent/MenuContainer/TabContainer/Game/BlockHighlight" index="1"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="Waila" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Game" index="1"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Game/Waila" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Waila"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="MainContent/MenuContainer/TabContainer/Game/Waila" index="1"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="QuickslotsUI" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Game" index="2"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Game/QuickslotsUI" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Quickslots UI"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="MainContent/MenuContainer/TabContainer/Game/QuickslotsUI" index="1"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="HeldBlockUI" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Game" index="3"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Game/HeldBlockUI" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Enable Player Held Block"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="MainContent/MenuContainer/TabContainer/Game/HeldBlockUI" index="1"]
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
|
|
[node name="ScreenshotIcon" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Game" index="4"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Game/ScreenshotIcon" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
mouse_filter = 1
|
|
text = "Enable Save Screenshot"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="MainContent/MenuContainer/TabContainer/Game/ScreenshotIcon" index="1"]
|
|
layout_mode = 2
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
button_pressed = true
|
|
|
|
[node name="Autosaves" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Game" index="5"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Game/Autosaves" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
mouse_filter = 1
|
|
text = "Enable Autosaves"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="MainContent/MenuContainer/TabContainer/Game/Autosaves" index="1"]
|
|
layout_mode = 2
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
button_pressed = true
|
|
|
|
[node name="CreativeMode" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Game" index="6"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Game/CreativeMode" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
mouse_filter = 1
|
|
text = "Enable Creative Mode"
|
|
|
|
[node name="CheckButton" type="CheckButton" parent="MainContent/MenuContainer/TabContainer/Game/CreativeMode" index="1"]
|
|
layout_mode = 2
|
|
tooltip_text = "Enable/Disable the taking of a screenshot to utilize as the save icon."
|
|
button_pressed = true
|
|
|
|
[node name="Graphics" type="VBoxContainer" parent="MainContent/MenuContainer/TabContainer" index="2"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 1
|
|
|
|
[node name="Resolution" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Graphics" index="0"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Graphics/Resolution" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Resolution"
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="MainContent/MenuContainer/TabContainer/Graphics/Resolution" index="1"]
|
|
layout_mode = 2
|
|
selected = 0
|
|
item_count = 6
|
|
popup/item_0/text = "1280x720"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "1280x800"
|
|
popup/item_1/id = 4
|
|
popup/item_2/text = "1920x1080"
|
|
popup/item_2/id = 1
|
|
popup/item_3/text = "2560x1440"
|
|
popup/item_3/id = 2
|
|
popup/item_4/text = "3440x1440"
|
|
popup/item_4/id = 3
|
|
popup/item_5/text = "3840 x 2160"
|
|
popup/item_5/id = 5
|
|
|
|
[node name="WindowMode" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Graphics" index="1"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Graphics/WindowMode" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Display Mode"
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="MainContent/MenuContainer/TabContainer/Graphics/WindowMode" index="1"]
|
|
layout_mode = 2
|
|
item_count = 4
|
|
popup/item_0/text = "Window"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Maximized"
|
|
popup/item_1/id = 2
|
|
popup/item_2/text = "Fullscreen"
|
|
popup/item_2/id = 3
|
|
popup/item_3/text = "Exclusive Fullscreen"
|
|
popup/item_3/id = 4
|
|
|
|
[node name="VSync" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Graphics" index="2"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Graphics/VSync" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "VSync"
|
|
|
|
[node name="CheckBox" type="CheckBox" parent="MainContent/MenuContainer/TabContainer/Graphics/VSync" index="1"]
|
|
layout_mode = 2
|
|
|
|
[node name="FOV" type="HBoxContainer" parent="MainContent/MenuContainer/TabContainer/Graphics" index="3"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="MainContent/MenuContainer/TabContainer/Graphics/FOV" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "FOV"
|
|
|
|
[node name="HSlider" type="HSlider" parent="MainContent/MenuContainer/TabContainer/Graphics/FOV" index="1"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
min_value = 60.0
|
|
max_value = 120.0
|
|
value = 75.0
|
|
rounded = true
|
|
ticks_on_borders = true
|
|
|
|
[node name="Value" type="Label" parent="MainContent/MenuContainer/TabContainer/Graphics/FOV" index="2"]
|
|
layout_mode = 2
|
|
text = "75"
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="MainContent/MenuContainer/TabContainer/Graphics" index="4"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="MainContent/MenuContainer/TabContainer/Graphics" index="5"]
|
|
layout_mode = 2
|
|
|
|
[node name="ApplyButton" type="Button" parent="MainContent/MenuContainer/TabContainer/Graphics/CenterContainer" index="0"]
|
|
layout_mode = 2
|
|
text = "Apply/Save"
|
|
|
|
[node name="Audio" type="VBoxContainer" parent="MainContent/MenuContainer/TabContainer" index="3"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 2
|
|
|
|
[node name="Inputs" type="VBoxContainer" parent="MainContent/MenuContainer/TabContainer" index="4"]
|
|
visible = false
|
|
layout_mode = 2
|
|
metadata/_tab_index = 3
|
|
|
|
[node name="CloseButton" type="Button" parent="BottomRow" index="0"]
|
|
custom_minimum_size = Vector2(141, 36)
|
|
layout_mode = 2
|
|
text = "Close Settings"
|
|
|
|
[connection signal="toggled" from="MainContent/MenuContainer/TabContainer/Game/BlockHighlight/CheckButton" to="." method="_on_block_highlighting_toggled"]
|
|
[connection signal="toggled" from="MainContent/MenuContainer/TabContainer/Game/Waila/CheckButton" to="." method="_on_enable_waila_toggled"]
|
|
[connection signal="toggled" from="MainContent/MenuContainer/TabContainer/Game/QuickslotsUI/CheckButton" to="." method="_on_quickslots_ui_toggled"]
|
|
[connection signal="toggled" from="MainContent/MenuContainer/TabContainer/Game/HeldBlockUI/CheckButton" to="." method="_on_held_block_ui_toggled"]
|
|
[connection signal="toggled" from="MainContent/MenuContainer/TabContainer/Game/ScreenshotIcon/CheckButton" to="." method="_on_screenshot_icon_button_toggled"]
|
|
[connection signal="toggled" from="MainContent/MenuContainer/TabContainer/Game/Autosaves/CheckButton" to="." method="_on_autosaves_button_toggled"]
|
|
[connection signal="toggled" from="MainContent/MenuContainer/TabContainer/Game/CreativeMode/CheckButton" to="." method="_on_creative_mode_toggled"]
|
|
[connection signal="value_changed" from="MainContent/MenuContainer/TabContainer/Graphics/FOV/HSlider" to="." method="_on_fov_slider_changed"]
|
|
[connection signal="pressed" from="MainContent/MenuContainer/TabContainer/Graphics/CenterContainer/ApplyButton" to="." method="_on_graphics_apply_button_pressed"]
|
|
[connection signal="pressed" from="BottomRow/CloseButton" to="." method="_on_close_button_pressed"]
|