]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/CharacterEditor/character_editor.tscn
Updated export config options
[wolf-seeking-sheep.git] / addons / dialogic / Editor / CharacterEditor / character_editor.tscn
1 [gd_scene load_steps=11 format=3 uid="uid://dlskc36c5hrwv"]
2
3 [ext_resource type="Script" uid="uid://bw385wy22ix12" path="res://addons/dialogic/Editor/CharacterEditor/character_editor.gd" id="2"]
4 [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_uhhqs"]
5 [ext_resource type="Script" uid="uid://b2s4so3eppm20" path="res://addons/dialogic/Editor/CharacterEditor/character_editor_portrait_tree.gd" id="2_vad0i"]
6 [ext_resource type="Texture2D" uid="uid://babwe22dqjta" path="res://addons/dialogic/Editor/Images/Pieces/add-folder.svg" id="3_v1qnr"]
7
8 [sub_resource type="Image" id="Image_r5ayh"]
9 data = {
10 "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),
11 "format": "RGBA8",
12 "height": 16,
13 "mipmaps": false,
14 "width": 16
15 }
16
17 [sub_resource type="ImageTexture" id="ImageTexture_oab13"]
18 image = SubResource("Image_r5ayh")
19
20 [sub_resource type="Image" id="Image_2j4b6"]
21 data = {
22 "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),
23 "format": "RGBA8",
24 "height": 16,
25 "mipmaps": false,
26 "width": 16
27 }
28
29 [sub_resource type="ImageTexture" id="ImageTexture_u1a6g"]
30 image = SubResource("Image_2j4b6")
31
32 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_es2rd"]
33
34 [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4xgdx"]
35
36 [node name="CharacterEditor" type="Control"]
37 self_modulate = Color(0, 0, 0, 1)
38 layout_mode = 3
39 anchors_preset = 15
40 anchor_right = 1.0
41 anchor_bottom = 1.0
42 grow_horizontal = 2
43 grow_vertical = 2
44 script = ExtResource("2")
45
46 [node name="Scroll" type="ScrollContainer" parent="."]
47 layout_mode = 1
48 anchors_preset = 15
49 anchor_right = 1.0
50 anchor_bottom = 1.0
51 grow_horizontal = 2
52 grow_vertical = 2
53
54 [node name="VBox" type="VBoxContainer" parent="Scroll"]
55 layout_mode = 2
56 size_flags_horizontal = 3
57 size_flags_vertical = 3
58 size_flags_stretch_ratio = 0.3
59 theme_override_constants/separation = 0
60
61 [node name="TopSection" type="HBoxContainer" parent="Scroll/VBox"]
62 layout_mode = 2
63
64 [node name="NameContainer" type="HBoxContainer" parent="Scroll/VBox/TopSection"]
65 layout_mode = 2
66
67 [node name="CharacterName" type="Label" parent="Scroll/VBox/TopSection/NameContainer"]
68 unique_name_in_owner = true
69 layout_mode = 2
70 theme_type_variation = &"DialogicTitle"
71 text = "My Character"
72
73 [node name="NameTooltip" parent="Scroll/VBox/TopSection/NameContainer" instance=ExtResource("2_uhhqs")]
74 layout_mode = 2
75 tooltip_text = "This unique identifier is based on the file name. You can change it in the Reference Manager.
76 Use this name in timelines to reference this character."
77 texture = SubResource("ImageTexture_oab13")
78 hint_text = "This unique identifier is based on the file name. You can change it in the Reference Manager.
79 Use this name in timelines to reference this character."
80
81 [node name="MainSettingsCollapse" type="Button" parent="Scroll/VBox/TopSection"]
82 unique_name_in_owner = true
83 layout_mode = 2
84 size_flags_horizontal = 10
85 size_flags_vertical = 4
86 toggle_mode = true
87 text = "Main Settings"
88 icon = SubResource("ImageTexture_u1a6g")
89
90 [node name="MainHSplit" type="HSplitContainer" parent="Scroll/VBox"]
91 unique_name_in_owner = true
92 layout_mode = 2
93 size_flags_horizontal = 3
94 size_flags_vertical = 3
95
96 [node name="MainSettings" type="VBoxContainer" parent="Scroll/VBox/MainHSplit"]
97 unique_name_in_owner = true
98 layout_mode = 2
99 size_flags_horizontal = 3
100 size_flags_stretch_ratio = 0.2
101
102 [node name="MainSettingsTitle" type="Label" parent="Scroll/VBox/MainHSplit/MainSettings"]
103 unique_name_in_owner = true
104 layout_mode = 2
105 size_flags_horizontal = 3
106 theme_type_variation = &"DialogicSubTitle"
107 text = "Main Settings"
108
109 [node name="MainSettingsScroll" type="ScrollContainer" parent="Scroll/VBox/MainHSplit/MainSettings"]
110 unique_name_in_owner = true
111 layout_mode = 2
112 size_flags_vertical = 3
113 theme_override_styles/panel = SubResource("StyleBoxEmpty_es2rd")
114 horizontal_scroll_mode = 0
115
116 [node name="MainSettingsSections" type="VBoxContainer" parent="Scroll/VBox/MainHSplit/MainSettings/MainSettingsScroll"]
117 unique_name_in_owner = true
118 layout_mode = 2
119 size_flags_horizontal = 3
120 size_flags_vertical = 3
121
122 [node name="Split" type="HSplitContainer" parent="Scroll/VBox/MainHSplit"]
123 layout_mode = 2
124 size_flags_horizontal = 3
125 size_flags_vertical = 3
126
127 [node name="HBoxContainer" type="HBoxContainer" parent="Scroll/VBox/MainHSplit/Split"]
128 layout_mode = 2
129 size_flags_horizontal = 3
130 size_flags_stretch_ratio = 0.2
131 theme_override_constants/separation = 0
132
133 [node name="MarginContainer" type="MarginContainer" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer"]
134 layout_mode = 2
135 size_flags_horizontal = 3
136 size_flags_stretch_ratio = 0.2
137 theme_override_constants/margin_bottom = 10
138
139 [node name="PortraitListSection" type="PanelContainer" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer"]
140 unique_name_in_owner = true
141 layout_mode = 2
142 size_flags_horizontal = 3
143 theme_type_variation = &"DialogicPanelA"
144
145 [node name="Portraits" type="VBoxContainer" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection"]
146 layout_mode = 2
147
148 [node name="PortraitsTitle" type="Label" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits"]
149 layout_mode = 2
150 theme_type_variation = &"DialogicSubTitle"
151 text = "Portraits"
152
153 [node name="PortraitListTools" type="HBoxContainer" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits"]
154 layout_mode = 2
155
156 [node name="AddPortraitButton" type="Button" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitListTools"]
157 unique_name_in_owner = true
158 layout_mode = 2
159 tooltip_text = "Add portrait"
160 icon = SubResource("ImageTexture_u1a6g")
161
162 [node name="AddPortraitGroupButton" type="Button" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitListTools"]
163 unique_name_in_owner = true
164 layout_mode = 2
165 tooltip_text = "Add Group"
166 icon = ExtResource("3_v1qnr")
167
168 [node name="ImportPortraitsButton" type="Button" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitListTools"]
169 unique_name_in_owner = true
170 layout_mode = 2
171 tooltip_text = "Import images from folder"
172 icon = SubResource("ImageTexture_u1a6g")
173
174 [node name="PortraitSearch" type="LineEdit" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitListTools"]
175 unique_name_in_owner = true
176 layout_mode = 2
177 size_flags_horizontal = 3
178 size_flags_vertical = 4
179 placeholder_text = "Search"
180 expand_to_text_length = true
181 clear_button_enabled = true
182 right_icon = SubResource("ImageTexture_u1a6g")
183 caret_blink = true
184 caret_blink_interval = 0.5
185
186 [node name="PortraitTreePanel" type="PanelContainer" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits"]
187 layout_mode = 2
188 size_flags_vertical = 3
189 theme_override_styles/panel = SubResource("StyleBoxEmpty_4xgdx")
190
191 [node name="PortraitTree" type="Tree" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitTreePanel"]
192 unique_name_in_owner = true
193 layout_mode = 2
194 allow_rmb_select = true
195 hide_root = true
196 drop_mode_flags = 3
197 script = ExtResource("2_vad0i")
198
199 [node name="PortraitRightClickMenu" type="PopupMenu" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitTreePanel/PortraitTree"]
200 size = Vector2i(118, 100)
201 item_count = 5
202 item_0/text = "Rename"
203 item_0/icon = SubResource("ImageTexture_oab13")
204 item_0/id = 2
205 item_1/text = "Duplicate"
206 item_1/icon = SubResource("ImageTexture_oab13")
207 item_1/id = 0
208 item_2/text = "Delete"
209 item_2/icon = SubResource("ImageTexture_oab13")
210 item_2/id = 1
211 item_3/text = ""
212 item_3/id = 3
213 item_3/separator = true
214 item_4/text = "Make Default"
215 item_4/icon = SubResource("ImageTexture_oab13")
216 item_4/id = 4
217
218 [node name="PortraitChangeInfo" type="HBoxContainer" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits"]
219 unique_name_in_owner = true
220 layout_mode = 2
221
222 [node name="PortraitChangeWarning" type="Label" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitChangeInfo"]
223 unique_name_in_owner = true
224 layout_mode = 2
225 size_flags_horizontal = 3
226 theme_override_colors/font_color = Color(0, 0, 0, 1)
227 text = "Some portraits were renamed. Make sure no references broke!"
228 autowrap_mode = 3
229
230 [node name="ReferenceMangerButton" type="Button" parent="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitChangeInfo"]
231 unique_name_in_owner = true
232 layout_mode = 2
233 size_flags_vertical = 4
234 text = "Reference
235 Manager"
236
237 [node name="RightSection2" type="VBoxContainer" parent="Scroll/VBox/MainHSplit/Split"]
238 layout_mode = 2
239 size_flags_horizontal = 3
240 size_flags_vertical = 3
241 size_flags_stretch_ratio = 0.5
242
243 [node name="Spacer" type="Control" parent="Scroll/VBox/MainHSplit/Split/RightSection2"]
244 custom_minimum_size = Vector2(0, 10)
245 layout_mode = 2
246
247 [node name="RightSection" type="SplitContainer" parent="Scroll/VBox/MainHSplit/Split/RightSection2"]
248 unique_name_in_owner = true
249 layout_mode = 2
250 size_flags_horizontal = 3
251 size_flags_vertical = 3
252 size_flags_stretch_ratio = 0.5
253 vertical = true
254
255 [node name="PortraitPreviewSection" type="Panel" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection"]
256 unique_name_in_owner = true
257 show_behind_parent = true
258 custom_minimum_size = Vector2(100, 0)
259 layout_mode = 2
260 size_flags_horizontal = 3
261 size_flags_vertical = 3
262 theme_type_variation = &"DialogicPanelB"
263
264 [node name="ClipRect" type="Control" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection"]
265 clip_contents = true
266 layout_mode = 1
267 anchors_preset = 15
268 anchor_right = 1.0
269 anchor_bottom = 1.0
270 grow_horizontal = 2
271 grow_vertical = 2
272
273 [node name="Node2D" type="Node2D" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/ClipRect"]
274 position = Vector2(13, 17)
275
276 [node name="RealPreviewPivot" type="Sprite2D" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/ClipRect/Node2D"]
277 unique_name_in_owner = true
278 position = Vector2(326.5, 267)
279 texture = SubResource("ImageTexture_u1a6g")
280
281 [node name="ScenePreviewWarning" type="Label" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection"]
282 unique_name_in_owner = true
283 visible = false
284 layout_mode = 1
285 anchors_preset = 8
286 anchor_left = 0.5
287 anchor_top = 0.5
288 anchor_right = 0.5
289 anchor_bottom = 0.5
290 offset_left = -143.0
291 offset_top = -44.5
292 offset_right = 143.0
293 offset_bottom = 85.5
294 grow_horizontal = 2
295 grow_vertical = 2
296 text = "Custom scenes can only be viewed in \"Full mode\" if they are in @tool mode and override _get_covered_rect"
297 horizontal_alignment = 1
298 vertical_alignment = 1
299 autowrap_mode = 3
300 metadata/_edit_layout_mode = 1
301
302 [node name="PreviewReal" type="CenterContainer" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection"]
303 unique_name_in_owner = true
304 layout_mode = 1
305 anchors_preset = 7
306 anchor_left = 0.5
307 anchor_top = 1.0
308 anchor_right = 0.5
309 anchor_bottom = 1.0
310 offset_left = -302.0
311 offset_top = -80.0
312 offset_right = 302.0
313 grow_horizontal = 2
314 grow_vertical = 0
315 mouse_filter = 2
316 metadata/_edit_layout_mode = 1
317
318 [node name="Control" type="Control" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/PreviewReal"]
319 layout_mode = 2
320
321 [node name="RealSizeRemotePivotTransform" type="RemoteTransform2D" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/PreviewReal/Control"]
322 unique_name_in_owner = true
323 remote_path = NodePath("../../../ClipRect/Node2D/RealPreviewPivot")
324 update_rotation = false
325 update_scale = false
326
327 [node name="FullPreviewAvailableRect" type="Control" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection"]
328 unique_name_in_owner = true
329 layout_mode = 1
330 anchors_preset = 15
331 anchor_right = 1.0
332 anchor_bottom = 1.0
333 offset_left = 10.0
334 offset_top = 28.0
335 offset_right = -10.0
336 offset_bottom = -16.0
337 grow_horizontal = 2
338 grow_vertical = 2
339 mouse_filter = 2
340 metadata/_edit_layout_mode = 1
341
342 [node name="HBoxContainer" type="HBoxContainer" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection"]
343 layout_mode = 1
344 anchors_preset = 10
345 anchor_right = 1.0
346 offset_left = 6.0
347 offset_top = 7.0
348 offset_right = -6.0
349 offset_bottom = 43.0
350 grow_horizontal = 2
351 mouse_filter = 2
352
353 [node name="PreviewLabel" type="Label" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/HBoxContainer"]
354 unique_name_in_owner = true
355 show_behind_parent = true
356 layout_mode = 2
357 size_flags_horizontal = 3
358 size_flags_vertical = 0
359 theme_override_colors/font_color = Color(0, 0, 0, 1)
360 text = "No portrait to preview."
361 text_overrun_behavior = 1
362
363 [node name="FitPreview_Toggle" type="Button" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/HBoxContainer"]
364 unique_name_in_owner = true
365 layout_mode = 2
366 size_flags_vertical = 0
367 tooltip_text = "Real scale"
368 focus_mode = 0
369 toggle_mode = true
370 button_pressed = true
371 icon = SubResource("ImageTexture_u1a6g")
372 flat = true
373 metadata/_edit_layout_mode = 1
374
375 [node name="VBox" type="VBoxContainer" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection"]
376 layout_mode = 2
377 size_flags_horizontal = 3
378 size_flags_vertical = 3
379 size_flags_stretch_ratio = 0.75
380
381 [node name="Hbox" type="HBoxContainer" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/VBox"]
382 layout_mode = 2
383
384 [node name="PortraitSettingsTitle" type="Label" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/VBox/Hbox"]
385 unique_name_in_owner = true
386 layout_mode = 2
387 theme_type_variation = &"DialogicSubTitle"
388 text = "Portrait Settings"
389
390 [node name="SwitchPortraitSettingsPosition" type="Button" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/VBox/Hbox"]
391 unique_name_in_owner = true
392 modulate = Color(1, 1, 1, 0.647059)
393 layout_mode = 2
394 tooltip_text = "Switch position"
395 focus_mode = 0
396 icon = SubResource("ImageTexture_u1a6g")
397 flat = true
398
399 [node name="Scroll" type="ScrollContainer" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/VBox"]
400 layout_mode = 2
401 size_flags_vertical = 3
402 size_flags_stretch_ratio = 0.4
403
404 [node name="PortraitSettingsSection" type="VBoxContainer" parent="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/VBox/Scroll"]
405 unique_name_in_owner = true
406 layout_mode = 2
407 size_flags_horizontal = 3
408 size_flags_vertical = 3
409 size_flags_stretch_ratio = 0.3
410
411 [node name="Spacer2" type="Control" parent="Scroll/VBox/MainHSplit/Split/RightSection2"]
412 custom_minimum_size = Vector2(0, 20)
413 layout_mode = 2
414
415 [node name="NoCharacterScreen" type="ColorRect" parent="."]
416 visible = false
417 layout_mode = 1
418 anchors_preset = 15
419 anchor_right = 1.0
420 anchor_bottom = 1.0
421 grow_horizontal = 2
422 grow_vertical = 2
423 size_flags_horizontal = 3
424 color = Color(0, 0, 0, 1)
425
426 [node name="CenterContainer" type="CenterContainer" parent="NoCharacterScreen"]
427 layout_mode = 1
428 anchors_preset = 15
429 anchor_right = 1.0
430 anchor_bottom = 1.0
431 grow_horizontal = 2
432 grow_vertical = 2
433
434 [node name="VBoxContainer" type="VBoxContainer" parent="NoCharacterScreen/CenterContainer"]
435 custom_minimum_size = Vector2(250, 0)
436 layout_mode = 2
437
438 [node name="Label" type="Label" parent="NoCharacterScreen/CenterContainer/VBoxContainer"]
439 layout_mode = 2
440 text = "No character opened. 
441 Create a character or double-click one in the file system dock."
442 horizontal_alignment = 1
443 autowrap_mode = 3
444
445 [node name="CreateCharacterButton" type="Button" parent="NoCharacterScreen/CenterContainer/VBoxContainer"]
446 layout_mode = 2
447 text = "Create New Character"
448
449 [connection signal="toggled" from="Scroll/VBox/TopSection/MainSettingsCollapse" to="." method="_on_main_settings_collapse_toggled"]
450 [connection signal="item_mouse_selected" from="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitTreePanel/PortraitTree" to="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitTreePanel/PortraitTree" method="_on_item_mouse_selected"]
451 [connection signal="index_pressed" from="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitTreePanel/PortraitTree/PortraitRightClickMenu" to="." method="_on_portrait_right_click_menu_index_pressed"]
452 [connection signal="pressed" from="Scroll/VBox/MainHSplit/Split/HBoxContainer/MarginContainer/PortraitListSection/Portraits/PortraitChangeInfo/ReferenceMangerButton" to="." method="_on_reference_manger_button_pressed"]
453 [connection signal="resized" from="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/FullPreviewAvailableRect" to="." method="_on_full_preview_available_rect_resized"]
454 [connection signal="toggled" from="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/PortraitPreviewSection/HBoxContainer/FitPreview_Toggle" to="." method="_on_fit_preview_toggle_toggled"]
455 [connection signal="pressed" from="Scroll/VBox/MainHSplit/Split/RightSection2/RightSection/VBox/Hbox/SwitchPortraitSettingsPosition" to="." method="_on_switch_portrait_settings_position_pressed"]
456 [connection signal="pressed" from="NoCharacterScreen/CenterContainer/VBoxContainer/CreateCharacterButton" to="." method="_on_create_character_button_pressed"]