2022-04-15 07:53:44 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://cl8xk8w3jmta0"]
|
2022-02-12 22:15:01 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scenes/controls/controls.gd" id="1_2c8s6"]
|
2022-02-25 00:28:14 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bhidap7eniou8" path="res://scenes/controls/select_type_control.tscn" id="2_ps0mu"]
|
2022-04-15 07:53:44 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cvmel2sx7qfvy" path="res://scenes/controls/option_define_input.tscn" id="3_dxrwd"]
|
2022-02-12 22:15:01 +00:00
|
|
|
|
|
|
|
[node name="Control" type="Control"]
|
|
|
|
visible = false
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
script = ExtResource( "1_2c8s6" )
|
|
|
|
|
|
|
|
[node name="Window" type="Window" parent="."]
|
2022-02-24 22:08:03 +00:00
|
|
|
title = "EDIT_CONTROL/TITLE"
|
|
|
|
position = Vector2i(25, 70)
|
|
|
|
size = Vector2i(800, 500)
|
2022-02-12 22:15:01 +00:00
|
|
|
visible = false
|
|
|
|
content_scale_mode = 1
|
|
|
|
content_scale_aspect = 4
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Tab" type="TabContainer" parent="Window"]
|
2022-02-24 22:08:03 +00:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2022-04-15 07:53:44 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
metadata/_edit_use_custom_anchors = false
|
|
|
|
|
|
|
|
[node name="CONTROL" type="VBoxContainer" parent="Window/Tab"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_top = 31.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
2022-02-12 22:15:01 +00:00
|
|
|
size_flags_horizontal = 6
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Menu" type="HBoxContainer" parent="Window/Tab/CONTROL"]
|
2022-02-24 22:08:03 +00:00
|
|
|
offset_right = 1024.0
|
2022-02-12 22:15:01 +00:00
|
|
|
offset_bottom = 31.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="ShowMethod" type="OptionButton" parent="Window/Tab/CONTROL/Menu"]
|
2022-03-06 17:15:34 +00:00
|
|
|
offset_right = 43.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
item_count = 3
|
|
|
|
selected = 0
|
|
|
|
popup/item_0/text = "CONTROL_VIEW_BY_GROUP"
|
|
|
|
popup/item_0/id = 0
|
|
|
|
popup/item_1/text = "CONTROL_VIEW_BY_INPUT"
|
|
|
|
popup/item_1/id = 1
|
|
|
|
popup/item_2/text = "CONTROL_VIEW_BY_INPUT_SORTED"
|
|
|
|
popup/item_2/id = 2
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="SortByInput" type="CheckBox" parent="Window/Tab/CONTROL/Menu"]
|
2022-03-06 17:15:34 +00:00
|
|
|
visible = false
|
2022-02-24 22:08:03 +00:00
|
|
|
offset_right = 510.0
|
2022-02-12 22:15:01 +00:00
|
|
|
offset_bottom = 31.0
|
|
|
|
size_flags_horizontal = 7
|
2022-02-24 22:08:03 +00:00
|
|
|
text = "EDIT_CONTROL/SORT_BY_INPUT"
|
2022-02-12 22:15:01 +00:00
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Reload" type="Button" parent="Window/Tab/CONTROL/Menu"]
|
2022-02-24 22:08:03 +00:00
|
|
|
offset_left = 514.0
|
|
|
|
offset_right = 1024.0
|
2022-02-12 22:15:01 +00:00
|
|
|
offset_bottom = 31.0
|
|
|
|
size_flags_horizontal = 7
|
2022-02-24 22:08:03 +00:00
|
|
|
text = "EDIT_CONTROL/RELOAD_SYSTEM_CONFIG"
|
2022-02-12 22:15:01 +00:00
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Input" type="ScrollContainer" parent="Window/Tab/CONTROL"]
|
2022-02-12 22:15:01 +00:00
|
|
|
offset_top = 35.0
|
2022-02-24 22:08:03 +00:00
|
|
|
offset_right = 1024.0
|
|
|
|
offset_bottom = 565.0
|
2022-02-12 22:15:01 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Control" type="VBoxContainer" parent="Window/Tab/CONTROL/Input"]
|
2022-02-24 22:08:03 +00:00
|
|
|
offset_right = 1024.0
|
|
|
|
offset_bottom = 530.0
|
2022-02-12 22:15:01 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Tree" type="Tree" parent="Window/Tab/CONTROL"]
|
2022-03-06 17:15:34 +00:00
|
|
|
visible = false
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="Quit" type="Button" parent="Window/Tab/CONTROL"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_left = -85.5
|
|
|
|
offset_top = -31.0
|
|
|
|
offset_right = 85.5
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 0
|
|
|
|
size_flags_horizontal = 4
|
2022-02-24 22:08:03 +00:00
|
|
|
size_flags_vertical = 8
|
|
|
|
text = "EDIT_CONTROL/QUIT"
|
2022-04-15 07:53:44 +00:00
|
|
|
metadata/_edit_use_custom_anchors = false
|
|
|
|
|
|
|
|
[node name="JOYPAD" type="VBoxContainer" parent="Window/Tab"]
|
|
|
|
visible = false
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
|
|
|
|
[node name="MOUSE" type="VBoxContainer" parent="Window/Tab"]
|
|
|
|
visible = false
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
|
|
|
|
[node name="CameraPlayer" type="HBoxContainer" parent="Window/Tab/MOUSE"]
|
|
|
|
offset_right = 1344.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Window/Tab/MOUSE/CameraPlayer"]
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 23.0
|
|
|
|
text = "INPUT_VIEW_CAMERA_MOVE_PLAYER_FOLLOW"
|
|
|
|
|
|
|
|
[node name="SelectButton" type="Button" parent="Window/Tab/MOUSE/CameraPlayer"]
|
|
|
|
offset_right = 8.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "NOBUTTON"
|
|
|
|
|
|
|
|
[node name="ReverseHorizontal" type="CheckBox" parent="Window/Tab/MOUSE/CameraPlayer"]
|
|
|
|
offset_right = 24.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "EDIT_CONTROL/MOVE_CAMERA_REVERSE_HORIZONTAL"
|
|
|
|
|
|
|
|
[node name="ReverseVertical" type="CheckBox" parent="Window/Tab/MOUSE/CameraPlayer"]
|
|
|
|
offset_right = 24.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "EDIT_CONTROL/MOVE_CAMERA_REVERSE_VERTICAL"
|
|
|
|
|
|
|
|
[node name="CameraOnly" type="HBoxContainer" parent="Window/Tab/MOUSE"]
|
|
|
|
offset_right = 1257.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Window/Tab/MOUSE/CameraOnly"]
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 23.0
|
|
|
|
text = "INPUT_VIEW_CAMERA_MOVE_ONLY"
|
|
|
|
|
|
|
|
[node name="SelectButton" type="Button" parent="Window/Tab/MOUSE/CameraOnly"]
|
|
|
|
offset_right = 8.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "NOBUTTON"
|
|
|
|
|
|
|
|
[node name="ReverseHorizontal" type="CheckBox" parent="Window/Tab/MOUSE/CameraOnly"]
|
|
|
|
offset_right = 24.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "EDIT_CONTROL/MOVE_CAMERA_REVERSE_HORIZONTAL"
|
|
|
|
|
|
|
|
[node name="ReverseVertical" type="CheckBox" parent="Window/Tab/MOUSE/CameraOnly"]
|
|
|
|
offset_right = 24.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "EDIT_CONTROL/MOVE_CAMERA_REVERSE_VERTICAL"
|
|
|
|
|
|
|
|
[node name="CameraPlayerWalk" type="HBoxContainer" parent="Window/Tab/MOUSE"]
|
|
|
|
offset_right = 1270.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Window/Tab/MOUSE/CameraPlayerWalk"]
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 23.0
|
|
|
|
text = "INPUT_VIEW_CAMERA_PLAYER_WALK"
|
|
|
|
|
|
|
|
[node name="SelectButton" type="Button" parent="Window/Tab/MOUSE/CameraPlayerWalk"]
|
|
|
|
offset_right = 8.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "NOBUTTON"
|
|
|
|
|
|
|
|
[node name="ReverseHorizontal" type="CheckBox" parent="Window/Tab/MOUSE/CameraPlayerWalk"]
|
|
|
|
offset_right = 24.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "EDIT_CONTROL/MOVE_CAMERA_REVERSE_HORIZONTAL"
|
|
|
|
|
|
|
|
[node name="ReverseVertical" type="CheckBox" parent="Window/Tab/MOUSE/CameraPlayerWalk"]
|
|
|
|
offset_right = 24.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "EDIT_CONTROL/MOVE_CAMERA_REVERSE_VERTICAL"
|
|
|
|
|
|
|
|
[node name="Tree" type="Tree" parent="Window/Tab/MOUSE"]
|
|
|
|
offset_bottom = 40.0
|
|
|
|
size_flags_vertical = 3
|
|
|
|
column_titles_visible = true
|
|
|
|
select_mode = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Window/Tab/MOUSE/Tree"]
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 23.0
|
|
|
|
text = "INPUT_VIEW_CAMERA_MOVE_PLAYER_FOLLOW"
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="Window/Tab/MOUSE/Tree/Label"]
|
|
|
|
offset_right = 8.0
|
|
|
|
offset_bottom = 31.0
|
|
|
|
text = "Example"
|
2022-02-12 22:15:01 +00:00
|
|
|
|
2022-02-25 00:28:14 +00:00
|
|
|
[node name="SelectType" parent="." instance=ExtResource( "2_ps0mu" )]
|
|
|
|
|
2022-04-15 07:53:44 +00:00
|
|
|
[node name="DefineInput" parent="." instance=ExtResource( "3_dxrwd" )]
|
|
|
|
|
2022-02-12 22:15:01 +00:00
|
|
|
[connection signal="close_requested" from="Window" to="." method="_on_quit_pressed"]
|
2022-04-15 07:53:44 +00:00
|
|
|
[connection signal="item_selected" from="Window/Tab/CONTROL/Menu/ShowMethod" to="." method="_on_option_button_item_selected"]
|
|
|
|
[connection signal="pressed" from="Window/Tab/CONTROL/Menu/SortByInput" to="." method="_on_sort_by_input_pressed"]
|
|
|
|
[connection signal="pressed" from="Window/Tab/CONTROL/Menu/Reload" to="." method="reload_control_system"]
|
|
|
|
[connection signal="button_pressed" from="Window/Tab/CONTROL/Tree" to="." method="_on_tree_button_pressed"]
|
|
|
|
[connection signal="pressed" from="Window/Tab/CONTROL/Quit" to="." method="_on_quit_pressed"]
|
|
|
|
[connection signal="pressed" from="Window/Tab/MOUSE/CameraPlayer/SelectButton" to="." method="_on_select_button_pressed"]
|
|
|
|
[connection signal="pressed" from="Window/Tab/MOUSE/CameraOnly/SelectButton" to="." method="_on_camear_only_button_pressed"]
|
|
|
|
[connection signal="pressed" from="Window/Tab/MOUSE/CameraPlayerWalk/SelectButton" to="." method="_on_camera_player_walk_button_pressed"]
|