]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/Settings/settings_general.tscn
264427b73eea22ef996a095356b94b543731be29
[wolf-seeking-sheep.git] / addons / dialogic / Editor / Settings / settings_general.tscn
1 [gd_scene load_steps=6 format=3 uid="uid://b873ho41sklv8"]
2
3 [ext_resource type="Script" path="res://addons/dialogic/Editor/Settings/settings_general.gd" id="2"]
4 [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_kqhx5"]
5 [ext_resource type="PackedScene" uid="uid://7mvxuaulctcq" path="res://addons/dialogic/Editor/Events/Fields/field_file.tscn" id="3_i7rug"]
6
7 [sub_resource type="Image" id="Image_e1gle"]
8 data = {
9 "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
10 "format": "RGBA8",
11 "height": 16,
12 "mipmaps": false,
13 "width": 16
14 }
15
16 [sub_resource type="ImageTexture" id="ImageTexture_4wgbv"]
17 image = SubResource("Image_e1gle")
18
19 [node name="General" type="VBoxContainer"]
20 anchors_preset = 15
21 anchor_right = 1.0
22 anchor_bottom = 1.0
23 grow_horizontal = 2
24 grow_vertical = 2
25 script = ExtResource("2")
26
27 [node name="PaletteTitle" type="HBoxContainer" parent="."]
28 layout_mode = 2
29
30 [node name="SectionPaletteTitle" type="Label" parent="PaletteTitle"]
31 layout_mode = 2
32 theme_type_variation = &"DialogicSettingsSection"
33 text = "Color Palette"
34
35 [node name="HintTooltip" parent="PaletteTitle" instance=ExtResource("2_kqhx5")]
36 layout_mode = 2
37 tooltip_text = "These colors are used for the events."
38 texture = SubResource("ImageTexture_4wgbv")
39 hint_text = "These colors are used for the events."
40
41 [node name="ResetColorsButton" type="Button" parent="PaletteTitle"]
42 unique_name_in_owner = true
43 layout_mode = 2
44 size_flags_horizontal = 0
45 tooltip_text = "Reset Colors to default"
46 icon = SubResource("ImageTexture_4wgbv")
47 flat = true
48
49 [node name="ScrollContainer" type="ScrollContainer" parent="."]
50 layout_mode = 2
51 horizontal_scroll_mode = 3
52 vertical_scroll_mode = 0
53
54 [node name="Colors" type="HBoxContainer" parent="ScrollContainer"]
55 unique_name_in_owner = true
56 layout_mode = 2
57
58 [node name="HSeparator" type="HSeparator" parent="."]
59 layout_mode = 2
60
61 [node name="HBoxContainer2" type="HBoxContainer" parent="."]
62 layout_mode = 2
63
64 [node name="SectionBehaviourTitle" type="Label" parent="HBoxContainer2"]
65 layout_mode = 2
66 theme_type_variation = &"DialogicSettingsSection"
67 text = "Layout Node Behaviour"
68
69 [node name="HintTooltip" parent="HBoxContainer2" instance=ExtResource("2_kqhx5")]
70 layout_mode = 2
71 tooltip_text = "The layout scene configured in the Layout editor is automatically 
72 instanced when calling Dialogic.start(). Depending on your game, 
73 you might want it to be deleted after the dialogue, be hidden 
74 (as reinstancing often is wasting resources) or kept visible. "
75 texture = SubResource("ImageTexture_4wgbv")
76 hint_text = "The layout scene configured in the Layout editor is automatically 
77 instanced when calling Dialogic.start(). Depending on your game, 
78 you might want it to be deleted after the dialogue, be hidden 
79 (as reinstancing often is wasting resources) or kept visible. "
80
81 [node name="HBoxContainer3" type="HBoxContainer" parent="."]
82 layout_mode = 2
83
84 [node name="Label" type="Label" parent="HBoxContainer3"]
85 layout_mode = 2
86 text = "On timeline end"
87
88 [node name="LayoutNodeEndBehaviour" type="OptionButton" parent="HBoxContainer3"]
89 unique_name_in_owner = true
90 layout_mode = 2
91 item_count = 3
92 selected = 0
93 fit_to_longest_item = false
94 popup/item_0/text = "Delete Layout Node"
95 popup/item_0/id = 0
96 popup/item_1/text = "Hide Layout Node"
97 popup/item_1/id = 1
98 popup/item_2/text = "Keep Layout Node"
99 popup/item_2/id = 2
100
101 [node name="HSeparator4" type="HSeparator" parent="."]
102 layout_mode = 2
103
104 [node name="HBoxContainer6" type="HBoxContainer" parent="."]
105 layout_mode = 2
106
107 [node name="HBoxContainer4" type="VBoxContainer" parent="HBoxContainer6"]
108 layout_mode = 2
109 size_flags_horizontal = 3
110
111 [node name="HBoxContainer5" type="HBoxContainer" parent="HBoxContainer6/HBoxContainer4"]
112 layout_mode = 2
113
114 [node name="SectionExtensionsTitle" type="Label" parent="HBoxContainer6/HBoxContainer4/HBoxContainer5"]
115 layout_mode = 2
116 theme_type_variation = &"DialogicSettingsSection"
117 text = "Extensions"
118
119 [node name="HintTooltip" parent="HBoxContainer6/HBoxContainer4/HBoxContainer5" instance=ExtResource("2_kqhx5")]
120 layout_mode = 2
121 tooltip_text = "Configure where dialogic looks for custom modules.
122
123 You will have to restart the project to see the change take action."
124 texture = SubResource("ImageTexture_4wgbv")
125 hint_text = "Configure where dialogic looks for custom modules.
126
127 You will have to restart the project to see the change take action."
128
129 [node name="Reload" type="Button" parent="HBoxContainer6/HBoxContainer4/HBoxContainer5"]
130 layout_mode = 2
131 text = "Reload"
132 flat = true
133
134 [node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer6/HBoxContainer4"]
135 layout_mode = 2
136
137 [node name="Label" type="Label" parent="HBoxContainer6/HBoxContainer4/HBoxContainer"]
138 layout_mode = 2
139 text = "Extensions folder"
140
141 [node name="ExtensionsFolderPicker" parent="HBoxContainer6/HBoxContainer4/HBoxContainer" instance=ExtResource("3_i7rug")]
142 unique_name_in_owner = true
143 layout_mode = 2
144 size_flags_horizontal = 3
145 placeholder = "res://addons/dialogic_additions/Events"
146 file_mode = 2
147 resource_icon = SubResource("ImageTexture_4wgbv")
148
149 [node name="VSeparator" type="VSeparator" parent="HBoxContainer6"]
150 layout_mode = 2
151
152 [node name="ExtensionsPanel" type="PanelContainer" parent="HBoxContainer6"]
153 layout_mode = 2
154 size_flags_horizontal = 3
155 theme_type_variation = &"DialogicPanelA"
156
157 [node name="VBox" type="VBoxContainer" parent="HBoxContainer6/ExtensionsPanel"]
158 layout_mode = 2
159 size_flags_horizontal = 3
160
161 [node name="HBoxContainer6" type="HBoxContainer" parent="HBoxContainer6/ExtensionsPanel/VBox"]
162 layout_mode = 2
163
164 [node name="Label" type="Label" parent="HBoxContainer6/ExtensionsPanel/VBox/HBoxContainer6"]
165 layout_mode = 2
166 theme_type_variation = &"DialogicSubTitle"
167 text = "Extension Creator "
168
169 [node name="HintTooltip" parent="HBoxContainer6/ExtensionsPanel/VBox/HBoxContainer6" instance=ExtResource("2_kqhx5")]
170 layout_mode = 2
171 tooltip_text = "Use the Exension Creator to quickly setup custom modules!"
172 texture = SubResource("ImageTexture_4wgbv")
173 hint_text = "Use the Exension Creator to quickly setup custom modules!"
174
175 [node name="CreateExtensionButton" type="Button" parent="HBoxContainer6/ExtensionsPanel/VBox"]
176 unique_name_in_owner = true
177 layout_mode = 2
178 text = "Create New Extension"
179
180 [node name="ExtensionCreator" type="VBoxContainer" parent="HBoxContainer6/ExtensionsPanel/VBox"]
181 unique_name_in_owner = true
182 visible = false
183 layout_mode = 2
184
185 [node name="ExtensionCreatorOptions" type="GridContainer" parent="HBoxContainer6/ExtensionsPanel/VBox/ExtensionCreator"]
186 layout_mode = 2
187 columns = 2
188
189 [node name="NameLabel" type="Label" parent="HBoxContainer6/ExtensionsPanel/VBox/ExtensionCreator/ExtensionCreatorOptions"]
190 layout_mode = 2
191 text = "Name:"
192
193 [node name="NameEdit" type="LineEdit" parent="HBoxContainer6/ExtensionsPanel/VBox/ExtensionCreator/ExtensionCreatorOptions"]
194 unique_name_in_owner = true
195 layout_mode = 2
196 size_flags_horizontal = 3
197 placeholder_text = "e.g. \"Print\", \"Item\", \"Door\", \"Quest\""
198
199 [node name="ModeLabel" type="Label" parent="HBoxContainer6/ExtensionsPanel/VBox/ExtensionCreator/ExtensionCreatorOptions"]
200 layout_mode = 2
201 text = "Setup mode:"
202
203 [node name="ExtensionMode" type="OptionButton" parent="HBoxContainer6/ExtensionsPanel/VBox/ExtensionCreator/ExtensionCreatorOptions"]
204 unique_name_in_owner = true
205 layout_mode = 2
206 item_count = 4
207 selected = 0
208 popup/item_0/text = "Event only"
209 popup/item_0/id = 0
210 popup/item_1/text = "Event+Subsystem"
211 popup/item_1/id = 1
212 popup/item_2/text = "Subsystem only"
213 popup/item_2/id = 2
214 popup/item_3/text = "Complex"
215 popup/item_3/id = 3
216
217 [node name="SubmitExtensionButton" type="Button" parent="HBoxContainer6/ExtensionsPanel/VBox/ExtensionCreator"]
218 unique_name_in_owner = true
219 layout_mode = 2
220 text = "Create"
221
222 [node name="HSeparator2" type="HSeparator" parent="."]
223 layout_mode = 2
224
225 [node name="HBoxContainer7" type="HBoxContainer" parent="."]
226 layout_mode = 2
227
228 [node name="TimerTitle" type="Label" parent="HBoxContainer7"]
229 layout_mode = 2
230 theme_type_variation = &"DialogicSettingsSection"
231 text = "Timer processing"
232
233 [node name="HintTooltip" parent="HBoxContainer7" instance=ExtResource("2_kqhx5")]
234 layout_mode = 2
235 tooltip_text = "Change whether dialogics timers process in physics_process (frame-rate independent) or process."
236 texture = SubResource("ImageTexture_4wgbv")
237 hint_text = "Change whether dialogics timers process in physics_process (frame-rate independent) or process."
238
239 [node name="HBoxContainer4" type="HBoxContainer" parent="."]
240 layout_mode = 2
241
242 [node name="Label" type="Label" parent="HBoxContainer4"]
243 layout_mode = 2
244 text = "Process timers in physics_process"
245
246 [node name="PhysicsTimerButton" type="CheckBox" parent="HBoxContainer4"]
247 unique_name_in_owner = true
248 layout_mode = 2
249
250 [node name="HSeparator5" type="HSeparator" parent="."]
251 layout_mode = 2
252
253 [node name="HBoxContainer" type="HBoxContainer" parent="."]
254 layout_mode = 2
255
256 [node name="SectionSections" type="Label" parent="HBoxContainer"]
257 layout_mode = 2
258 theme_type_variation = &"DialogicSettingsSection"
259 text = "Section Order"
260
261 [node name="HintTooltip" parent="HBoxContainer" instance=ExtResource("2_kqhx5")]
262 layout_mode = 2
263 tooltip_text = "You can change the order of the event sections here. "
264 texture = SubResource("ImageTexture_4wgbv")
265 hint_text = "You can change the order of the event sections here. "
266
267 [node name="SectionList" type="Tree" parent="."]
268 unique_name_in_owner = true
269 custom_minimum_size = Vector2(150, 150)
270 layout_mode = 2
271 size_flags_horizontal = 3
272 theme_override_constants/button_margin = 0
273 allow_reselect = true
274 allow_rmb_select = true
275 hide_folding = true
276 hide_root = true
277 drop_mode_flags = 1
278
279 [connection signal="item_selected" from="HBoxContainer3/LayoutNodeEndBehaviour" to="." method="_on_layout_node_end_behaviour_item_selected"]
280 [connection signal="pressed" from="HBoxContainer6/HBoxContainer4/HBoxContainer5/Reload" to="." method="_on_reload_pressed"]
281 [connection signal="pressed" from="HBoxContainer6/ExtensionsPanel/VBox/CreateExtensionButton" to="." method="_on_create_extension_button_pressed"]
282 [connection signal="pressed" from="HBoxContainer6/ExtensionsPanel/VBox/ExtensionCreator/SubmitExtensionButton" to="." method="_on_submit_extension_button_pressed"]
283 [connection signal="button_clicked" from="SectionList" to="." method="_on_section_list_button_clicked"]