321 lines
8.8 KiB
Text
321 lines
8.8 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://addons/dialogic/Editor/CharacterEditor/PortraitEntry.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://addons/dialogic/Editor/CharacterEditor/CharacterEditor.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
content_margin_left = 5.0
|
|
content_margin_right = 5.0
|
|
content_margin_top = 5.0
|
|
content_margin_bottom = 5.0
|
|
bg_color = Color( 0.2, 0.219608, 0.278431, 1 )
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color( 0.0980392, 0.113725, 0.152941, 1 )
|
|
|
|
[node name="CharacterEditor" type="ScrollContainer"]
|
|
margin_left = 192.0
|
|
margin_right = 1253.0
|
|
margin_bottom = 661.0
|
|
custom_styles/bg = SubResource( 1 )
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
margin_left = 5.0
|
|
margin_top = 5.0
|
|
margin_right = 1056.0
|
|
margin_bottom = 656.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Container" type="VBoxContainer" parent="HBoxContainer"]
|
|
margin_right = 523.0
|
|
margin_bottom = 651.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 9
|
|
|
|
[node name="Name" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
margin_right = 523.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/Container/Name"]
|
|
margin_top = 5.0
|
|
margin_right = 130.0
|
|
margin_bottom = 19.0
|
|
rect_min_size = Vector2( 130, 0 )
|
|
text = "Name: "
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="HBoxContainer/Container/Name"]
|
|
margin_left = 134.0
|
|
margin_right = 274.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 140, 0 )
|
|
|
|
[node name="CheckBox" type="CheckBox" parent="HBoxContainer/Container/Name"]
|
|
margin_left = 278.0
|
|
margin_right = 451.0
|
|
margin_bottom = 24.0
|
|
text = "Different display name"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="DisplayName" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
visible = false
|
|
margin_top = 28.0
|
|
margin_right = 491.0
|
|
margin_bottom = 52.0
|
|
__meta__ = {
|
|
"_editor_description_": "Display name is the name that will
|
|
show up on the dialogs in game."
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/Container/DisplayName"]
|
|
margin_top = 5.0
|
|
margin_right = 130.0
|
|
margin_bottom = 19.0
|
|
rect_min_size = Vector2( 130, 0 )
|
|
text = "Display Name: "
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="HBoxContainer/Container/DisplayName"]
|
|
margin_left = 134.0
|
|
margin_right = 274.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 140, 0 )
|
|
|
|
[node name="Color" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
margin_top = 28.0
|
|
margin_right = 523.0
|
|
margin_bottom = 48.0
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/Container/Color"]
|
|
margin_top = 3.0
|
|
margin_right = 130.0
|
|
margin_bottom = 17.0
|
|
rect_min_size = Vector2( 130, 0 )
|
|
text = "Color: "
|
|
|
|
[node name="ColorPickerButton" type="ColorPickerButton" parent="HBoxContainer/Container/Color"]
|
|
margin_left = 134.0
|
|
margin_right = 274.0
|
|
margin_bottom = 20.0
|
|
rect_min_size = Vector2( 140, 0 )
|
|
color = Color( 1, 1, 1, 1 )
|
|
edit_alpha = false
|
|
|
|
[node name="Description" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
margin_top = 52.0
|
|
margin_right = 523.0
|
|
margin_bottom = 152.0
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/Container/Description"]
|
|
margin_top = 43.0
|
|
margin_right = 130.0
|
|
margin_bottom = 57.0
|
|
rect_min_size = Vector2( 130, 0 )
|
|
text = "Description: "
|
|
|
|
[node name="TextEdit" type="TextEdit" parent="HBoxContainer/Container/Description"]
|
|
margin_left = 134.0
|
|
margin_right = 523.0
|
|
margin_bottom = 100.0
|
|
rect_min_size = Vector2( 100, 100 )
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="Separator" type="Control" parent="HBoxContainer/Container"]
|
|
margin_top = 156.0
|
|
margin_right = 523.0
|
|
margin_bottom = 166.0
|
|
rect_min_size = Vector2( 0, 10 )
|
|
|
|
[node name="Portraits" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
margin_top = 170.0
|
|
margin_right = 523.0
|
|
margin_bottom = 184.0
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/Container/Portraits"]
|
|
margin_right = 143.0
|
|
margin_bottom = 14.0
|
|
text = "Portraits / Expressions"
|
|
|
|
[node name="Labels" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
margin_top = 188.0
|
|
margin_right = 523.0
|
|
margin_bottom = 202.0
|
|
|
|
[node name="LineEdit" type="Label" parent="HBoxContainer/Container/Labels"]
|
|
margin_right = 100.0
|
|
margin_bottom = 14.0
|
|
rect_min_size = Vector2( 100, 0 )
|
|
text = "Name"
|
|
|
|
[node name="LineEdit2" type="Label" parent="HBoxContainer/Container/Labels"]
|
|
margin_left = 104.0
|
|
margin_right = 254.0
|
|
margin_bottom = 14.0
|
|
rect_min_size = Vector2( 150, 0 )
|
|
text = "Path"
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer/Container"]
|
|
margin_top = 206.0
|
|
margin_right = 523.0
|
|
margin_bottom = 623.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/Container/ScrollContainer"]
|
|
margin_right = 523.0
|
|
margin_bottom = 417.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="PortraitList" type="VBoxContainer" parent="HBoxContainer/Container/ScrollContainer/VBoxContainer"]
|
|
margin_right = 523.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="PortraitEntry" parent="HBoxContainer/Container/ScrollContainer/VBoxContainer/PortraitList" instance=ExtResource( 1 )]
|
|
margin_right = 523.0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/Container/ScrollContainer/VBoxContainer"]
|
|
margin_top = 28.0
|
|
margin_right = 523.0
|
|
margin_bottom = 48.0
|
|
|
|
[node name="Button" type="Button" parent="HBoxContainer/Container/ScrollContainer/VBoxContainer/HBoxContainer"]
|
|
margin_right = 87.0
|
|
margin_bottom = 20.0
|
|
text = " Add new + "
|
|
|
|
[node name="FileName" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
visible = false
|
|
margin_top = 599.0
|
|
margin_right = 523.0
|
|
margin_bottom = 623.0
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/Container/FileName"]
|
|
margin_top = 5.0
|
|
margin_right = 130.0
|
|
margin_bottom = 19.0
|
|
rect_min_size = Vector2( 130, 0 )
|
|
text = "File:"
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="HBoxContainer/Container/FileName"]
|
|
margin_left = 134.0
|
|
margin_right = 523.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 140, 0 )
|
|
focus_mode = 0
|
|
size_flags_horizontal = 3
|
|
editable = false
|
|
|
|
[node name="Actions" type="HBoxContainer" parent="HBoxContainer/Container"]
|
|
margin_top = 627.0
|
|
margin_right = 523.0
|
|
margin_bottom = 651.0
|
|
|
|
[node name="DefaultSpeaker" type="CheckBox" parent="HBoxContainer/Container/Actions"]
|
|
margin_right = 128.0
|
|
margin_bottom = 24.0
|
|
hint_tooltip = "By selecting \"Default Speaker\" all the new
|
|
Text Events created will automatically
|
|
select this character by default.
|
|
You can only have 1 Default Speaker
|
|
per project."
|
|
text = "Default Speaker"
|
|
|
|
[node name="Control" type="Control" parent="HBoxContainer/Container/Actions"]
|
|
margin_left = 132.0
|
|
margin_right = 523.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
|
margin_left = 527.0
|
|
margin_right = 1051.0
|
|
margin_bottom = 651.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Control" type="Panel" parent="HBoxContainer/VBoxContainer"]
|
|
margin_right = 524.0
|
|
margin_bottom = 623.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/VBoxContainer/Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 30.0
|
|
margin_top = 30.0
|
|
margin_right = -30.0
|
|
margin_bottom = -30.0
|
|
rect_min_size = Vector2( 100, 100 )
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
expand = true
|
|
stretch_mode = 6
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/Control"]
|
|
self_modulate = Color( 1, 1, 1, 0.396078 )
|
|
margin_right = 340.0
|
|
margin_bottom = 14.0
|
|
text = "Preview"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer"]
|
|
margin_top = 627.0
|
|
margin_right = 524.0
|
|
margin_bottom = 651.0
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
|
margin_top = 5.0
|
|
margin_right = 33.0
|
|
margin_bottom = 19.0
|
|
text = "Scale"
|
|
|
|
[node name="Scale" type="SpinBox" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
|
margin_left = 37.0
|
|
margin_right = 111.0
|
|
margin_bottom = 24.0
|
|
value = 100.0
|
|
allow_greater = true
|
|
align = 2
|
|
suffix = "%"
|
|
|
|
[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
|
margin_left = 115.0
|
|
margin_top = 5.0
|
|
margin_right = 186.0
|
|
margin_bottom = 19.0
|
|
text = " Offset"
|
|
|
|
[node name="OffsetX" type="SpinBox" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
|
margin_left = 190.0
|
|
margin_right = 290.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 100, 0 )
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
suffix = "X"
|
|
|
|
[node name="OffsetY" type="SpinBox" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
|
|
margin_left = 294.0
|
|
margin_right = 394.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 100, 0 )
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
suffix = "Y"
|