diff --git a/addons/dialogic/Modules/Save/settings_save.gd b/addons/dialogic/Modules/Save/settings_save.gd index 2871876f0..9e07ba7f4 100644 --- a/addons/dialogic/Modules/Save/settings_save.gd +++ b/addons/dialogic/Modules/Save/settings_save.gd @@ -7,9 +7,6 @@ extends DialogicSettingsPage func _get_priority() -> int: return 0 -func _get_info_section() -> Control: - return $InfoSection - func _refresh(): %Autosave.button_pressed = ProjectSettings.get_setting('dialogic/save/autosave', false) diff --git a/addons/dialogic/Modules/Save/settings_save.tscn b/addons/dialogic/Modules/Save/settings_save.tscn index 350bf1eec..35187efa6 100644 --- a/addons/dialogic/Modules/Save/settings_save.tscn +++ b/addons/dialogic/Modules/Save/settings_save.tscn @@ -3,7 +3,7 @@ [ext_resource type="Script" path="res://addons/dialogic/Modules/Save/settings_save.gd" id="2"] [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_v2wt8"] -[sub_resource type="Image" id="Image_mbwql"] +[sub_resource type="Image" id="Image_oatpr"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0), "format": "RGBA8", @@ -12,8 +12,8 @@ data = { "width": 16 } -[sub_resource type="ImageTexture" id="ImageTexture_himd7"] -image = SubResource("Image_mbwql") +[sub_resource type="ImageTexture" id="ImageTexture_dbvsu"] +image = SubResource("Image_oatpr") [node name="Saving" type="VBoxContainer"] offset_right = 1084.0 @@ -35,7 +35,7 @@ text = "Autosave" [node name="HintTooltip" parent="Grid/HBoxContainer" instance=ExtResource("2_v2wt8")] layout_mode = 2 tooltip_text = "If enabled dialogic will autosave the full state to the current slot depending on the autosave method." -texture = SubResource("ImageTexture_himd7") +texture = SubResource("ImageTexture_dbvsu") hint_text = "If enabled dialogic will autosave the full state to the current slot depending on the autosave method." [node name="Autosave" type="CheckBox" parent="Grid"] @@ -82,7 +82,7 @@ text = "Default slot name" [node name="HintTooltip3" parent="Grid/HBoxContainer2" instance=ExtResource("2_v2wt8")] layout_mode = 2 tooltip_text = "The name of the default slot. " -texture = SubResource("ImageTexture_himd7") +texture = SubResource("ImageTexture_dbvsu") hint_text = "The name of the default slot. " [node name="DefaultSaveSlotName" type="LineEdit" parent="Grid"] @@ -100,8 +100,8 @@ text = "Encryption Password" [node name="HintTooltip" parent="Grid/HBoxContainer3" instance=ExtResource("2_v2wt8")] layout_mode = 2 -tooltip_text = "The encryption password used to obfuscate save files. When left empty, the save files will not be encrypted." -texture = SubResource("ImageTexture_himd7") +tooltip_text = "The encryption password used to encrypt save files. When left empty, the save files will not be encrypted." +texture = SubResource("ImageTexture_dbvsu") hint_text = "The encryption password used to encrypt save files. When left empty, the save files will not be encrypted." [node name="HBoxContainer4" type="HBoxContainer" parent="Grid"] @@ -123,8 +123,10 @@ text = "Use on exports only" [node name="HintTooltip" parent="Grid/HBoxContainer4/EncryptionOnExportsSection" instance=ExtResource("2_v2wt8")] layout_mode = 2 -tooltip_text = "The encryption password used to encrypt save files. When left empty, the save files will not be encrypted." -texture = SubResource("ImageTexture_himd7") +tooltip_text = "For easier debugging dialogic will only encrypt saves made by exported project. +Exported projects with debug mode on or saves made when running in editor +will not use encryption." +texture = SubResource("ImageTexture_dbvsu") hint_text = "For easier debugging dialogic will only encrypt saves made by exported project. Exported projects with debug mode on or saves made when running in editor will not use encryption." @@ -133,17 +135,6 @@ will not use encryption." unique_name_in_owner = true layout_mode = 2 -[node name="InfoSection" type="VBoxContainer" parent="."] -layout_mode = 2 -size_flags_horizontal = 3 - -[node name="Label" type="Label" parent="InfoSection"] -layout_mode = 2 -text = "You can save from code by calling Dialogic.Save.save(slot_name). For more information lookup the \"Subsystem_Save\" script in the documentation (Search Help button). - -You can also save the dialogic data to your own files by saving the dictionary you get from Dialogic.get_full_state() and later loading it with Dialogic.load_full_state(dict)." -autowrap_mode = 3 - [connection signal="toggled" from="Grid/Autosave" to="." method="_on_autosave_toggled"] [connection signal="item_selected" from="Grid/AutosaveModeContent/AutosaveMode" to="." method="_on_autosave_mode_item_selected"] [connection signal="value_changed" from="Grid/AutosaveModeContent/AutosaveDelay" to="." method="_on_autosave_delay_value_changed"] diff --git a/addons/dialogic/Modules/Text/settings_text.gd b/addons/dialogic/Modules/Text/settings_text.gd index 74b0ddb27..db75f28a6 100644 --- a/addons/dialogic/Modules/Text/settings_text.gd +++ b/addons/dialogic/Modules/Text/settings_text.gd @@ -11,9 +11,6 @@ func _get_title() -> String: return "Text" -func _get_info_section(): - return $InformationSection - func _refresh() -> void: %DefaultSpeed.value = ProjectSettings.get_setting('dialogic/text/letter_speed', 0.01) %Skippable.button_pressed = ProjectSettings.get_setting('dialogic/text/initial_text_reveal_skippable', true) diff --git a/addons/dialogic/Modules/Text/settings_text.tscn b/addons/dialogic/Modules/Text/settings_text.tscn index bfe623c28..f64a133d4 100644 --- a/addons/dialogic/Modules/Text/settings_text.tscn +++ b/addons/dialogic/Modules/Text/settings_text.tscn @@ -1,12 +1,10 @@ -[gd_scene load_steps=12 format=3 uid="uid://cf3qks3v18xmr"] +[gd_scene load_steps=6 format=3 uid="uid://cf3qks3v18xmr"] [ext_resource type="Script" path="res://addons/dialogic/Modules/Text/settings_text.gd" id="2"] [ext_resource type="PackedScene" uid="uid://dpwhshre1n4t6" path="res://addons/dialogic/Editor/Events/Fields/field_options_dynamic.tscn" id="3"] [ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="3_s7xhj"] -[ext_resource type="PackedScene" uid="uid://dyp7m2nvab1aj" path="res://addons/dialogic/Editor/Events/Fields/field_text_multiline.tscn" id="4_0hlwb"] -[ext_resource type="Script" path="res://addons/dialogic/Editor/TimelineEditor/TextEditor/syntax_highlighter.gd" id="5_cc70e"] -[sub_resource type="Image" id="Image_h2r4d"] +[sub_resource type="Image" id="Image_oatpr"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0), "format": "RGBA8", @@ -15,18 +13,8 @@ data = { "width": 16 } -[sub_resource type="ImageTexture" id="ImageTexture_4sft0"] -image = SubResource("Image_h2r4d") - -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5tav8"] - -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_mamwx"] - -[sub_resource type="SyntaxHighlighter" id="SyntaxHighlighter_u3bqq"] -script = ExtResource("5_cc70e") - -[sub_resource type="FontVariation" id="FontVariation_52y0p"] -variation_transform = Transform2D(1, 0.29, 0, 1, 0, 0) +[sub_resource type="ImageTexture" id="ImageTexture_dbvsu"] +image = SubResource("Image_oatpr") [node name="DialogText" type="VBoxContainer"] anchors_preset = 15 @@ -60,7 +48,7 @@ text = "Default letter speed" [node name="HintTooltip2" parent="VBoxContainer/VBox/DefaultSpeedLabel" instance=ExtResource("3_s7xhj")] layout_mode = 2 tooltip_text = "The speed in seconds per character. A speed of 0 will reveal the full text instantly (still taking pauses into consideration)." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "The speed in seconds per character. A speed of 0 will reveal the full text instantly (still taking pauses into consideration)." [node name="DefaultSpeed" type="SpinBox" parent="VBoxContainer/VBox"] @@ -79,7 +67,7 @@ text = "Input action" layout_mode = 2 tooltip_text = "The action that skips text and generally advances to the next event. You can modify actions in the Project Settings > Input Map." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "The action that skips text and generally advances to the next event. You can modify actions in the Project Settings > Input Map." @@ -100,7 +88,7 @@ layout_mode = 2 tooltip_text = "If enabled the revealing of text can be skipped with the input action. If disabled you can only advance to the next event when revealing has finnished. To avoid rapid skipping, you can shortly block skipping with a delay." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "If enabled the revealing of text can be skipped with the input action. If disabled you can only advance to the next event when revealing has finnished. To avoid rapid skipping, you can shortly block skipping with a delay." @@ -130,7 +118,7 @@ text = "Autocolor names" [node name="HintTooltip5" parent="VBoxContainer/VBox/ColorNames" instance=ExtResource("3_s7xhj")] layout_mode = 2 tooltip_text = "If enabled character names will be colored in the characters color in text events." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "If enabled character names will be colored in the characters color in text events." [node name="AutocolorNames" type="CheckBox" parent="VBoxContainer/VBox"] @@ -148,7 +136,7 @@ text = "New lines as new events" layout_mode = 2 tooltip_text = "If enabled dialogic, new lines will be treated as [n] effects, seemingly waiting for input before starting a new text." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "If enabled dialogic, new lines will be treated as [n] effects, seemingly waiting for input before starting a new text." @@ -193,7 +181,7 @@ These add up, so if any of them is true, autoadvance will happen. Unless manual advancement is disabled, the autoadvance time can always be skipped by the player. The autoadvance will wait for Voice audio to finish playing. This behaviour can be disabled via code. " -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "Autoadvance is the concept of automatically progressing to the next event upon completing text display, usually after a certain delay. You can enabled autoadvance from code using either: @@ -219,7 +207,7 @@ text = "Base Delay" [node name="HintTooltip" parent="VBoxContainer/AutoadvanceSettings/HBox_BaseDelay2" instance=ExtResource("3_s7xhj")] layout_mode = 2 tooltip_text = "This is the base delay for autoadvancment." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "This is the base delay for autoadvancment." [node name="FixedDelay" type="SpinBox" parent="VBoxContainer/AutoadvanceSettings"] @@ -242,7 +230,7 @@ layout_mode = 2 tooltip_text = "An additional delay per character or word can be added. Note: When changing values via code, you can actually use both modes simultaniously." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "An additional delay per character or word can be added. Note: When changing values via code, you can actually use both modes simultaniously." @@ -282,7 +270,7 @@ tooltip_text = "An ignored character will add no delay, this is useful to exclud If disabled, the general line of text length will be used, stripping the BBCode tags first. If enabled, the text will be scanned and the matching characters will be skipped." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "An ignored character will add no delay, this is useful to exclude interpunction and whitespaces. If disabled, the general line of text length will be used, stripping the BBCode tags first. @@ -310,7 +298,7 @@ layout_mode = 2 tooltip_text = "While you would usually enable autoadvance via code, if this is true it will be initially enabled. This kind of autoadvance (system) only stops when disabled via code. " -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "While you would usually enable autoadvance via code, if this is true it will be initially enabled. This kind of autoadvance (system) only stops when disabled via code. " @@ -340,7 +328,7 @@ Dialogic.Input.auto_skip.enabled = true By default, Auto-Skip will cancel on user input. You can disable this by calling: Dialogic.Input.auto_skip.disable_on_user_input = false" -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "Auto-Skip is the concept of automatically skipping Timeline Events to the next unread Text Event or Event demanding user inputs (e.g. Choice, Wait Input, and Text Input). You can enable Auto-Skip from code via: @@ -367,7 +355,7 @@ tooltip_text = "The time until Auto-Skip will execute the next event. If this is set to 0.1s, each event should finish within that time. Custom events must respect this time, built-in events already handle Auto-Skip." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "The time until Auto-Skip will execute the next event. If this is set to 0.1s, each event should finish within that time. @@ -398,7 +386,7 @@ tooltip_text = "Adds pauses after certain letters. Each set can contain multiple letters that will (individually) have a pause of the given length added after them." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "Adds pauses after certain letters. Each set can contain multiple letters that will (individually) @@ -426,62 +414,13 @@ text = "Absolute auto-pause times" [node name="HintTooltip7" parent="VBoxContainer/HBoxContainer3" instance=ExtResource("3_s7xhj")] layout_mode = 2 tooltip_text = "If not enabled autopauses will be multiplied by the speed and user speed. When enabled those will be ignored." -texture = SubResource("ImageTexture_4sft0") +texture = SubResource("ImageTexture_dbvsu") hint_text = "If not enabled autopauses will be multiplied by the speed and user speed. When enabled those will be ignored." [node name="AutoPausesAbsolute" type="CheckBox" parent="VBoxContainer/HBoxContainer3"] unique_name_in_owner = true layout_mode = 2 -[node name="InformationSection" type="VBoxContainer" parent="."] -layout_mode = 2 -size_flags_horizontal = 3 - -[node name="Title" type="Label" parent="InformationSection"] -layout_mode = 2 -theme_type_variation = &"DialogicSection" -text = "Tips and tricks:" - -[node name="Info" type="RichTextLabel" parent="InformationSection"] -unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 3 -theme_override_colors/default_color = Color(1, 1, 1, 0.611765) -theme_override_styles/focus = SubResource("StyleBoxEmpty_5tav8") -theme_override_styles/normal = SubResource("StyleBoxEmpty_mamwx") -bbcode_enabled = true -text = "There are a number of useful commands you can use in text events:" -fit_content = true - -[node name="MultilineText" parent="InformationSection" instance=ExtResource("4_0hlwb")] -layout_mode = 2 -theme_override_colors/font_readonly_color = Color(1, 1, 1, 1) -text = "Use [speed=x] to change the speed multiplier (affects letter speed and pauses). 1 = no effect, 2 = half speed, 0.5 = double speed, 0 = instant -Use [lspeed=x] to change the letter speed (affected by the speed) or [lspeed=x!] to change the letter speed absolutely -Use [br] to add a line break -Use to insert a random entry -Use [portrait=sad] to change the portrait of the speaker -Use [pause=x] to pauses for x seconds (affected by the speed) or [pause=x!] to pause for x seconds (absolute, not affected by speed -Use [mood=sad] to change the typing sound mood -Use [signal=arg] to emit the Dialogic.text_signal" -editable = false -syntax_highlighter = SubResource("SyntaxHighlighter_u3bqq") - -[node name="Info2" type="RichTextLabel" parent="InformationSection"] -unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 3 -theme_override_colors/default_color = Color(1, 1, 1, 0.611765) -theme_override_fonts/italics_font = SubResource("FontVariation_52y0p") -theme_override_styles/focus = SubResource("StyleBoxEmpty_5tav8") -theme_override_styles/normal = SubResource("StyleBoxEmpty_mamwx") -bbcode_enabled = true -text = "Also you can use the bbcode commands like [i][ i ] [/i], [b][ b ][/b], [u][ u ] [/u], [color=orange][ color=orange ][/color], [[wave]wave[/wave]], or [ img] [img=30x30]res://addons/dialogic/Editor/Images/plugin-icon.svg[/img] [/img]. -Learn more about bbcode in the official godot docs." -fit_content = true - [connection signal="value_changed" from="VBoxContainer/VBox/DefaultSpeed" to="." method="_on_DefaultSpeed_value_changed"] [connection signal="value_changed" from="VBoxContainer/VBox/InputAction" to="." method="_on_InputAction_value_changed"] [connection signal="toggled" from="VBoxContainer/VBox/Skippable/Skippable" to="." method="_on_Skippable_toggled"]