[gd_scene load_steps=4 format=3 uid="uid://dswn8a8anj2hu"] [ext_resource type="Script" uid="uid://dh64rv15w8ecl" path="res://gui/host_menu/host_menu.gd" id="1_83e8q"] [ext_resource type="Script" uid="uid://r1uwav8lrw6c" path="res://multiplayer/port_forward_button.gd" id="2_lgwxd"] [ext_resource type="Script" uid="uid://dq2pv2wy8uojd" path="res://multiplayer/ip_display.gd" id="3_f5ibf"] [node name="HostMenu" type="VBoxContainer"] script = ExtResource("1_83e8q") [node name="StartButton" type="Button" parent="."] unique_name_in_owner = true layout_mode = 2 text = "start" [node name="MapsButton" type="OptionButton" parent="."] unique_name_in_owner = true layout_mode = 2 [node name="Time" type="FoldableContainer" parent="."] layout_mode = 2 folded = true title = "round_time" [node name="VBoxContainer" type="VBoxContainer" parent="Time"] visible = false layout_mode = 2 [node name="RoundTime" type="HBoxContainer" parent="Time/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Time/VBoxContainer/RoundTime"] layout_mode = 2 text = "round_time" [node name="RoundTimeBox" type="SpinBox" parent="Time/VBoxContainer/RoundTime"] unique_name_in_owner = true layout_mode = 2 min_value = 1.0 step = 0.01 value = 1.0 allow_greater = true [node name="BombTime" type="HBoxContainer" parent="Time/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Time/VBoxContainer/BombTime"] layout_mode = 2 text = "bomb_time" [node name="BombTimeBox" type="SpinBox" parent="Time/VBoxContainer/BombTime"] unique_name_in_owner = true layout_mode = 2 min_value = 1.0 step = 0.01 value = 1.0 allow_greater = true [node name="BuyTime" type="HBoxContainer" parent="Time/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Time/VBoxContainer/BuyTime"] layout_mode = 2 text = "buy_time" [node name="BuyTimeBox" type="SpinBox" parent="Time/VBoxContainer/BuyTime"] unique_name_in_owner = true layout_mode = 2 min_value = 1.0 step = 0.01 value = 1.0 allow_greater = true [node name="Round" type="FoldableContainer" parent="."] layout_mode = 2 folded = true title = "round_settings" [node name="VBoxContainer" type="VBoxContainer" parent="Round"] visible = false layout_mode = 2 [node name="RoundAmount" type="HBoxContainer" parent="Round/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Round/VBoxContainer/RoundAmount"] layout_mode = 2 text = "win_rounds" [node name="RoundBox" type="SpinBox" parent="Round/VBoxContainer/RoundAmount"] unique_name_in_owner = true layout_mode = 2 min_value = 2.0 max_value = 20.0 value = 2.0 rounded = true allow_greater = true [node name="TeamSwitchAmount" type="HBoxContainer" parent="Round/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Round/VBoxContainer/TeamSwitchAmount"] layout_mode = 2 text = "half_rounds" [node name="TeamSwitchBox" type="SpinBox" parent="Round/VBoxContainer/TeamSwitchAmount"] unique_name_in_owner = true layout_mode = 2 min_value = 1.0 max_value = 20.0 value = 2.0 rounded = true allow_greater = true [node name="Gameplay" type="FoldableContainer" parent="."] layout_mode = 2 folded = true title = "gameplay" [node name="VBoxContainer" type="VBoxContainer" parent="Gameplay"] visible = false layout_mode = 2 [node name="AllowMultipleAbilityButton" type="CheckButton" parent="Gameplay/VBoxContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 0) layout_mode = 2 text = "allow_multiple_abilities" autowrap_mode = 2 [node name="InfiniteMoney" type="CheckButton" parent="Gameplay/VBoxContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 0) layout_mode = 2 text = "infinite_money" autowrap_mode = 2 [node name="PortForward" type="FoldableContainer" parent="."] layout_mode = 2 folded = true title = "port_forwarding" [node name="PortForwardContainer" type="VBoxContainer" parent="PortForward"] visible = false layout_mode = 2 [node name="ForwardPortButton" type="Button" parent="PortForward/PortForwardContainer"] layout_mode = 2 text = "try_forward" script = ExtResource("2_lgwxd") [node name="Label" type="Label" parent="PortForward/PortForwardContainer"] layout_mode = 2 text = "public_ip_status" [node name="PublicIP" type="LineEdit" parent="PortForward/PortForwardContainer"] unique_name_in_owner = true layout_mode = 2 editable = false script = ExtResource("3_f5ibf") [node name="Teams" type="FoldableContainer" parent="."] layout_mode = 2 title = "teams" [node name="VBoxContainer" type="VBoxContainer" parent="Teams"] layout_mode = 2 [node name="AllowTeamSwitch" type="CheckButton" parent="Teams/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 text = "allow_team_switch" autowrap_mode = 2 [node name="Shuffle" type="Button" parent="Teams/VBoxContainer"] layout_mode = 2 text = "shuffle" [connection signal="pressed" from="StartButton" to="." method="_on_start_button_pressed"] [connection signal="value_changed" from="Time/VBoxContainer/RoundTime/RoundTimeBox" to="." method="_on_round_time_box_value_changed"] [connection signal="value_changed" from="Time/VBoxContainer/BombTime/BombTimeBox" to="." method="_on_bomb_time_box_value_changed"] [connection signal="value_changed" from="Time/VBoxContainer/BuyTime/BuyTimeBox" to="." method="_on_buy_time_box_value_changed"] [connection signal="value_changed" from="Round/VBoxContainer/RoundAmount/RoundBox" to="." method="_on_round_box_value_changed"] [connection signal="value_changed" from="Round/VBoxContainer/TeamSwitchAmount/TeamSwitchBox" to="." method="_on_team_switch_box_value_changed"] [connection signal="toggled" from="Gameplay/VBoxContainer/AllowMultipleAbilityButton" to="." method="_on_allow_multiple_ability_button_toggled"] [connection signal="toggled" from="Gameplay/VBoxContainer/InfiniteMoney" to="." method="_on_infinite_money_toggled"] [connection signal="update_ip" from="PortForward/PortForwardContainer/ForwardPortButton" to="PortForward/PortForwardContainer/PublicIP" method="on_update_ip"] [connection signal="toggled" from="Teams/VBoxContainer/AllowTeamSwitch" to="." method="_on_allow_team_switch_toggled"] [connection signal="pressed" from="Teams/VBoxContainer/Shuffle" to="." method="_on_shuffle_pressed"]