diff --git a/godot/assets/AlphacodeBeyond-Regular.ttf b/godot/assets/AlphacodeBeyond-Regular.ttf new file mode 100644 index 0000000..9d80fa2 Binary files /dev/null and b/godot/assets/AlphacodeBeyond-Regular.ttf differ diff --git a/godot/assets/alien_font.tres b/godot/assets/alien_font.tres new file mode 100644 index 0000000..e875715 --- /dev/null +++ b/godot/assets/alien_font.tres @@ -0,0 +1,13 @@ +[gd_resource type="DynamicFont" load_steps=2 format=2] + +[ext_resource path="res://assets/AlphacodeBeyond-Regular.ttf" type="DynamicFontData" id=1] + +[resource] +size = 40 +outline_size = 1 +outline_color = Color( 0.333333, 0.0627451, 0.0627451, 1 ) +extra_spacing_top = 4 +extra_spacing_bottom = 3 +extra_spacing_char = 1 +extra_spacing_space = 1 +font_data = ExtResource( 1 ) diff --git a/godot/assets/meat_creek/DialogTrigger.gd b/godot/assets/meat_creek/DialogTrigger.gd index a8269db..71f6063 100644 --- a/godot/assets/meat_creek/DialogTrigger.gd +++ b/godot/assets/meat_creek/DialogTrigger.gd @@ -1,6 +1,5 @@ extends Area -var phase = 0 var dialog = null func _ready(): diff --git a/godot/assets/meat_creek/DialogTriggerObelisk.gd b/godot/assets/meat_creek/DialogTriggerObelisk.gd new file mode 100644 index 0000000..1d1ec58 --- /dev/null +++ b/godot/assets/meat_creek/DialogTriggerObelisk.gd @@ -0,0 +1,14 @@ +extends Area + +var dialog = null + +func _ready(): + pass # Replace with function body. + +func _on_DialogTrigger_body_entered(body): + dialog = Dialogic.start("obelisk") + add_child(dialog) + +func _on_DialogTrigger_body_exited(body): + if dialog != null: + dialog = null diff --git a/godot/assets/meat_creek/side_tunnel_1.tscn b/godot/assets/meat_creek/side_tunnel_1.tscn index d81973f..65d4540 100644 --- a/godot/assets/meat_creek/side_tunnel_1.tscn +++ b/godot/assets/meat_creek/side_tunnel_1.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=27 format=2] +[gd_scene load_steps=28 format=2] [ext_resource path="res://assets/meat_creek/side_tunnel_1.glb" type="PackedScene" id=1] [ext_resource path="res://player/player.tscn" type="PackedScene" id=2] @@ -22,6 +22,7 @@ [ext_resource path="res://assets/models/obelisk/obelisk.tscn" type="PackedScene" id=20] [ext_resource path="res://assets/models/meat_tentacle_small.tscn" type="PackedScene" id=21] [ext_resource path="res://assets/meat_creek/DialogTrigger.gd" type="Script" id=22] +[ext_resource path="res://assets/meat_creek/DialogTriggerObelisk.gd" type="Script" id=23] [ext_resource path="res://assets/models/meat_tentacle.tscn" type="PackedScene" id=400] [sub_resource type="PanoramaSky" id=4] @@ -300,7 +301,15 @@ transform = Transform( -0.449096, 0.167882, 0.254066, 0.12168, 0.619619, -0.0688 transform = Transform( -0.451285, 0.168114, 0.250056, -0.00507374, 0.56347, -0.271243, -0.30563, -0.257587, -0.430144, -1.93217, -0.560821, -0.363808 ) [node name="obelisk" parent="decorations" index="10" instance=ExtResource( 20 )] -transform = Transform( 1.75, 0, 0, 0, 1, 0, 0, 0, 1.25, 58.9486, 6.79926, -57.7791 ) +transform = Transform( -7.64949e-08, 0, 1, 0, 1, 0, -1.75, 0, -4.37114e-08, 0.485556, -114.994, 8.64844 ) + +[node name="DialogTrigger" type="Area" parent="decorations/obelisk" index="1"] +transform = Transform( -2.49779e-08, 0, -0.571429, 0, 1, 0, 1, 0, -4.37114e-08, -2.91174, -2.28032, -0.914494 ) +script = ExtResource( 23 ) + +[node name="CollisionShape" type="CollisionShape" parent="decorations/obelisk/DialogTrigger" index="0"] +transform = Transform( 20, 0, 0, 0, 0, 0, 0, 0, 20, 0, 2.63103, 0 ) +shape = SubResource( 5 ) [node name="blackboxes" type="Spatial" parent="." index="7"] @@ -372,6 +381,11 @@ max_wait = 30.0 [node name="Timer" type="Timer" parent="AmbientSounds/BottomWhale2" index="0"] one_shot = true +[node name="mothers voice" type="Spatial" parent="." index="14"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.428938, -102.191, 13.744 ) + +[connection signal="body_entered" from="decorations/obelisk/DialogTrigger" to="decorations/obelisk/DialogTrigger" method="_on_DialogTrigger_body_entered"] +[connection signal="body_exited" from="decorations/obelisk/DialogTrigger" to="decorations/obelisk/DialogTrigger" method="_on_DialogTrigger_body_exited"] [connection signal="body_entered" from="elevator/DialogTrigger" to="elevator/DialogTrigger" method="_on_DialogTrigger_body_entered"] [connection signal="body_exited" from="elevator/DialogTrigger" to="elevator/DialogTrigger" method="_on_DialogTrigger_body_exited"] [connection signal="finished" from="AmbientSounds/BottomWhale1" to="AmbientSounds/BottomWhale1" method="_on_sound_finished"] diff --git a/godot/assets/models/Material_003.material.tmp b/godot/assets/models/Material_003.material.tmp new file mode 100644 index 0000000..4a23758 Binary files /dev/null and b/godot/assets/models/Material_003.material.tmp differ diff --git a/godot/dialogic/characters/character-1672728520.json b/godot/dialogic/characters/character-1672728520.json new file mode 100644 index 0000000..f87adca --- /dev/null +++ b/godot/dialogic/characters/character-1672728520.json @@ -0,0 +1,21 @@ +{ + "color": "#ffffffff", + "description": "", + "display_name": "The Obelisk", + "display_name_bool": true, + "id": "character-1672728520.json", + "mirror_portraits": false, + "name": "The Obelisk", + "nickname": "", + "nickname_bool": false, + "offset_x": 0, + "offset_y": 0, + "portraits": [ + { + "name": "Default", + "path": "" + } + ], + "scale": 100, + "theme": "theme-1672728448.cfg" +} diff --git a/godot/dialogic/folder_structure.json b/godot/dialogic/folder_structure.json index 30aa9b0..ad85f7c 100644 --- a/godot/dialogic/folder_structure.json +++ b/godot/dialogic/folder_structure.json @@ -12,7 +12,8 @@ "character-1667667693.json", "character-1667667711.json", "character-1667767751.json", - "character-1672267793.json" + "character-1672267793.json", + "character-1672728520.json" ], "folders": { @@ -45,7 +46,8 @@ "default-theme.cfg", "theme-1671745159.cfg", "theme-1671748561.cfg", - "theme-1672721557.cfg" + "theme-1672721557.cfg", + "theme-1672728448.cfg" ], "folders": { @@ -74,7 +76,8 @@ "timeline-1672267892.json", "timeline-1672623960.json", "timeline-1672719153.json", - "timeline-1672725696.json" + "timeline-1672725696.json", + "timeline-1672727997.json" ], "folders": { diff --git a/godot/dialogic/settings.cfg b/godot/dialogic/settings.cfg index e3bf0a6..44ab1e5 100644 --- a/godot/dialogic/settings.cfg +++ b/godot/dialogic/settings.cfg @@ -26,4 +26,4 @@ canvas_layer=50.0 [QuickTimelineTest] -timeline_file="timeline-1667668097.json" +timeline_file="timeline-1672727997.json" diff --git a/godot/dialogic/themes/theme-1671745159.cfg b/godot/dialogic/themes/theme-1671745159.cfg index 130f23f..09324a4 100644 --- a/godot/dialogic/themes/theme-1671745159.cfg +++ b/godot/dialogic/themes/theme-1671745159.cfg @@ -65,7 +65,7 @@ animation="Up and down" [buttons] -normal=[ false, Color( 0.521569, 0.521569, 0.521569, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ] +normal=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://assets/Button01.png", false, Color( 1, 1, 1, 1 ) ] layout=1 fixed=true fixed_size=Vector2( 200, 80 ) diff --git a/godot/dialogic/themes/theme-1672728448.cfg b/godot/dialogic/themes/theme-1672728448.cfg new file mode 100644 index 0000000..7a38c5c --- /dev/null +++ b/godot/dialogic/themes/theme-1672728448.cfg @@ -0,0 +1,77 @@ +[settings] + +name="Obelisk Theme" + +[background] + +image="res://assets/MainPanel01.png" +full_width=false +modulation=false + +[box] + +size=Vector2( 1080, 600 ) +anchor=5 +portraits_behind_dialog_box=false + +[text] + +font="res://assets/alien_font.tres" +text_margin_left=50.0 +text_margin_top=60.0 +text_margin_right=-50.0 +text_margin_bottom=-80.0 +shadow=true +speed=2.0 +preview="This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it. +[wave amp=50 freq=2]You can even use effects![/wave] +This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it. +[wave amp=50 freq=2]You can even use effects![/wave] +This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it. +[wave amp=50 freq=2]You can even use effects![/wave] +This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it. +[wave amp=50 freq=2]You can even use effects![/wave] +This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it. +[wave amp=50 freq=2]You can even use effects![/wave] +This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it. +[wave amp=50 freq=2]You can even use effects![/wave] +This is preview text. You can use [color=#A5EFAC]BBCode[/color] to style it. +[wave amp=50 freq=2]You can even use effects![/wave]" +shadow_color="#9e000000" +shadow_offset=Vector2( 5, 8 ) + +[name] + +font="res://assets/title_font.tres" +position=1 +auto_color=false +shadow_visible=true +is_hidden=false + +[audio] + +typing={ +"allow_interrupt": true, +"audio_bus": "Master", +"enable": true, +"path": "res://assets/audio/typing.ogg", +"pitch": 1.0, +"pitch_rand_range": 0.0, +"volume": 0.0, +"volume_rand_range": 0.0 +} + +[next_indicator] + +animation="Up and down" + +[buttons] + +normal=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://assets/Button01.png", false, Color( 1, 1, 1, 1 ) ] +layout=1 +fixed=true +fixed_size=Vector2( 200, 80 ) +hover=[ true, Color( 0.698039, 0.698039, 0.698039, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ] +focus=[ true, Color( 0.698039, 0.698039, 0.698039, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ] +pressed=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ] +disabled=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ] diff --git a/godot/dialogic/timelines/timeline-1672725696.json b/godot/dialogic/timelines/timeline-1672725696.json index e73ef91..6ca42f5 100644 --- a/godot/dialogic/timelines/timeline-1672725696.json +++ b/godot/dialogic/timelines/timeline-1672725696.json @@ -8,7 +8,13 @@ "character": "", "event_id": "dialogic_001", "portrait": "", - "text": "(Where am I?)" + "text": "Where is this place?)" + }, + { + "character": "", + "event_id": "dialogic_001", + "portrait": "", + "text": "(Can Recovery even reach this deep below the surface?)" }, { "character": "", diff --git a/godot/dialogic/timelines/timeline-1672727997.json b/godot/dialogic/timelines/timeline-1672727997.json new file mode 100644 index 0000000..579f9cb --- /dev/null +++ b/godot/dialogic/timelines/timeline-1672727997.json @@ -0,0 +1,120 @@ +{ + "events": [ + { + "event_id": "dialogic_024", + "set_theme": "theme-1672728448.cfg" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "MOTHER CONTROL PANEL\n\n\t[*] SEED MOTHER [color=green]CERES[/color]" + }, + { + "event_id": "dialogic_015", + "id": "anchor-1634488067", + "index": 0, + "name": "Commands" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_010", + "options": [ + + ], + "portrait": "", + "question": "What is your command?" + }, + { + "choice": "View Cipher", + "condition": "", + "definition": "", + "event_id": "dialogic_011", + "value": "" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "CIPHER\n\n1A\n2B\n3C\n4D\n5E\n6F" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "CIPHER\n\n7G\n8H\n9I\n0J\n1K\n2L" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "CIPHER\n\n3M\n4N\n5O\n6P\n7Q\n8R" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "CIPHER\n\n9S\n0T\n1U\n2V\n3W\n4X" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "CIPHER\n\n5Y\n6Z" + }, + { + "anchor_id": "anchor-1634488067", + "event_id": "dialogic_016" + }, + { + "choice": "Seed Status", + "condition": "", + "definition": "", + "event_id": "dialogic_011", + "value": "" + }, + { + "character": "", + "event_id": "dialogic_001", + "portrait": "", + "text": "LAST OBELISK TERMINAL ACCESS:\n\n\t[/color=green]Ten thousand years ago[/color]\n\t\nLAST STATUS:\n\n\t[/color=green]Seed ripening[/color]" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "SEED PLANET:\n\t\n\t[color=green]EARTH[/color]\n\nAGE:\n\t\n\t[color=green]three point seven billion Earth years[/color]" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "POPULATION:\n\n\t[color=green]TEN BILLION[/color]\n\t\nCIVILIZATION STATUS:\n\t\n\t\t[color=green]SPACEFLIGHT[/color]" + }, + { + "character": "character-1672728520.json", + "event_id": "dialogic_001", + "portrait": "", + "text": "COLLECTION STATUS:\n\n\t[color=green]IMMINENT[/color]\n\t\n\t[color=red]CONTAINMENT[/color] ADVISED" + }, + { + "choice": "EXIT", + "condition": "", + "definition": "", + "event_id": "dialogic_011", + "value": "" + }, + { + "event_id": "dialogic_013" + }, + { + "event_id": "dialogic_022", + "transition_duration": 1 + } + ], + "metadata": { + "dialogic-version": "1.4.5", + "file": "timeline-1672727997.json", + "name": "obelisk" + } +} diff --git a/godot/player/player.tscn b/godot/player/player.tscn index f9fcbab..d3641c8 100644 --- a/godot/player/player.tscn +++ b/godot/player/player.tscn @@ -170,6 +170,7 @@ shader_param/texture_albedo = ExtResource( 22 ) [node name="Player" type="Spatial"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.750395, 0 ) script = ExtResource( 3 ) +can_glide = true [node name="Smoothing" type="Spatial" parent="."] script = ExtResource( 5 )