[gd_scene load_steps=7 format=3 uid="uid://cimgn07lbcs4v"] [ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://gui/resources/theme/theme.tres" id="1_cabdu"] [ext_resource type="PackedScene" uid="uid://l4vm07dtda4j" path="res://gui/menus/main/background.tscn" id="2_5fxol"] [ext_resource type="Script" uid="uid://bl0n4atrdcogm" path="res://gui/menus/error.gd" id="2_dbe41"] [ext_resource type="PackedScene" uid="uid://bg2d78ycorcqk" path="res://gui/menus/transition/scene_transition.tscn" id="4_1nbt3"] [ext_resource type="Material" uid="uid://beea1pc5nt67r" path="res://gui/resources/materials/dark_blur_material.tres" id="4_hxkkd"] [ext_resource type="Script" uid="uid://byshs20og68tn" path="res://gui/components/smart_margin_container.gd" id="5_rfcg2"] [node name="ErrorMenu" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("1_cabdu") script = ExtResource("2_dbe41") [node name="MenuBackground" parent="." instance=ExtResource("2_5fxol")] [node name="Panel" type="Panel" parent="."] material = ExtResource("4_hxkkd") layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="SmartMarginContainer" type="MarginContainer" parent="Panel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("5_rfcg2") metadata/_custom_type_script = "uid://byshs20og68tn" [node name="Contents" type="VBoxContainer" parent="Panel/SmartMarginContainer"] layout_mode = 2 alignment = 1 [node name="Title" type="Label" parent="Panel/SmartMarginContainer/Contents"] layout_mode = 2 theme_override_font_sizes/font_size = 61 text = "c.menu.error.title" horizontal_alignment = 1 [node name="Message" type="Label" parent="Panel/SmartMarginContainer/Contents"] layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "This should be the error message." horizontal_alignment = 1 [node name="Control" type="Control" parent="Panel/SmartMarginContainer/Contents"] custom_minimum_size = Vector2(0, 15.805) layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="Panel/SmartMarginContainer/Contents"] layout_mode = 2 alignment = 1 [node name="Return" type="Button" parent="Panel/SmartMarginContainer/Contents/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 text = "c.menu.ingame.main_menu" [node name="Reconnect" type="Button" parent="Panel/SmartMarginContainer/Contents/HBoxContainer"] layout_mode = 2 text = "c.menu.ingame.reconnect" [node name="SceneTransition" parent="." instance=ExtResource("4_1nbt3")] visible = false layout_mode = 1 [connection signal="pressed" from="Panel/SmartMarginContainer/Contents/HBoxContainer/Return" to="." method="_on_return_pressed"] [connection signal="pressed" from="Panel/SmartMarginContainer/Contents/HBoxContainer/Reconnect" to="." method="_on_reconnect_pressed"]