No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CharacterJoinBlock.tscn 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. [gd_scene load_steps=10 format=2]
  2. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=1]
  3. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://addons/dialogic/Editor/Pieces/CharacterJoinBlock.gd" type="Script" id=3]
  5. [ext_resource path="res://addons/dialogic/Images/character-join.svg" type="Texture" id=4]
  6. [ext_resource path="res://addons/dialogic/Images/character.svg" type="Texture" id=5]
  7. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/DragController.tscn" type="PackedScene" id=6]
  8. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PortraitPicker.tscn" type="PackedScene" id=7]
  9. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/CharacterPicker.tscn" type="PackedScene" id=8]
  10. [sub_resource type="StyleBoxFlat" id=1]
  11. content_margin_left = 16.0
  12. content_margin_right = 6.0
  13. content_margin_top = 6.0
  14. content_margin_bottom = 6.0
  15. bg_color = Color( 0.14902, 0.521569, 0.298039, 0.266667 )
  16. border_width_left = 2
  17. border_width_top = 2
  18. border_width_right = 2
  19. border_width_bottom = 2
  20. border_color = Color( 0.12549, 0.12549, 0.12549, 1 )
  21. corner_radius_top_left = 6
  22. corner_radius_top_right = 6
  23. corner_radius_bottom_right = 6
  24. corner_radius_bottom_left = 6
  25. [node name="CharacterJoinBlock" type="HBoxContainer"]
  26. margin_right = 1798.0
  27. margin_bottom = 42.0
  28. size_flags_horizontal = 3
  29. size_flags_vertical = 9
  30. script = ExtResource( 3 )
  31. __meta__ = {
  32. "_edit_use_anchors_": false
  33. }
  34. [node name="Indent" type="Control" parent="."]
  35. visible = false
  36. margin_bottom = 44.0
  37. [node name="PanelContainer" type="PanelContainer" parent="."]
  38. margin_right = 1798.0
  39. margin_bottom = 42.0
  40. mouse_filter = 1
  41. size_flags_horizontal = 3
  42. custom_styles/panel = SubResource( 1 )
  43. [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
  44. margin_left = 16.0
  45. margin_top = 6.0
  46. margin_right = 1792.0
  47. margin_bottom = 36.0
  48. size_flags_horizontal = 3
  49. [node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
  50. margin_right = 1776.0
  51. margin_bottom = 30.0
  52. [node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Header"]
  53. margin_right = 22.0
  54. margin_bottom = 30.0
  55. texture = ExtResource( 4 )
  56. stretch_mode = 6
  57. [node name="Title" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  58. margin_left = 26.0
  59. margin_top = 8.0
  60. margin_right = 130.0
  61. margin_bottom = 22.0
  62. text = " Character join: "
  63. [node name="CharacterPicker" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 8 )]
  64. margin_left = 134.0
  65. margin_right = 240.0
  66. [node name="PortraitPicker" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 7 )]
  67. visible = false
  68. margin_left = 278.0
  69. margin_right = 361.0
  70. [node name="LabelPosition" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  71. margin_left = 244.0
  72. margin_top = 8.0
  73. margin_right = 308.0
  74. margin_bottom = 22.0
  75. text = " Position:"
  76. [node name="PositionsContainer" type="HBoxContainer" parent="PanelContainer/VBoxContainer/Header"]
  77. margin_left = 312.0
  78. margin_right = 498.0
  79. margin_bottom = 30.0
  80. [node name="position-0" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
  81. self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
  82. margin_right = 34.0
  83. margin_bottom = 30.0
  84. icon = ExtResource( 5 )
  85. [node name="position-1" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
  86. self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
  87. margin_left = 38.0
  88. margin_right = 72.0
  89. margin_bottom = 30.0
  90. icon = ExtResource( 5 )
  91. [node name="position-2" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
  92. self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
  93. margin_left = 76.0
  94. margin_right = 110.0
  95. margin_bottom = 30.0
  96. icon = ExtResource( 5 )
  97. [node name="position-3" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
  98. self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
  99. margin_left = 114.0
  100. margin_right = 148.0
  101. margin_bottom = 30.0
  102. icon = ExtResource( 5 )
  103. [node name="position-4" type="ToolButton" parent="PanelContainer/VBoxContainer/Header/PositionsContainer"]
  104. self_modulate = Color( 0.596078, 0.596078, 0.596078, 0.396078 )
  105. margin_left = 152.0
  106. margin_right = 186.0
  107. margin_bottom = 30.0
  108. icon = ExtResource( 5 )
  109. [node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 1 )]
  110. margin_left = 502.0
  111. margin_right = 1735.0
  112. margin_bottom = 30.0
  113. [node name="OptionButton" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 2 )]
  114. margin_left = 1739.0
  115. margin_right = 1776.0
  116. items = [ "Move Up", null, 0, false, false, 0, 0, null, "", false, "Move Down", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, 2, 0, null, "", true, "Remove", null, 0, false, false, 3, 0, null, "", false ]
  117. [node name="DragController" parent="." instance=ExtResource( 6 )]