diff options
Diffstat (limited to 'ui/servermenu/ServerUI.tscn')
| -rw-r--r-- | ui/servermenu/ServerUI.tscn | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/ui/servermenu/ServerUI.tscn b/ui/servermenu/ServerUI.tscn deleted file mode 100644 index f7ed009..0000000 --- a/ui/servermenu/ServerUI.tscn +++ /dev/null @@ -1,108 +0,0 @@ -[gd_scene load_steps=5 format=2] - -[ext_resource path="res://ui/servermenu/CmdPrompt.gd" type="Script" id=1] -[ext_resource path="res://ui/servermenu/Console.gd" type="Script" id=2] -[ext_resource path="res://ui/servermenu/ServerUI.gd" type="Script" id=4] - -[sub_resource type="StyleBoxFlat" id=1] -bg_color = Color( 0.0705882, 0.0705882, 0.0705882, 1 ) - -[node name="ServerUI" type="Node2D"] -script = ExtResource( 4 ) - -[node name="StartButton" type="Button" parent="." groups=["init_fields"]] -margin_left = 24.0 -margin_top = 56.0 -margin_right = 109.0 -margin_bottom = 76.0 -text = "Start Server" - -[node name="BackButton" type="Button" parent="." groups=["init_fields"]] -margin_left = 24.0 -margin_top = 24.0 -margin_right = 112.0 -margin_bottom = 44.0 -text = "Back" - -[node name="StopButton" type="Button" parent="."] -visible = false -margin_left = 24.0 -margin_top = 88.0 -margin_right = 108.0 -margin_bottom = 108.0 -text = "Stop Server" - -[node name="MapPath" type="LineEdit" parent="." groups=["init_fields"]] -margin_left = 120.0 -margin_top = 24.0 -margin_right = 337.0 -margin_bottom = 48.0 -text = "res://maps/Main.tscn" - -[node name="Console" type="ScrollContainer" parent="."] -margin_left = 588.0 -margin_top = 19.0 -margin_right = 1004.0 -margin_bottom = 383.0 -custom_styles/bg = SubResource( 1 ) -scroll_horizontal_enabled = false -script = ExtResource( 2 ) - -[node name="ConsoleLines" type="VBoxContainer" parent="Console"] -margin_right = 406.0 -margin_bottom = 14.0 - -[node name="Label" type="Label" parent="Console/ConsoleLines"] -margin_right = 406.0 -margin_bottom = 14.0 -text = "----------------------------------CONSOLE-----------------------------------" - -[node name="CmdPrompt" type="LineEdit" parent="."] -margin_left = 588.0 -margin_top = 402.0 -margin_right = 1004.0 -margin_bottom = 426.0 -script = ExtResource( 1 ) -console_path = NodePath("../Console") - -[node name="PlayerCount" type="SpinBox" parent="." groups=["init_fields"]] -margin_left = 344.0 -margin_top = 24.0 -margin_right = 418.0 -margin_bottom = 48.0 -min_value = 1.0 -value = 4.0 - -[node name="Port" type="SpinBox" parent="." groups=["init_fields"]] -margin_left = 264.0 -margin_top = 56.0 -margin_right = 338.0 -margin_bottom = 80.0 -max_value = 65536.0 -value = 25565.0 - -[node name="IP" type="LineEdit" parent="." groups=["init_fields"]] -margin_left = 120.0 -margin_top = 56.0 -margin_right = 250.0 -margin_bottom = 80.0 -text = "127.0.0.1" - -[node name="MOTD" type="TextEdit" parent="." groups=["init_fields"]] -margin_left = 120.0 -margin_top = 120.0 -margin_right = 337.0 -margin_bottom = 160.0 -text = "MOTD" - -[node name="ServerName" type="LineEdit" parent="." groups=["init_fields"]] -margin_left = 120.0 -margin_top = 88.0 -margin_right = 337.0 -margin_bottom = 112.0 -text = "Server Name" - -[connection signal="pressed" from="StartButton" to="." method="start_server"] -[connection signal="pressed" from="BackButton" to="." method="back_to_main"] -[connection signal="pressed" from="StopButton" to="." method="stop_server"] -[connection signal="text_entered" from="CmdPrompt" to="CmdPrompt" method="enter_cmd"] |
