prog
This commit is contained in:
939
addons/madtalk/components/popups/Condition_DialogEdit.tscn
Normal file
939
addons/madtalk/components/popups/Condition_DialogEdit.tscn
Normal file
@@ -0,0 +1,939 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bxbv32bsgov7f"]
|
||||
|
||||
[ext_resource type="StyleBox" path="res://addons/madtalk/components/resources/PanelStyle.tres" id="1_axotx"]
|
||||
[ext_resource type="FontFile" uid="uid://b38okvijpcxmv" path="res://addons/madtalk/fonts/FreeSans_smal.tres" id="2_17q4f"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyepkyvo6sodg" path="res://addons/madtalk/components/BtnTip.tscn" id="3_pak78"]
|
||||
[ext_resource type="FontFile" uid="uid://bhcws34lw0ak5" path="res://addons/madtalk/fonts/FreeSans_tiny.tres" id="4_4pido"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="1"]
|
||||
bg_color = Color(0.186, 0.172, 0.2, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.06, 0.06, 0.06, 1)
|
||||
border_blend = true
|
||||
|
||||
[node name="DialogEdit" type="Window"]
|
||||
title = "Condition"
|
||||
initial_position = 2
|
||||
size = Vector2i(550, 400)
|
||||
visible = false
|
||||
transient = true
|
||||
exclusive = true
|
||||
popup_window = true
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme_override_styles/panel = ExtResource("1_axotx")
|
||||
|
||||
[node name="Label" type="Label" parent="Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 35.1291
|
||||
offset_top = 32.5417
|
||||
offset_right = 130.129
|
||||
offset_bottom = 46.5417
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Condition Type"
|
||||
|
||||
[node name="BtnConditionType" type="OptionButton" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
offset_left = 140.0
|
||||
offset_top = 25.0
|
||||
offset_right = -76.0
|
||||
offset_bottom = 60.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
item_count = 11
|
||||
popup/item_0/text = "Random"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Variable True/False check"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Variable at least"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Variable under"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "Variable equal"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "Time range"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "Day of Week range"
|
||||
popup/item_6/id = 6
|
||||
popup/item_7/text = "Day of Month range"
|
||||
popup/item_7/id = 7
|
||||
popup/item_8/text = "Date range"
|
||||
popup/item_8/id = 8
|
||||
popup/item_9/text = "Minutes elapsed since variable"
|
||||
popup/item_9/id = 9
|
||||
popup/item_10/text = "Custom condition"
|
||||
popup/item_10/id = 10
|
||||
|
||||
[node name="BtnTip" parent="Panel" instance=ExtResource("3_pak78")]
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -41.599
|
||||
offset_top = 44.1581
|
||||
offset_right = -13.599
|
||||
offset_bottom = 70.1581
|
||||
|
||||
[node name="SpecificFields" type="Panel" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 8.0
|
||||
offset_top = 72.0
|
||||
offset_right = -8.0
|
||||
offset_bottom = -38.0
|
||||
theme_override_styles/panel = SubResource("1")
|
||||
|
||||
[node name="Random" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/Random"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 33.0356
|
||||
offset_right = 261.979
|
||||
offset_bottom = 47.0356
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Chance of continuing the sequence:"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/Random"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 65.0356
|
||||
offset_right = 261.979
|
||||
offset_bottom = 79.0356
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/Random"]
|
||||
layout_mode = 0
|
||||
offset_left = 332.0
|
||||
offset_top = 33.0
|
||||
offset_right = 365.0
|
||||
offset_bottom = 47.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
text = "%"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/Random"]
|
||||
layout_mode = 0
|
||||
offset_left = 243.0
|
||||
offset_top = 27.0
|
||||
offset_right = 326.0
|
||||
offset_bottom = 51.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
placeholder_text = "e.g. 30.0"
|
||||
|
||||
[node name="VarBool" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/VarBool"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Variable named"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/VarBool"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue if:"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/VarBool"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 113.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 127.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/VarBool"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 178.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "is equal to"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/VarBool"]
|
||||
layout_mode = 0
|
||||
offset_left = 147.0
|
||||
offset_top = 35.0
|
||||
offset_right = 387.0
|
||||
offset_bottom = 63.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
placeholder_text = "e.g. has_met_npc1"
|
||||
|
||||
[node name="Option1" type="OptionButton" parent="Panel/SpecificFields/VarBool"]
|
||||
layout_mode = 0
|
||||
offset_left = 149.0
|
||||
offset_top = 69.0
|
||||
offset_right = 338.0
|
||||
offset_bottom = 89.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
item_count = 2
|
||||
selected = 0
|
||||
popup/item_0/text = "True (any non-zero numerical value)"
|
||||
popup/item_0/id = 1
|
||||
popup/item_1/text = "False (zero)"
|
||||
popup/item_1/id = 0
|
||||
|
||||
[node name="VarAtLeast" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/VarAtLeast"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Variable named"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/VarAtLeast"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue if:"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/VarAtLeast"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 113.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 127.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/VarAtLeast"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 178.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "is equal or greater than"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/VarAtLeast"]
|
||||
layout_mode = 0
|
||||
offset_left = 147.0
|
||||
offset_top = 35.0
|
||||
offset_right = 339.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. player_health"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/VarAtLeast"]
|
||||
layout_mode = 0
|
||||
offset_left = 187.0
|
||||
offset_top = 67.0
|
||||
offset_right = 270.0
|
||||
offset_bottom = 91.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 25.0"
|
||||
|
||||
[node name="VarUnder" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label5" type="Label" parent="Panel/SpecificFields/VarUnder"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue if:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/VarUnder"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Variable named"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/VarUnder"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 113.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 127.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/VarUnder"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 202.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "is less (and not equal) than "
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/VarUnder"]
|
||||
layout_mode = 0
|
||||
offset_left = 147.0
|
||||
offset_top = 35.0
|
||||
offset_right = 339.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. player_health"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/VarUnder"]
|
||||
layout_mode = 0
|
||||
offset_left = 210.056
|
||||
offset_top = 66.0561
|
||||
offset_right = 293.056
|
||||
offset_bottom = 90.0561
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 25.0"
|
||||
|
||||
[node name="VarString" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label6" type="Label" parent="Panel/SpecificFields/VarString"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue if:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/VarString"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Variable named"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/VarString"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 113.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 127.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/VarString"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 202.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "contains the string"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/VarString"]
|
||||
layout_mode = 0
|
||||
offset_left = 160.0
|
||||
offset_top = 35.0
|
||||
offset_right = 367.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. player_location"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/VarString"]
|
||||
layout_mode = 0
|
||||
offset_left = 160.0
|
||||
offset_top = 66.0
|
||||
offset_right = 367.0
|
||||
offset_bottom = 90.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. living_room"
|
||||
|
||||
[node name="Time" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label7" type="Label" parent="Panel/SpecificFields/Time"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue when:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/Time"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 41.0
|
||||
offset_right = 173.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "In-game time between"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/Time"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 73.0
|
||||
offset_right = 284.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "in any day (use 24h system - 17:00 instead of 5:00pm)"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/Time"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 113.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 127.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/Time"]
|
||||
layout_mode = 0
|
||||
offset_left = 276.0
|
||||
offset_top = 41.0
|
||||
offset_right = 297.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "and"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/Time"]
|
||||
layout_mode = 0
|
||||
offset_left = 184.0
|
||||
offset_top = 35.0
|
||||
offset_right = 264.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 08:00"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/Time"]
|
||||
layout_mode = 0
|
||||
offset_left = 312.0
|
||||
offset_top = 35.0
|
||||
offset_right = 392.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 17:00"
|
||||
|
||||
[node name="DayWeek" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label8" type="Label" parent="Panel/SpecificFields/DayWeek"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue when:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/DayWeek"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 41.0
|
||||
offset_right = 216.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "In-game day of week between"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/DayWeek"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 65.0
|
||||
offset_right = 216.0
|
||||
offset_bottom = 79.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "(in every week)"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/DayWeek"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 105.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 119.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/DayWeek"]
|
||||
layout_mode = 0
|
||||
offset_left = 345.0
|
||||
offset_top = 41.0
|
||||
offset_right = 366.0
|
||||
offset_bottom = 64.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "and"
|
||||
|
||||
[node name="Option0" type="OptionButton" parent="Panel/SpecificFields/DayWeek"]
|
||||
layout_mode = 0
|
||||
offset_left = 230.0
|
||||
offset_top = 36.795
|
||||
offset_right = 336.0
|
||||
offset_bottom = 64.795
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
item_count = 7
|
||||
selected = 0
|
||||
popup/item_0/text = "Sunday"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Monday"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Tuesday"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Wednesday"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "Thursday"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "Friday"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "Saturday"
|
||||
popup/item_6/id = 6
|
||||
|
||||
[node name="Option1" type="OptionButton" parent="Panel/SpecificFields/DayWeek"]
|
||||
layout_mode = 0
|
||||
offset_left = 374.75
|
||||
offset_top = 36.795
|
||||
offset_right = 480.75
|
||||
offset_bottom = 67.795
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
item_count = 7
|
||||
selected = 0
|
||||
popup/item_0/text = "Sunday"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Monday"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Tuesday"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Wednesday"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "Thursday"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "Friday"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "Saturday"
|
||||
popup/item_6/id = 6
|
||||
|
||||
[node name="DayMonth" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label9" type="Label" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue when:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 41.0
|
||||
offset_right = 218.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "In-game day of month between"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 65.0
|
||||
offset_right = 218.0
|
||||
offset_bottom = 79.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "(in every month)"
|
||||
|
||||
[node name="Label5" type="Label" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 87.0
|
||||
offset_right = 257.0
|
||||
offset_bottom = 101.0
|
||||
theme_override_fonts/font = ExtResource("4_4pido")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "For a single day, use same number on both fields"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 121.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 135.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 292.0
|
||||
offset_top = 41.0
|
||||
offset_right = 313.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "and"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 224.0
|
||||
offset_top = 35.0
|
||||
offset_right = 284.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 1"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/DayMonth"]
|
||||
layout_mode = 0
|
||||
offset_left = 320.0
|
||||
offset_top = 35.0
|
||||
offset_right = 380.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 30"
|
||||
|
||||
[node name="Date" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label10" type="Label" parent="Panel/SpecificFields/Date"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue when:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/Date"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 41.0
|
||||
offset_right = 173.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "In-game date between"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/Date"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 73.0
|
||||
offset_right = 347.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "(Format is DD/MM and applies for every in-game year.)"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/Date"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 113.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 127.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/Date"]
|
||||
layout_mode = 0
|
||||
offset_left = 272.0
|
||||
offset_top = 41.0
|
||||
offset_right = 293.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "and"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/Date"]
|
||||
layout_mode = 0
|
||||
offset_left = 180.0
|
||||
offset_top = 35.0
|
||||
offset_right = 260.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 25/01"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/Date"]
|
||||
layout_mode = 0
|
||||
offset_left = 304.0
|
||||
offset_top = 35.0
|
||||
offset_right = 384.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 31/12"
|
||||
|
||||
[node name="ElapsedVar" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label11" type="Label" parent="Panel/SpecificFields/ElapsedVar"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 120.0
|
||||
offset_bottom = 31.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue when:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/ElapsedVar"]
|
||||
layout_mode = 0
|
||||
offset_left = 50.0
|
||||
offset_top = 41.0
|
||||
offset_right = 133.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "In-game time is"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/ElapsedVar"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 113.036
|
||||
offset_right = 261.979
|
||||
offset_bottom = 127.036
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Otherwise the dialog will branch out."
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/ElapsedVar"]
|
||||
layout_mode = 0
|
||||
offset_left = 212.0
|
||||
offset_top = 41.0
|
||||
offset_right = 353.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "minutes later than the time value"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/ElapsedVar"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 202.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "timestamped in the variable"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/ElapsedVar"]
|
||||
layout_mode = 0
|
||||
offset_left = 141.0
|
||||
offset_top = 35.0
|
||||
offset_right = 201.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 30"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/ElapsedVar"]
|
||||
layout_mode = 0
|
||||
offset_left = 211.0
|
||||
offset_top = 67.0
|
||||
offset_right = 403.0
|
||||
offset_bottom = 91.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. time_entered_room"
|
||||
|
||||
[node name="Custom" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label6" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 34.0
|
||||
offset_top = 17.0
|
||||
offset_right = 103.0
|
||||
offset_bottom = 40.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Continue on:"
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Custom condition code for ID"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.979
|
||||
offset_top = 220.0
|
||||
offset_right = 394.979
|
||||
offset_bottom = 243.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "If custom condition handler returns false, the dialog will branch out."
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 65.0
|
||||
offset_right = 193.0
|
||||
offset_bottom = 79.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "called with the data:"
|
||||
|
||||
[node name="Label5" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 82.0
|
||||
offset_right = 253.0
|
||||
offset_bottom = 90.0
|
||||
theme_override_fonts/font = ExtResource("4_4pido")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "(Each line will be passed as a string in an Array)"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 219.0
|
||||
offset_top = 35.0
|
||||
offset_right = 393.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. combat"
|
||||
|
||||
[node name="EditValue1" type="TextEdit" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 110.0
|
||||
offset_right = 411.0
|
||||
offset_bottom = 186.0
|
||||
theme_override_fonts/font = ExtResource("2_17q4f")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
placeholder_text = "e.g.: arena1
|
||||
monster_b"
|
||||
highlight_current_line = true
|
||||
draw_tabs = true
|
||||
caret_blink = true
|
||||
|
||||
[node name="BottomBar" type="Control" parent="Panel"]
|
||||
anchors_preset = 0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -24.0
|
||||
|
||||
[node name="BtnSave" type="Button" parent="Panel/BottomBar"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -100.5
|
||||
offset_top = -10.0
|
||||
offset_right = -59.5
|
||||
offset_bottom = 10.0
|
||||
focus_mode = 0
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "OK"
|
||||
|
||||
[node name="BtnCancel" type="Button" parent="Panel/BottomBar"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 53.0
|
||||
offset_top = -10.0
|
||||
offset_right = 107.0
|
||||
offset_bottom = 10.0
|
||||
focus_mode = 0
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Cancel"
|
@@ -0,0 +1,31 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://m0muqdnnedcu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ccd654fnsh312" path="res://addons/madtalk/images/icon_edit.png" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://6iclvaqbm5dl" path="res://addons/madtalk/images/icon_up.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4xg8811uuoq6" path="res://addons/madtalk/images/icon_down.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxgulu8lvnwrr" path="res://addons/madtalk/images/icon_x.png" id="4"]
|
||||
|
||||
[node name="PopupMenu" type="PopupMenu"]
|
||||
position = Vector2i(0, 36)
|
||||
size = Vector2i(136, 124)
|
||||
item_count = 6
|
||||
item_0/text = "Edit"
|
||||
item_0/icon = ExtResource("1")
|
||||
item_0/id = 0
|
||||
item_1/text = ""
|
||||
item_1/id = -1
|
||||
item_1/disabled = true
|
||||
item_1/separator = true
|
||||
item_2/text = "Move Up"
|
||||
item_2/icon = ExtResource("2")
|
||||
item_2/id = 1
|
||||
item_3/text = "Move Down"
|
||||
item_3/icon = ExtResource("3")
|
||||
item_3/id = 2
|
||||
item_4/text = ""
|
||||
item_4/id = -1
|
||||
item_4/disabled = true
|
||||
item_4/separator = true
|
||||
item_5/text = "Remove"
|
||||
item_5/icon = ExtResource("4")
|
||||
item_5/id = 3
|
641
addons/madtalk/components/popups/Effect_DialogEdit.tscn
Normal file
641
addons/madtalk/components/popups/Effect_DialogEdit.tscn
Normal file
@@ -0,0 +1,641 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cip2u1he5glxt"]
|
||||
|
||||
[ext_resource type="StyleBox" path="res://addons/madtalk/components/resources/PanelStyle.tres" id="1_m0nlj"]
|
||||
[ext_resource type="FontFile" uid="uid://b38okvijpcxmv" path="res://addons/madtalk/fonts/FreeSans_smal.tres" id="2_wad08"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyepkyvo6sodg" path="res://addons/madtalk/components/BtnTip.tscn" id="3_62c5d"]
|
||||
[ext_resource type="FontFile" uid="uid://bhcws34lw0ak5" path="res://addons/madtalk/fonts/FreeSans_tiny.tres" id="4_c5vhq"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="1"]
|
||||
bg_color = Color(0.186, 0.172, 0.2, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.06, 0.06, 0.06, 1)
|
||||
border_blend = true
|
||||
|
||||
[node name="DialogEdit" type="Window"]
|
||||
title = "Effect"
|
||||
initial_position = 2
|
||||
size = Vector2i(500, 400)
|
||||
visible = false
|
||||
transient = true
|
||||
exclusive = true
|
||||
popup_window = true
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme_override_styles/panel = ExtResource("1_m0nlj")
|
||||
|
||||
[node name="Label" type="Label" parent="Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 35.0
|
||||
offset_top = 33.0
|
||||
offset_right = 108.0
|
||||
offset_bottom = 47.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Effect Type"
|
||||
|
||||
[node name="BtnEffectType" type="OptionButton" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
offset_left = 112.0
|
||||
offset_top = 25.0
|
||||
offset_right = -76.0
|
||||
offset_bottom = 60.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
item_count = 11
|
||||
popup/item_0/text = "Change Sheet"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Set Variable"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Add Variable"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Randomize Variable"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "Stamp Time"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "Spend Minutes"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "Spend Days"
|
||||
popup/item_6/id = 6
|
||||
popup/item_7/text = "Skip to Given Time"
|
||||
popup/item_7/id = 7
|
||||
popup/item_8/text = "Skip to Given Weekday"
|
||||
popup/item_8/id = 8
|
||||
popup/item_9/text = "Play Animation and Wait"
|
||||
popup/item_9/id = 9
|
||||
popup/item_10/text = "Custom Effect"
|
||||
popup/item_10/id = 10
|
||||
|
||||
[node name="BtnTip" parent="Panel" instance=ExtResource("3_62c5d")]
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -41.599
|
||||
offset_top = 44.1581
|
||||
offset_right = -13.599
|
||||
offset_bottom = 70.1581
|
||||
|
||||
[node name="SpecificFields" type="Panel" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 8.0
|
||||
offset_top = 72.0
|
||||
offset_right = -8.0
|
||||
offset_bottom = -38.0
|
||||
theme_override_styles/panel = SubResource("1")
|
||||
|
||||
[node name="ChangeSheet" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/ChangeSheet"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 33.0356
|
||||
offset_right = 261.979
|
||||
offset_bottom = 47.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Stop this sequence and change to dialog sheet:"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/ChangeSheet"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 145.036
|
||||
offset_right = 317.979
|
||||
offset_bottom = 159.036
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "(Items in current sequence below this effect will not run.)"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/ChangeSheet"]
|
||||
layout_mode = 0
|
||||
offset_left = 33.9795
|
||||
offset_top = 97.0356
|
||||
offset_right = 291.979
|
||||
offset_bottom = 111.036
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Optional: start the dialog in sequence ID"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/ChangeSheet"]
|
||||
layout_mode = 0
|
||||
offset_left = 35.0
|
||||
offset_top = 56.0
|
||||
offset_right = 394.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. city_arrival"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/ChangeSheet"]
|
||||
layout_mode = 0
|
||||
offset_left = 260.0
|
||||
offset_top = 91.0
|
||||
offset_right = 391.0
|
||||
offset_bottom = 115.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
text = "0"
|
||||
placeholder_text = "Start is always zero"
|
||||
|
||||
[node name="SetVariable" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/SetVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Set variable named"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/SetVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 178.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "to the fixed value"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/SetVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 172.0
|
||||
offset_top = 121.0
|
||||
offset_right = 298.0
|
||||
offset_bottom = 135.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "To use this variable in True/False checks,
|
||||
enter the number:
|
||||
|
||||
True: 1 (or any non-zero number)
|
||||
False: 0
|
||||
"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/SetVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 166.0
|
||||
offset_top = 35.0
|
||||
offset_right = 371.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. player_health"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/SetVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 166.0
|
||||
offset_top = 69.0
|
||||
offset_right = 249.0
|
||||
offset_bottom = 100.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 25.0"
|
||||
|
||||
[node name="AddVariable" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/AddVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Add to variable named"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/AddVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 178.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "the value (can be negative for subtraction)"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/AddVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 182.0
|
||||
offset_top = 34.0
|
||||
offset_right = 387.0
|
||||
offset_bottom = 65.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. player_health"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/AddVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 303.0
|
||||
offset_top = 67.0
|
||||
offset_right = 386.0
|
||||
offset_bottom = 91.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 25.0"
|
||||
|
||||
[node name="RandomizeVariable" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/RandomizeVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Set variable named"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/RandomizeVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "to a random value between"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/RandomizeVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 89.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 103.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "(inclusive)"
|
||||
|
||||
[node name="Label3" type="Label" parent="Panel/SpecificFields/RandomizeVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 294.0
|
||||
offset_top = 73.0
|
||||
offset_right = 315.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "and"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/RandomizeVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 182.0
|
||||
offset_top = 32.0
|
||||
offset_right = 387.0
|
||||
offset_bottom = 67.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
placeholder_text = "e.g. npc1_love"
|
||||
|
||||
[node name="EditValue1" type="LineEdit" parent="Panel/SpecificFields/RandomizeVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 221.0
|
||||
offset_top = 69.0
|
||||
offset_right = 282.313
|
||||
offset_bottom = 104.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
placeholder_text = "e.g. -5.0"
|
||||
|
||||
[node name="EditValue2" type="LineEdit" parent="Panel/SpecificFields/RandomizeVariable"]
|
||||
layout_mode = 0
|
||||
offset_left = 329.0
|
||||
offset_top = 69.0
|
||||
offset_right = 390.313
|
||||
offset_bottom = 104.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
placeholder_text = "e.g. 10.0"
|
||||
|
||||
[node name="StampTime" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/StampTime"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Timestamp current in-game time value"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/StampTime"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 73.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "to a variable named"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/StampTime"]
|
||||
layout_mode = 0
|
||||
offset_left = 182.0
|
||||
offset_top = 67.0
|
||||
offset_right = 387.0
|
||||
offset_bottom = 91.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. player_entered_room3"
|
||||
|
||||
[node name="SpendMinutes" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/SpendMinutes"]
|
||||
layout_mode = 0
|
||||
offset_left = 65.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 293.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Advance current in-game time in"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/SpendMinutes"]
|
||||
layout_mode = 0
|
||||
offset_left = 180.0
|
||||
offset_top = 73.0
|
||||
offset_right = 328.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "minutes"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/SpendMinutes"]
|
||||
layout_mode = 0
|
||||
offset_left = 62.0
|
||||
offset_top = 67.0
|
||||
offset_right = 169.0
|
||||
offset_bottom = 91.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 15"
|
||||
|
||||
[node name="SpendDays" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/SpendDays"]
|
||||
layout_mode = 0
|
||||
offset_left = 65.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 293.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Advance current in-game time in"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/SpendDays"]
|
||||
layout_mode = 0
|
||||
offset_left = 180.0
|
||||
offset_top = 73.0
|
||||
offset_right = 328.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "days"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/SpendDays"]
|
||||
layout_mode = 0
|
||||
offset_left = 62.0
|
||||
offset_top = 67.0
|
||||
offset_right = 169.0
|
||||
offset_bottom = 91.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 2"
|
||||
|
||||
[node name="SkipToTime" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/SkipToTime"]
|
||||
layout_mode = 0
|
||||
offset_left = 66.0
|
||||
offset_top = 41.0
|
||||
offset_right = 274.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Advance in-game time until the time is"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/SkipToTime"]
|
||||
layout_mode = 0
|
||||
offset_left = 280.0
|
||||
offset_top = 35.0
|
||||
offset_right = 371.0
|
||||
offset_bottom = 59.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. 07:00"
|
||||
|
||||
[node name="SkipToWeekday" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/SkipToWeekday"]
|
||||
layout_mode = 0
|
||||
offset_left = 66.0
|
||||
offset_top = 41.0
|
||||
offset_right = 274.0
|
||||
offset_bottom = 55.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Advance in-game time until the weekday is"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/SkipToWeekday"]
|
||||
layout_mode = 0
|
||||
offset_left = 66.0
|
||||
offset_top = 73.0
|
||||
offset_right = 355.0
|
||||
offset_bottom = 87.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Time will be set to 00:00 (beginning of the given day)."
|
||||
|
||||
[node name="Option0" type="OptionButton" parent="Panel/SpecificFields/SkipToWeekday"]
|
||||
layout_mode = 0
|
||||
offset_left = 306.657
|
||||
offset_top = 36.795
|
||||
offset_right = 377.657
|
||||
offset_bottom = 56.795
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
item_count = 7
|
||||
popup/item_0/text = "Sunday"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "Monday"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "Tuesday"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "Wednesday"
|
||||
popup/item_3/id = 3
|
||||
popup/item_4/text = "Thursday"
|
||||
popup/item_4/id = 4
|
||||
popup/item_5/text = "Friday"
|
||||
popup/item_5/id = 5
|
||||
popup/item_6/text = "Saturday"
|
||||
popup/item_6/id = 6
|
||||
|
||||
[node name="WaitAnim" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/WaitAnim"]
|
||||
layout_mode = 0
|
||||
offset_left = 65.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 293.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Play animation named"
|
||||
|
||||
[node name="Label2" type="Label" parent="Panel/SpecificFields/WaitAnim"]
|
||||
layout_mode = 0
|
||||
offset_left = 66.0
|
||||
offset_top = 73.0
|
||||
offset_right = 361.0
|
||||
offset_bottom = 100.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "from the Effects AnimationPlayer set in the MadTalk node,
|
||||
and wait for it to finish before continuing the sequence."
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/WaitAnim"]
|
||||
layout_mode = 0
|
||||
offset_left = 202.0
|
||||
offset_top = 33.0
|
||||
offset_right = 350.0
|
||||
offset_bottom = 57.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. first_cutscene"
|
||||
|
||||
[node name="Custom" type="Control" parent="Panel/SpecificFields"]
|
||||
visible = false
|
||||
anchors_preset = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="Label" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 49.9795
|
||||
offset_top = 41.0356
|
||||
offset_right = 277.979
|
||||
offset_bottom = 55.0356
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Custom effect code for ID"
|
||||
|
||||
[node name="Label4" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 70.0
|
||||
offset_right = 193.0
|
||||
offset_bottom = 93.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "called with the data:"
|
||||
|
||||
[node name="Label5" type="Label" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 89.0
|
||||
offset_right = 308.0
|
||||
offset_bottom = 112.0
|
||||
theme_override_fonts/font = ExtResource("4_c5vhq")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "(Each line will be passed as a string in an Array)"
|
||||
|
||||
[node name="EditValue0" type="LineEdit" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 196.0
|
||||
offset_top = 34.0
|
||||
offset_right = 392.0
|
||||
offset_bottom = 58.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "e.g. give_item"
|
||||
|
||||
[node name="EditValue1" type="TextEdit" parent="Panel/SpecificFields/Custom"]
|
||||
layout_mode = 0
|
||||
offset_left = 52.0
|
||||
offset_top = 114.0
|
||||
offset_right = 411.0
|
||||
offset_bottom = 190.0
|
||||
theme_override_fonts/font = ExtResource("2_wad08")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
highlight_current_line = true
|
||||
draw_tabs = true
|
||||
caret_blink = true
|
||||
|
||||
[node name="BottomBar" type="Control" parent="Panel"]
|
||||
anchors_preset = 0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -24.0
|
||||
|
||||
[node name="BtnSave" type="Button" parent="Panel/BottomBar"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -100.5
|
||||
offset_top = -10.0
|
||||
offset_right = -59.5
|
||||
offset_bottom = 10.0
|
||||
focus_mode = 0
|
||||
text = "OK"
|
||||
|
||||
[node name="BtnCancel" type="Button" parent="Panel/BottomBar"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 53.0
|
||||
offset_top = -10.0
|
||||
offset_right = 107.0
|
||||
offset_bottom = 10.0
|
||||
focus_mode = 0
|
||||
text = "Cancel"
|
269
addons/madtalk/components/popups/Messages_DialogEdit.tscn
Normal file
269
addons/madtalk/components/popups/Messages_DialogEdit.tscn
Normal file
@@ -0,0 +1,269 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://cy4tp1rk7owe8"]
|
||||
|
||||
[ext_resource type="StyleBox" path="res://addons/madtalk/components/resources/PanelStyle.tres" id="1_ebfqh"]
|
||||
[ext_resource type="FontFile" uid="uid://b38okvijpcxmv" path="res://addons/madtalk/fonts/FreeSans_smal.tres" id="2_yr8qn"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyepkyvo6sodg" path="res://addons/madtalk/components/BtnTip.tscn" id="3_fqggi"]
|
||||
[ext_resource type="PackedScene" uid="uid://dc46jny8nbbow" path="res://addons/madtalk/components/MessageEditorWithLocales.tscn" id="4_b66sd"]
|
||||
[ext_resource type="FontFile" path="res://addons/madtalk/fonts/FreeSans_bold_small.tres" id="4_w10ta"]
|
||||
[ext_resource type="FontFile" path="res://addons/madtalk/fonts/FreeSans_italic_small.tres" id="5_ypyua"]
|
||||
[ext_resource type="FontFile" path="res://addons/madtalk/fonts/FreeSans_bolditalic_small.tres" id="6_u7epw"]
|
||||
[ext_resource type="StyleBox" path="res://addons/madtalk/components/resources/RichLabelPreviewAlphaStyle.tres" id="7_3pci6"]
|
||||
|
||||
[node name="DialogEdit" type="Window"]
|
||||
initial_position = 2
|
||||
size = Vector2i(750, 550)
|
||||
exclusive = true
|
||||
popup_window = true
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme_override_styles/panel = ExtResource("1_ebfqh")
|
||||
|
||||
[node name="SpeakerLabel" type="Label" parent="Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 23.0
|
||||
offset_top = 16.0
|
||||
offset_right = 92.0
|
||||
offset_bottom = 30.0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Speaker ID"
|
||||
|
||||
[node name="SpeakerEdit" type="LineEdit" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_right = 0.5
|
||||
offset_left = 92.0
|
||||
offset_top = 12.0
|
||||
offset_right = -28.0
|
||||
offset_bottom = 36.0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "string id for the character "
|
||||
|
||||
[node name="TipSpeaker" parent="Panel" instance=ExtResource("3_fqggi")]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -24.0627
|
||||
offset_top = 12.1479
|
||||
offset_right = 3.93732
|
||||
offset_bottom = 34.1479
|
||||
tip_title = "Speaker ID"
|
||||
tip_text = "The speaker ID is a string identifying the character speaking the message. It is used to show the avatar and name.
|
||||
You have to configure the avatar and name separately."
|
||||
|
||||
[node name="VariantLabel" type="Label" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = 23.0
|
||||
offset_top = 16.0
|
||||
offset_right = 92.0
|
||||
offset_bottom = 30.0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Variant"
|
||||
|
||||
[node name="VariantEdit" type="LineEdit" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_right = 1.0
|
||||
offset_left = 72.0
|
||||
offset_top = 12.0
|
||||
offset_right = -56.0
|
||||
offset_bottom = 36.0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 14
|
||||
placeholder_text = "avatar variant - leave blank for default"
|
||||
|
||||
[node name="TipVariant" parent="Panel" instance=ExtResource("3_fqggi")]
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -52.5627
|
||||
offset_top = 12.1479
|
||||
offset_right = -24.5627
|
||||
offset_bottom = 34.1479
|
||||
tip_title = "Avatar Variant"
|
||||
tip_text = "The avatar variant is a string identifying an alternate texture ID for the character avatar. If specified, a texture with this ID will be used instead of the default one. You have to configure the avatar variants separately.
|
||||
|
||||
This is used mainly for emotions, so different images can be used for \"angry\", \"happy\", \"sad\", etc, but since the IDs and their interpretations are up to you, they can be anything - e.g. different clothes, different background scenarios, etc."
|
||||
|
||||
[node name="BtnHideOnEnd" type="CheckButton" parent="Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -346.0
|
||||
offset_top = 49.0
|
||||
offset_right = -55.0
|
||||
offset_bottom = 89.0
|
||||
grow_horizontal = 0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Force hiding message before next item"
|
||||
|
||||
[node name="TipHideOnEnd" parent="Panel" instance=ExtResource("3_fqggi")]
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -52.0627
|
||||
offset_top = 58.1479
|
||||
offset_right = -24.0627
|
||||
offset_bottom = 82.1479
|
||||
grow_horizontal = 0
|
||||
tip_title = "Hide Before Next Item"
|
||||
tip_text = "During a dialog session, messages usually stay on screen when the next item is not another message - including menus, animations and custom effects. This is to allow the player to review the last message before selecting an option, and to allow narration over cutscenes. Text messages are replaced when next item is another message, and hidden in the very end of the dialog session.
|
||||
|
||||
Selecting this option forces the message box to hide when processing the next item even if it would normally stay visible. Useful if the menu is not related to the last message, or if you want animations without any text on screen."
|
||||
|
||||
[node name="MessageLabel" type="Label" parent="Panel"]
|
||||
layout_mode = 0
|
||||
offset_left = 23.0
|
||||
offset_top = 73.0
|
||||
offset_right = 182.0
|
||||
offset_bottom = 93.0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Message (BB Code allowed):"
|
||||
|
||||
[node name="MessageEditor" parent="Panel" instance=ExtResource("4_b66sd")]
|
||||
layout_mode = 0
|
||||
anchors_preset = 0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
offset_left = 16.0
|
||||
offset_top = 97.0
|
||||
offset_right = 734.0
|
||||
offset_bottom = 350.0
|
||||
grow_horizontal = 1
|
||||
grow_vertical = 1
|
||||
|
||||
[node name="PreviewLabel" type="Label" parent="Panel"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 22.68
|
||||
offset_top = -175.305
|
||||
offset_right = 181.68
|
||||
offset_bottom = -152.305
|
||||
grow_vertical = 0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Message Preview"
|
||||
|
||||
[node name="BtnTextColor" type="ColorPickerButton" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -441.0
|
||||
offset_top = -175.305
|
||||
offset_right = -377.0
|
||||
offset_bottom = -155.305
|
||||
toggle_mode = false
|
||||
expand_icon = true
|
||||
color = Color(1, 1, 1, 1)
|
||||
edit_alpha = false
|
||||
|
||||
[node name="TextColorLabel" type="Label" parent="Panel/BtnTextColor"]
|
||||
layout_mode = 0
|
||||
offset_left = 69.0
|
||||
offset_right = 228.0
|
||||
offset_bottom = 23.0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Default Text Color"
|
||||
|
||||
[node name="BtnBGColor" type="ColorPickerButton" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -250.0
|
||||
offset_top = -175.305
|
||||
offset_right = -186.0
|
||||
offset_bottom = -155.305
|
||||
toggle_mode = false
|
||||
expand_icon = true
|
||||
edit_alpha = false
|
||||
|
||||
[node name="TextColorLabel" type="Label" parent="Panel/BtnBGColor"]
|
||||
layout_mode = 0
|
||||
offset_left = 69.0
|
||||
offset_right = 228.0
|
||||
offset_bottom = 23.0
|
||||
theme_override_fonts/font = ExtResource("2_yr8qn")
|
||||
theme_override_font_sizes/font_size = 12
|
||||
text = "Background Color"
|
||||
|
||||
[node name="PreviewBox" type="ColorRect" parent="Panel"]
|
||||
layout_mode = 0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 16.0
|
||||
offset_top = -153.215
|
||||
offset_right = -16.0
|
||||
offset_bottom = -32.215
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="PreviewLabel" type="RichTextLabel" parent="Panel/PreviewBox"]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 8.0
|
||||
offset_top = 8.8909
|
||||
offset_right = -8.0
|
||||
offset_bottom = -7.1091
|
||||
theme_override_colors/default_color = Color(1, 1, 1, 1)
|
||||
theme_override_fonts/normal_font = ExtResource("2_yr8qn")
|
||||
theme_override_fonts/italics_font = ExtResource("5_ypyua")
|
||||
theme_override_fonts/bold_italics_font = ExtResource("6_u7epw")
|
||||
theme_override_fonts/bold_font = ExtResource("4_w10ta")
|
||||
theme_override_styles/normal = ExtResource("7_3pci6")
|
||||
bbcode_enabled = true
|
||||
|
||||
[node name="PreviewTimer" type="Timer" parent="Panel/PreviewBox"]
|
||||
wait_time = 0.5
|
||||
one_shot = true
|
||||
|
||||
[node name="BottomBar" type="Control" parent="Panel"]
|
||||
anchors_preset = 0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -33.51
|
||||
offset_bottom = -9.51001
|
||||
|
||||
[node name="BtnSave" type="Button" parent="Panel/BottomBar"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -100.5
|
||||
offset_top = -10.0
|
||||
offset_right = -59.5
|
||||
offset_bottom = 10.0
|
||||
focus_mode = 0
|
||||
text = "OK"
|
||||
|
||||
[node name="BtnCancel" type="Button" parent="Panel/BottomBar"]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 53.0
|
||||
offset_top = -10.0
|
||||
offset_right = 107.0
|
||||
offset_bottom = 10.0
|
||||
focus_mode = 0
|
||||
text = "Cancel"
|
@@ -0,0 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://dhf1etqkj85p"]
|
||||
|
||||
[node name="VoiceClipDialog" type="FileDialog"]
|
||||
title = "Load voice clip"
|
||||
initial_position = 2
|
||||
size = Vector2i(600, 500)
|
||||
popup_window = true
|
||||
ok_button_text = "Open"
|
||||
dialog_hide_on_ok = true
|
||||
mode_overrides_title = false
|
||||
file_mode = 0
|
||||
filters = PackedStringArray("*.wav; WAV files", "*.ogg; OGG clips")
|
Reference in New Issue
Block a user