1 [gd_scene load_steps=5 format=3 uid="uid://cp463rpri5j8a"]
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"]
8 [node name="Portraits" type="VBoxContainer"]
12 script = ExtResource("2")
14 [node name="PositionsTitle" type="HBoxContainer" parent="."]
16 size_flags_horizontal = 3
17 size_flags_stretch_ratio = 0.5
19 [node name="Title2" type="Label" parent="PositionsTitle"]
21 theme_type_variation = &"DialogicSettingsSection"
22 text = "Position Suggestions
25 [node name="HintTooltip" parent="PositionsTitle" instance=ExtResource("2_dce78")]
27 tooltip_text = "You can change the position names that will be suggested in the timeline editor here."
29 hint_text = "You can change the position names that will be suggested in the timeline editor here."
31 [node name="PositionSuggestions" type="LineEdit" parent="."]
32 unique_name_in_owner = true
35 [node name="DefaultSceneTitle" type="HBoxContainer" parent="."]
37 size_flags_horizontal = 3
38 size_flags_stretch_ratio = 0.5
40 [node name="Title2" type="Label" parent="DefaultSceneTitle"]
42 theme_type_variation = &"DialogicSettingsSection"
43 text = "Default Portrait Scene
46 [node name="HintTooltip" parent="DefaultSceneTitle" instance=ExtResource("2_dce78")]
48 tooltip_text = "If this is set, this scene will be what is used by default for any portrait that has no scene specified"
50 hint_text = "If this is set, this scene will be what is used by default for any portrait that has no scene specified"
52 [node name="DefaultScene" type="HBoxContainer" parent="."]
55 [node name="Label" type="Label" parent="DefaultScene"]
59 [node name="CustomPortraitScene" parent="DefaultScene" instance=ExtResource("3_m06d8")]
60 unique_name_in_owner = true
62 file_filter = "*.tscn, *.scn; PortraitScene"
63 placeholder = "Default Scene"
65 [node name="Animations2" type="HBoxContainer" parent="."]
67 size_flags_horizontal = 3
68 size_flags_stretch_ratio = 0.5
70 [node name="Title2" type="Label" parent="Animations2"]
72 theme_type_variation = &"DialogicSettingsSection"
73 text = "Default Animations
76 [node name="HintTooltip" parent="Animations2" instance=ExtResource("2_dce78")]
78 tooltip_text = "These settings are used for Leave and Join events if no animation is selected.
80 The Cross-Fade will play if the portrait of a character changes and
83 hint_text = "These settings are used for Leave and Join events if no animation is selected.
85 The Cross-Fade will play if the portrait of a character changes and
88 [node name="GridContainer" type="GridContainer" parent="."]
92 [node name="DefaultJoinLabel" type="Label" parent="GridContainer"]
96 [node name="DefaultIn" type="HBoxContainer" parent="GridContainer"]
99 [node name="JoinDefault" parent="GridContainer/DefaultIn" instance=ExtResource("3")]
100 unique_name_in_owner = true
104 [node name="JoinDefaultLength" type="SpinBox" parent="GridContainer/DefaultIn"]
105 unique_name_in_owner = true
109 [node name="JoinDefaultWait" type="CheckButton" parent="GridContainer/DefaultIn"]
110 unique_name_in_owner = true
114 [node name="DefaultOutLabel" type="Label" parent="GridContainer"]
118 [node name="DefaultOut" type="HBoxContainer" parent="GridContainer"]
121 [node name="LeaveDefault" parent="GridContainer/DefaultOut" instance=ExtResource("3")]
122 unique_name_in_owner = true
126 [node name="LeaveDefaultLength" type="SpinBox" parent="GridContainer/DefaultOut"]
127 unique_name_in_owner = true
131 [node name="LeaveDefaultWait" type="CheckButton" parent="GridContainer/DefaultOut"]
132 unique_name_in_owner = true
136 [node name="CrossFadeLabel" type="Label" parent="GridContainer"]
140 [node name="DefaultCrossFade" type="HBoxContainer" parent="GridContainer"]
143 [node name="CrossFadeDefault" parent="GridContainer/DefaultCrossFade" instance=ExtResource("3")]
144 unique_name_in_owner = true
148 [node name="CrossFadeDefaultLength" type="SpinBox" parent="GridContainer/DefaultCrossFade"]
149 unique_name_in_owner = true
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"]