[gd_scene load_steps=4 format=3 uid="uid://c670g1qg5gaug"] [ext_resource type="Script" path="res://scripts/PauseMenu.cs" id="1_p5jo3"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_k7oof"] bg_color = Color(0.2, 0.2, 0.2, 0.921569) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_q40bd"] bg_color = Color(0.25, 0.25, 0.25, 0.909804) [node name="PauseMenu" type="Control" node_paths=PackedStringArray("InitialFocusTarget", "VolumeSlider", "CameraSensitivityX", "CameraSensitivityY", "CameraInvertX", "CameraInvertY", "TableOrbitSpeedX", "TableOrbitSpeedY", "TableOrbitInvertX", "TableOrbitInvertY", "MsaaOptions", "RenderScaleOptions", "UpscalingOptions", "WindowModeOptions")] process_mode = 3 layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_p5jo3") InitialFocusTarget = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/ContinueButton") VolumeSlider = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/General settings/Grid/VolumeSlider") CameraSensitivityX = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid/CameraXSlider") CameraSensitivityY = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid/CameraYSlider") CameraInvertX = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid/CameraXInvCheck") CameraInvertY = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid/CameraYInvCheck") TableOrbitSpeedX = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid/RotateSpeedSlider") TableOrbitSpeedY = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid/TiltSpeedSlider") TableOrbitInvertX = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid/InvertRotateCheck") TableOrbitInvertY = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid/InvertTiltCheck") MsaaOptions = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid/MsaaOptions") RenderScaleOptions = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid/RenderScaleOptions") UpscalingOptions = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid/UpscaleOptions") WindowModeOptions = NodePath("CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid/FullscreenOptions") [node name="CenterContainer" type="CenterContainer" parent="."] process_mode = 2 layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"] layout_mode = 2 theme_override_constants/separation = 0 [node name="Control" type="Control" parent="CenterContainer/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 [node name="OptionsAndButtonsContainer" type="PanelContainer" parent="CenterContainer/HBoxContainer"] layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_k7oof") [node name="MarginContainer" type="MarginContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer"] layout_mode = 2 theme_override_constants/margin_left = 20 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 20 [node name="Options and buttons" type="VBoxContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer"] layout_mode = 2 theme_override_constants/separation = 16 [node name="ContinueButton" type="Button" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"] layout_mode = 2 focus_neighbor_top = NodePath("../QuitButton") text = "Continue" [node name="TabContainer" type="TabContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"] custom_minimum_size = Vector2(340, 200) layout_mode = 2 theme_override_font_sizes/font_size = 11 current_tab = 0 [node name="General settings" type="MarginContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer"] layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 metadata/_tab_index = 0 [node name="Grid" type="GridContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/General settings"] layout_mode = 2 theme_override_constants/h_separation = 14 theme_override_constants/v_separation = 9 columns = 2 [node name="VolumeLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/General settings/Grid"] layout_mode = 2 text = "Volume" [node name="VolumeSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/General settings/Grid"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 max_value = 1.0 step = 0.05 [node name="Camera" type="MarginContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer"] visible = false layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 metadata/_tab_index = 1 [node name="Grid" type="GridContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera"] layout_mode = 2 theme_override_constants/h_separation = 14 theme_override_constants/v_separation = 9 columns = 2 [node name="CameraXLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 text = "Camera yaw speed" [node name="CameraXSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 max_value = 10.0 step = 0.25 [node name="CameraXInvLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 text = "Camera invert yaw" [node name="CameraXInvCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 size_flags_horizontal = 3 action_mode = 0 [node name="CameraYLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 text = "Camera pitch speed" [node name="CameraYSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 max_value = 10.0 step = 0.25 [node name="CameraYInvLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 text = "Camera invert pitch" [node name="CameraYInvCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Camera/Grid"] layout_mode = 2 size_flags_horizontal = 3 action_mode = 0 [node name="Building" type="MarginContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer"] visible = false layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 metadata/_tab_index = 2 [node name="Grid" type="GridContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building"] layout_mode = 2 theme_override_constants/h_separation = 14 theme_override_constants/v_separation = 9 columns = 2 [node name="RotateSpeedLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 text = "Rotation speed" [node name="RotateSpeedSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 max_value = 6.0 step = 0.25 [node name="InvertRotateLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 text = "Invert rotation" [node name="InvertRotateCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 size_flags_horizontal = 3 action_mode = 0 [node name="TiltSpeedLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 text = "Tilt speed" [node name="TiltSpeedSlider" type="HSlider" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 max_value = 6.0 step = 0.25 [node name="InvertTiltLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 text = "Invert tilt" [node name="InvertTiltCheck" type="CheckButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Building/Grid"] layout_mode = 2 size_flags_horizontal = 3 action_mode = 0 [node name="Graphics" type="MarginContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer"] visible = false layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 metadata/_tab_index = 3 [node name="Grid" type="GridContainer" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics"] layout_mode = 2 theme_override_constants/h_separation = 14 theme_override_constants/v_separation = 9 columns = 2 [node name="FullscreenLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 text = "Display mode" [node name="FullscreenOptions" type="OptionButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 selected = 0 item_count = 3 popup/item_0/text = "Windowed" popup/item_1/text = "Fullscreen" popup/item_1/id = 1 popup/item_2/text = "Exclusive fullscreen" popup/item_2/id = 2 [node name="MsaaLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 text = "MSAA" [node name="MsaaOptions" type="OptionButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 selected = 2 item_count = 4 popup/item_0/text = "Disabled" popup/item_1/text = "2 samples" popup/item_1/id = 1 popup/item_2/text = "4 samples" popup/item_2/id = 2 popup/item_3/text = "8 samples" popup/item_3/id = 3 [node name="RenderScaleLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 text = "Render scale " [node name="RenderScaleOptions" type="OptionButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 selected = 3 item_count = 6 popup/item_0/text = "25%" popup/item_0/id = 25 popup/item_1/text = "50%" popup/item_1/id = 50 popup/item_2/text = "75%" popup/item_2/id = 75 popup/item_3/text = "100%" popup/item_3/id = 100 popup/item_4/text = "150%" popup/item_4/id = 150 popup/item_5/text = "200%" popup/item_5/id = 200 [node name="UpscaleLabel" type="Label" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 text = "Upscaling" [node name="UpscaleOptions" type="OptionButton" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/TabContainer/Graphics/Grid"] layout_mode = 2 disabled = true selected = 0 item_count = 3 popup/item_0/text = "Linear" popup/item_1/text = "FSR 1.0" popup/item_1/id = 1 popup/item_2/text = "FSR 2.2" popup/item_2/id = 2 [node name="QuitButton" type="Button" parent="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons"] layout_mode = 2 focus_neighbor_bottom = NodePath("../ContinueButton") text = "Back to main menu" [node name="CreditsContainer" type="PanelContainer" parent="CenterContainer/HBoxContainer"] custom_minimum_size = Vector2(300, 0) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_q40bd") [node name="Credits" type="VBoxContainer" parent="CenterContainer/HBoxContainer/CreditsContainer"] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="CenterContainer/HBoxContainer/CreditsContainer/Credits"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="CreditsText" type="RichTextLabel" parent="CenterContainer/HBoxContainer/CreditsContainer/Credits/MarginContainer"] layout_mode = 2 size_flags_vertical = 3 bbcode_enabled = true text = "[font_size=20]Asset credits[/font_size] [font_size=16]Textures from ambientcg.com[/font_size] [font_size=16]Sounds from freesound.org[/font_size] [font_size=12]Wind by Leandros.Ntounis Footsteps by kyles [/font_size] " [connection signal="pressed" from="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/ContinueButton" to="." method="Close"] [connection signal="pressed" from="CenterContainer/HBoxContainer/OptionsAndButtonsContainer/MarginContainer/Options and buttons/QuitButton" to="." method="Quit"]