]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Modules/Character/settings_portraits.tscn
5689200cdd6e9cf91407e429bcf479a682d20941
[wolf-seeking-sheep.git] / addons / dialogic / Modules / Character / settings_portraits.tscn
1 [gd_scene load_steps=5 format=3 uid="uid://cp463rpri5j8a"]
2
3 [ext_resource type="Script" path="res://addons/dialogic/Modules/Character/settings_portraits.gd" id="2"]
4 [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_dce78"]
5 [ext_resource type="PackedScene" uid="uid://dpwhshre1n4t6" path="res://addons/dialogic/Editor/Events/Fields/field_options_dynamic.tscn" id="3"]
6 [ext_resource type="PackedScene" uid="uid://7mvxuaulctcq" path="res://addons/dialogic/Editor/Events/Fields/field_file.tscn" id="3_m06d8"]
7
8 [node name="Portraits" type="VBoxContainer"]
9 anchors_preset = 15
10 anchor_right = 1.0
11 anchor_bottom = 1.0
12 script = ExtResource("2")
13
14 [node name="PositionsTitle" type="HBoxContainer" parent="."]
15 layout_mode = 2
16 size_flags_horizontal = 3
17 size_flags_stretch_ratio = 0.5
18
19 [node name="Title2" type="Label" parent="PositionsTitle"]
20 layout_mode = 2
21 theme_type_variation = &"DialogicSettingsSection"
22 text = "Position Suggestions
23 "
24
25 [node name="HintTooltip" parent="PositionsTitle" instance=ExtResource("2_dce78")]
26 layout_mode = 2
27 tooltip_text = "You can change the position names that will be suggested in the timeline editor here."
28 texture = null
29 hint_text = "You can change the position names that will be suggested in the timeline editor here."
30
31 [node name="PositionSuggestions" type="LineEdit" parent="."]
32 unique_name_in_owner = true
33 layout_mode = 2
34
35 [node name="DefaultSceneTitle" type="HBoxContainer" parent="."]
36 layout_mode = 2
37 size_flags_horizontal = 3
38 size_flags_stretch_ratio = 0.5
39
40 [node name="Title2" type="Label" parent="DefaultSceneTitle"]
41 layout_mode = 2
42 theme_type_variation = &"DialogicSettingsSection"
43 text = "Default Portrait Scene
44 "
45
46 [node name="HintTooltip" parent="DefaultSceneTitle" instance=ExtResource("2_dce78")]
47 layout_mode = 2
48 tooltip_text = "If this is set, this scene will be what is used by default for any portrait that has no scene specified"
49 texture = null
50 hint_text = "If this is set, this scene will be what is used by default for any portrait that has no scene specified"
51
52 [node name="DefaultScene" type="HBoxContainer" parent="."]
53 layout_mode = 2
54
55 [node name="Label" type="Label" parent="DefaultScene"]
56 layout_mode = 2
57 text = "Scene"
58
59 [node name="CustomPortraitScene" parent="DefaultScene" instance=ExtResource("3_m06d8")]
60 unique_name_in_owner = true
61 layout_mode = 2
62 file_filter = "*.tscn, *.scn; PortraitScene"
63 placeholder = "Default Scene"
64
65 [node name="Animations2" type="HBoxContainer" parent="."]
66 layout_mode = 2
67 size_flags_horizontal = 3
68 size_flags_stretch_ratio = 0.5
69
70 [node name="Title2" type="Label" parent="Animations2"]
71 layout_mode = 2
72 theme_type_variation = &"DialogicSettingsSection"
73 text = "Default Animations
74 "
75
76 [node name="HintTooltip" parent="Animations2" instance=ExtResource("2_dce78")]
77 layout_mode = 2
78 tooltip_text = "These settings are used for Leave and Join events if no animation is selected.
79
80 The Cross-Fade will play if the portrait of a character changes and 
81 no animation is set."
82 texture = null
83 hint_text = "These settings are used for Leave and Join events if no animation is selected.
84
85 The Cross-Fade will play if the portrait of a character changes and 
86 no animation is set."
87
88 [node name="GridContainer" type="GridContainer" parent="."]
89 layout_mode = 2
90 columns = 2
91
92 [node name="DefaultJoinLabel" type="Label" parent="GridContainer"]
93 layout_mode = 2
94 text = "Join"
95
96 [node name="DefaultIn" type="HBoxContainer" parent="GridContainer"]
97 layout_mode = 2
98
99 [node name="JoinDefault" parent="GridContainer/DefaultIn" instance=ExtResource("3")]
100 unique_name_in_owner = true
101 layout_mode = 2
102 mode = 1
103
104 [node name="JoinDefaultLength" type="SpinBox" parent="GridContainer/DefaultIn"]
105 unique_name_in_owner = true
106 layout_mode = 2
107 step = 0.1
108
109 [node name="JoinDefaultWait" type="CheckButton" parent="GridContainer/DefaultIn"]
110 unique_name_in_owner = true
111 layout_mode = 2
112 text = "Wait:"
113
114 [node name="DefaultOutLabel" type="Label" parent="GridContainer"]
115 layout_mode = 2
116 text = "Leave"
117
118 [node name="DefaultOut" type="HBoxContainer" parent="GridContainer"]
119 layout_mode = 2
120
121 [node name="LeaveDefault" parent="GridContainer/DefaultOut" instance=ExtResource("3")]
122 unique_name_in_owner = true
123 layout_mode = 2
124 mode = 1
125
126 [node name="LeaveDefaultLength" type="SpinBox" parent="GridContainer/DefaultOut"]
127 unique_name_in_owner = true
128 layout_mode = 2
129 step = 0.1
130
131 [node name="LeaveDefaultWait" type="CheckButton" parent="GridContainer/DefaultOut"]
132 unique_name_in_owner = true
133 layout_mode = 2
134 text = "Wait:"
135
136 [node name="CrossFadeLabel" type="Label" parent="GridContainer"]
137 layout_mode = 2
138 text = "Cross-Fade"
139
140 [node name="DefaultCrossFade" type="HBoxContainer" parent="GridContainer"]
141 layout_mode = 2
142
143 [node name="CrossFadeDefault" parent="GridContainer/DefaultCrossFade" instance=ExtResource("3")]
144 unique_name_in_owner = true
145 layout_mode = 2
146 mode = 1
147
148 [node name="CrossFadeDefaultLength" type="SpinBox" parent="GridContainer/DefaultCrossFade"]
149 unique_name_in_owner = true
150 layout_mode = 2
151 step = 0.1
152
153 [connection signal="value_changed" from="GridContainer/DefaultIn/JoinDefault" to="." method="_on_JoinDefault_value_changed"]
154 [connection signal="value_changed" from="GridContainer/DefaultIn/JoinDefaultLength" to="." method="_on_JoinDefaultLength_value_changed"]
155 [connection signal="toggled" from="GridContainer/DefaultIn/JoinDefaultWait" to="." method="_on_JoinDefaultWait_toggled"]
156 [connection signal="value_changed" from="GridContainer/DefaultOut/LeaveDefault" to="." method="_on_LeaveDefault_value_changed"]
157 [connection signal="value_changed" from="GridContainer/DefaultOut/LeaveDefaultLength" to="." method="_on_LeaveDefaultLength_value_changed"]
158 [connection signal="toggled" from="GridContainer/DefaultOut/LeaveDefaultWait" to="." method="_on_LeaveDefaultWait_toggled"]
159 [connection signal="value_changed" from="GridContainer/DefaultCrossFade/CrossFadeDefault" to="." method="_on_LeaveDefault_value_changed"]
160 [connection signal="value_changed" from="GridContainer/DefaultCrossFade/CrossFadeDefaultLength" to="." method="_on_LeaveDefaultLength_value_changed"]