280 lines
8.2 KiB
Plaintext
280 lines
8.2 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://scripts/menus/settings_menu.gd" type="Script" id=2]
|
|
[ext_resource path="res://scenes/menus/BaseMenu.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://scenes/menus/SettingsPlayerMenu.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://scenes/menus/SettingsControlsMenu.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://assets/icons/checkmark.png" type="Texture" id=6]
|
|
[ext_resource path="res://assets/icons/save.png" type="Texture" id=7]
|
|
|
|
[node name="settings_menu" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 1.45612
|
|
margin_top = 1.45612
|
|
margin_right = 1.45605
|
|
margin_bottom = 1.45612
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="menu" parent="." instance=ExtResource( 3 )]
|
|
|
|
[node name="back" parent="menu" index="0"]
|
|
focus_neighbour_top = NodePath("../tabs/game")
|
|
focus_neighbour_right = NodePath("../HBoxContainer/apply")
|
|
|
|
[node name="tabs" type="TabContainer" parent="menu"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -464.5
|
|
margin_top = -223.5
|
|
margin_right = 459.5
|
|
margin_bottom = 177.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
focus_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
tab_align = 0
|
|
|
|
[node name="game" type="Tabs" parent="menu/tabs"]
|
|
editor/display_folded = true
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
focus_neighbour_right = NodePath("../controls")
|
|
focus_neighbour_bottom = NodePath("GridContainer/settings_player/VBoxContainer/name")
|
|
focus_mode = 2
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="menu/tabs/game"]
|
|
margin_left = 9.0
|
|
margin_top = 10.0
|
|
margin_right = 416.0
|
|
margin_bottom = 200.0
|
|
|
|
[node name="settings_player" parent="menu/tabs/game/GridContainer" instance=ExtResource( 4 )]
|
|
margin_left = 0.0
|
|
margin_top = 0.0
|
|
margin_right = 407.0
|
|
margin_bottom = 146.0
|
|
|
|
[node name="name_label" parent="menu/tabs/game/GridContainer/settings_player/VBoxContainer" index="0"]
|
|
margin_right = 407.0
|
|
margin_bottom = 27.0
|
|
|
|
[node name="name" parent="menu/tabs/game/GridContainer/settings_player/VBoxContainer" index="1"]
|
|
margin_top = 31.0
|
|
margin_right = 407.0
|
|
margin_bottom = 68.0
|
|
focus_neighbour_top = NodePath("../../../..")
|
|
focus_neighbour_bottom = NodePath("../color")
|
|
|
|
[node name="color_label" parent="menu/tabs/game/GridContainer/settings_player/VBoxContainer" index="2"]
|
|
margin_top = 72.0
|
|
margin_right = 407.0
|
|
margin_bottom = 99.0
|
|
|
|
[node name="color" parent="menu/tabs/game/GridContainer/settings_player/VBoxContainer" index="3"]
|
|
margin_top = 103.0
|
|
margin_right = 407.0
|
|
margin_bottom = 136.0
|
|
focus_neighbour_top = NodePath("../name")
|
|
focus_neighbour_bottom = NodePath("../../../bots")
|
|
|
|
[node name="bots" type="CheckButton" parent="menu/tabs/game/GridContainer"]
|
|
margin_top = 150.0
|
|
margin_right = 143.0
|
|
margin_bottom = 190.0
|
|
focus_neighbour_top = NodePath("../settings_player/VBoxContainer/color")
|
|
focus_neighbour_bottom = NodePath("../../../../HBoxContainer/apply")
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
text = "Bots"
|
|
|
|
[node name="controls" type="Tabs" parent="menu/tabs"]
|
|
editor/display_folded = true
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
focus_neighbour_left = NodePath("../game")
|
|
focus_neighbour_right = NodePath("../graphics")
|
|
focus_mode = 2
|
|
|
|
[node name="settings_controls" parent="menu/tabs/controls" instance=ExtResource( 5 )]
|
|
|
|
[node name="empty" parent="menu/tabs/controls/settings_controls/ScrollContainer/grid" index="0"]
|
|
margin_bottom = 27.0
|
|
|
|
[node name="keyboard_label" parent="menu/tabs/controls/settings_controls/ScrollContainer/grid" index="1"]
|
|
margin_bottom = 27.0
|
|
|
|
[node name="joypad_label" parent="menu/tabs/controls/settings_controls/ScrollContainer/grid" index="2"]
|
|
margin_bottom = 27.0
|
|
|
|
[node name="action_button" parent="menu/tabs/controls/settings_controls/key_dialog" index="3"]
|
|
margin_right = 302.0
|
|
margin_bottom = 110.0
|
|
|
|
[node name="graphics" type="Tabs" parent="menu/tabs"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
focus_neighbour_left = NodePath("../controls")
|
|
focus_neighbour_right = NodePath("../system")
|
|
focus_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="menu/tabs/graphics"]
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
|
|
[node name="resolution" type="OptionButton" parent="menu/tabs/graphics/VBoxContainer"]
|
|
margin_right = 248.0
|
|
margin_bottom = 33.0
|
|
|
|
[node name="fullscreen" type="CheckButton" parent="menu/tabs/graphics/VBoxContainer"]
|
|
margin_top = 37.0
|
|
margin_right = 248.0
|
|
margin_bottom = 77.0
|
|
pressed = true
|
|
text = "FULLSCREEN"
|
|
|
|
[node name="light" type="CheckButton" parent="menu/tabs/graphics/VBoxContainer"]
|
|
margin_top = 81.0
|
|
margin_right = 248.0
|
|
margin_bottom = 121.0
|
|
text = "LIGHT"
|
|
|
|
[node name="shadows" type="CheckButton" parent="menu/tabs/graphics/VBoxContainer"]
|
|
margin_top = 125.0
|
|
margin_right = 248.0
|
|
margin_bottom = 165.0
|
|
disabled = true
|
|
text = "SHADOWS"
|
|
|
|
[node name="system" type="Tabs" parent="menu/tabs"]
|
|
editor/display_folded = true
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
focus_neighbour_left = NodePath("../graphics")
|
|
focus_mode = 2
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="menu/tabs/system"]
|
|
margin_left = 12.0
|
|
margin_top = 8.0
|
|
margin_right = 907.0
|
|
margin_bottom = 124.0
|
|
columns = 2
|
|
|
|
[node name="locale_label" type="Label" parent="menu/tabs/system/GridContainer"]
|
|
margin_right = 88.0
|
|
margin_bottom = 14.0
|
|
text = "LOCALE"
|
|
valign = 1
|
|
|
|
[node name="locales" type="ItemList" parent="menu/tabs/system/GridContainer"]
|
|
margin_left = 92.0
|
|
margin_right = 895.0
|
|
margin_bottom = 14.0
|
|
size_flags_horizontal = 3
|
|
auto_height = true
|
|
|
|
[node name="server_addr_label" type="Label" parent="menu/tabs/system/GridContainer"]
|
|
margin_top = 23.0
|
|
margin_right = 88.0
|
|
margin_bottom = 37.0
|
|
text = "SERVER_ADDR"
|
|
valign = 1
|
|
|
|
[node name="server_addr" type="LineEdit" parent="menu/tabs/system/GridContainer"]
|
|
margin_left = 92.0
|
|
margin_top = 18.0
|
|
margin_right = 895.0
|
|
margin_bottom = 42.0
|
|
|
|
[node name="api_addr_label" type="Label" parent="menu/tabs/system/GridContainer"]
|
|
margin_top = 51.0
|
|
margin_right = 88.0
|
|
margin_bottom = 65.0
|
|
text = "API_ADDR"
|
|
valign = 1
|
|
|
|
[node name="api_addr" type="LineEdit" parent="menu/tabs/system/GridContainer"]
|
|
margin_left = 92.0
|
|
margin_top = 46.0
|
|
margin_right = 895.0
|
|
margin_bottom = 70.0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="menu"]
|
|
editor/display_folded = true
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -286.0
|
|
margin_top = -56.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
alignment = 2
|
|
|
|
[node name="apply" type="Button" parent="menu/HBoxContainer"]
|
|
margin_right = 150.0
|
|
margin_bottom = 56.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
focus_neighbour_left = NodePath("../../back")
|
|
focus_neighbour_top = NodePath("../../tabs/game")
|
|
focus_neighbour_right = NodePath("../save")
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 10
|
|
text = "APPLY"
|
|
icon = ExtResource( 6 )
|
|
flat = true
|
|
align = 0
|
|
|
|
[node name="save" type="Button" parent="menu/HBoxContainer"]
|
|
margin_left = 154.0
|
|
margin_right = 286.0
|
|
margin_bottom = 56.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
focus_neighbour_left = NodePath("../apply")
|
|
focus_neighbour_top = NodePath("../../tabs/game")
|
|
size_flags_horizontal = 10
|
|
size_flags_vertical = 10
|
|
text = "SAVE"
|
|
icon = ExtResource( 7 )
|
|
flat = true
|
|
align = 0
|
|
[connection signal="toggled" from="menu/tabs/graphics/VBoxContainer/light" to="." method="_on_light_toggled"]
|
|
[connection signal="item_selected" from="menu/tabs/system/GridContainer/locales" to="." method="_on_locales_item_selected"]
|
|
[connection signal="tree_exiting" from="menu/tabs/system/GridContainer/locales" to="." method="_on_locales_tree_exiting"]
|
|
[connection signal="pressed" from="menu/HBoxContainer/apply" to="." method="_on_apply_pressed"]
|
|
[connection signal="pressed" from="menu/HBoxContainer/save" to="." method="_on_save_pressed"]
|
|
|
|
[editable path="menu"]
|
|
|
|
[editable path="menu/tabs/game/GridContainer/settings_player"]
|
|
|
|
[editable path="menu/tabs/controls/settings_controls"]
|