123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316 |
- [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.23, 0.31, 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"
|