[gd_scene load_steps=23 format=3 uid="uid://dchj6g2i8ebph"] [ext_resource type="Script" uid="uid://brgmxhhhtakja" path="res://scenes/Levels/level.gd" id="1_a4mo8"] [ext_resource type="PackedScene" uid="uid://bb6hj6l23043x" path="res://assets/models/human.blend" id="1_eg4yq"] [ext_resource type="Script" uid="uid://bpxggc8nr6tf6" path="res://scenes/player.gd" id="1_muv8p"] [ext_resource type="PackedScene" uid="uid://c5of6aaxop1hl" path="res://scenes/block.tscn" id="2_tc7dm"] [ext_resource type="Script" uid="uid://b7fopt7sx74g8" path="res://scenes/Levels/menu.gd" id="3_tc7dm"] [ext_resource type="PackedScene" path="res://scenes/Characters/repo_bot.tscn" id="4_repo"] [ext_resource type="PackedScene" path="res://scenes/Vehicles/car.tscn" id="5_car"] [ext_resource type="PackedScene" uid="uid://bnqaqbgynoyys" path="res://assets/models/TestCharAnimated.glb" id="5_fi66n"] [ext_resource type="Script" uid="uid://bk53njt7i3kmv" path="res://scenes/Interaction/dialog_trigger_area.gd" id="6_dialog"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_2q6dc"] bounce = 0.5 [sub_resource type="SphereShape3D" id="SphereShape3D_2q6dc"] [sub_resource type="SphereMesh" id="SphereMesh_w7c3h"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_w8frs"] bounce = 0.5 [sub_resource type="SphereShape3D" id="SphereShape3D_mx8sn"] [sub_resource type="SphereShape3D" id="SphereShape3D_dialog_zone"] radius = 2.5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dialog_zone"] transparency = 1 cull_mode = 2 shading_mode = 0 albedo_color = Color(0.2, 0.8, 0.35, 0.18) [sub_resource type="SphereMesh" id="SphereMesh_dialog_zone"] material = SubResource("StandardMaterial3D_dialog_zone") radius = 2.5 height = 5.0 [sub_resource type="BoxShape3D" id="BoxShape3D_2q6dc"] size = Vector3(1080, 2, 1080) [sub_resource type="BoxMesh" id="BoxMesh_w7c3h"] size = Vector3(1080, 2, 1080) [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fi66n"] [sub_resource type="Sky" id="Sky_a4mo8"] sky_material = SubResource("ProceduralSkyMaterial_fi66n") [sub_resource type="Environment" id="Environment_a4mo8"] background_mode = 2 sky = SubResource("Sky_a4mo8") ambient_light_source = 3 [node name="Node3D" type="Node3D"] script = ExtResource("1_a4mo8") [node name="human" parent="." instance=ExtResource("1_eg4yq")] [node name="RepoBot" parent="." instance=ExtResource("4_repo")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9426608, 0, -4.4451966) look_target_path = NodePath("../Player") [node name="Thing" type="RigidBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3.7986288) physics_material_override = SubResource("PhysicsMaterial_2q6dc") gravity_scale = 0.0 contact_monitor = true max_contacts_reported = 5 [node name="CollisionShape3D" type="CollisionShape3D" parent="Thing"] shape = SubResource("SphereShape3D_2q6dc") debug_color = Color(0.29772994, 0.6216631, 0.28140613, 0.41960785) [node name="MeshInstance3D" type="MeshInstance3D" parent="Thing"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) mesh = SubResource("SphereMesh_w7c3h") [node name="Player" type="RigidBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.6563287, 0, 0) physics_material_override = SubResource("PhysicsMaterial_w8frs") script = ExtResource("1_muv8p") camera_path = NodePath("Camera3D") phone_path = NodePath("../PhoneUI") [node name="TestCharAnimated" parent="Player" instance=ExtResource("5_fi66n")] transform = Transform3D(-0.9998549, 0, 0.01703362, 0, 1, 0, -0.01703362, 0, -0.9998549, 0, 0, 0) [node name="Skeleton3D" parent="Player/TestCharAnimated/Armature" index="0"] bones/0/position = Vector3(0.002616825, -0.0012634661, -0.98995954) bones/0/rotation = Quaternion(-0.7278332, -0.05342924, 0.012382713, 0.6835575) bones/1/position = Vector3(8.593209e-06, 0.09923458, -0.012273359) bones/1/rotation = Quaternion(-0.03163086, 0.011397719, 0.022761386, 0.9991754) bones/2/position = Vector3(-2.2989244e-10, 0.117319785, 2.9730852e-08) bones/2/rotation = Quaternion(0.0102874795, 0.0011603195, 0.013812066, 0.99985105) bones/3/position = Vector3(-2.3358266e-09, 0.13458829, -1.382244e-08) bones/3/rotation = Quaternion(0.06755522, 0.0021543663, 0.013774819, 0.99761814) bones/4/position = Vector3(2.508626e-07, 0.15027755, 0.008779066) bones/4/rotation = Quaternion(0.051899955, -0.00089839776, 0.0039267424, 0.9986442) bones/5/position = Vector3(2.152588e-08, 0.103218146, 0.03142428) bones/5/rotation = Quaternion(-0.06595736, 0.011938445, -0.0014933152, 0.9977499) bones/6/position = Vector3(1.5477327e-06, 0.18474667, 0.06636399) bones/7/position = Vector3(0.061058242, 0.09106279, 0.0075706206) bones/7/rotation = Quaternion(-0.598225, -0.43451372, 0.5076822, -0.44224826) bones/8/position = Vector3(1.1842036e-08, 0.12922287, 5.2578955e-08) bones/8/rotation = Quaternion(0.543452, 0.18399428, 0.20302251, 0.79346573) bones/9/position = Vector3(1.5054144e-07, 0.2740467, 2.2048344e-08) bones/9/rotation = Quaternion(-5.2907154e-09, -1.1239725e-06, 0.012734968, 0.999919) bones/10/position = Vector3(1.9432857e-08, 0.27614468, 9.6609995e-08) bones/10/rotation = Quaternion(0.04830448, -0.2848921, 0.026799988, 0.9569665) bones/11/position = Vector3(-0.030029751, 0.037888147, 0.021671427) bones/11/rotation = Quaternion(0.2098604, -0.059559863, 0.20750383, 0.9536002) bones/12/position = Vector3(-3.3527822e-08, 0.0474497, -1.48403245e-08) bones/12/rotation = Quaternion(-0.14269812, 0.08661232, -0.24053419, 0.9561793) bones/13/position = Vector3(-9.313215e-09, 0.043821093, 1.7813335e-08) bones/13/rotation = Quaternion(-0.121022485, -0.07554186, 0.024044419, 0.98947906) bones/14/position = Vector3(-4.847594e-08, 0.034590863, -5.3379924e-08) bones/15/position = Vector3(-0.02822038, 0.12266627, 0.0023182186) bones/15/rotation = Quaternion(0.06621808, 0.00073213095, 0.008435749, 0.99776924) bones/16/position = Vector3(-8.136956e-09, 0.03891963, -1.4837047e-08) bones/16/rotation = Quaternion(0.1509963, 7.805282e-07, -0.015479834, 0.98841316) bones/17/position = Vector3(7.499967e-09, 0.034151517, -5.4443618e-08) bones/17/rotation = Quaternion(0.070082076, 7.71772e-07, -0.007181638, 0.99751544) bones/18/position = Vector3(2.700483e-09, 0.030779874, 4.9589467e-08) bones/19/position = Vector3(-1.2452401e-07, 0.12775533, -8.01722e-08) bones/19/rotation = Quaternion(0.13653132, -0.0038339633, -0.022952663, 0.9903624) bones/20/position = Vector3(2.5990463e-09, 0.036139663, 1.713758e-10) bones/20/rotation = Quaternion(0.15125485, 1.1823237e-06, -0.015500045, 0.9883733) bones/21/position = Vector3(2.9034163e-07, 0.034597658, -3.6051716e-08) bones/21/rotation = Quaternion(0.1599333, 1.4124467e-06, -0.016389191, 0.98699176) bones/22/position = Vector3(-3.0519334e-07, 0.03680197, -9.1170705e-08) bones/23/position = Vector3(0.022166358, 0.12147022, -9.993157e-05) bones/23/rotation = Quaternion(0.18325116, -0.004651328, -0.031451236, 0.9825519) bones/24/position = Vector3(4.5585904e-09, 0.036011815, -8.07135e-09) bones/24/rotation = Quaternion(0.18138836, 1.5675009e-06, -0.018595627, 0.9832358) bones/25/position = Vector3(-9.647604e-09, 0.033073086, -1.46341534e-08) bones/25/rotation = Quaternion(0.1552087, 2.2643005e-06, -0.015905593, 0.9877537) bones/26/position = Vector3(-2.434721e-07, 0.03660111, 2.471306e-07) bones/27/position = Vector3(0.04725836, 0.109081924, 0.0022613404) bones/27/rotation = Quaternion(0.23387046, -0.0035344863, -0.048872076, 0.97103226) bones/28/position = Vector3(4.3135207e-09, 0.041366525, 3.569472e-08) bones/28/rotation = Quaternion(0.15124865, 1.4340599e-05, -0.015863812, 0.98836845) bones/29/position = Vector3(1.195453e-08, 0.02594832, 1.5542597e-08) bones/29/rotation = Quaternion(0.14350323, 3.322942e-05, -0.014478063, 0.98954403) bones/30/position = Vector3(-2.4944999e-08, 0.029238665, 6.2325825e-08) bones/31/position = Vector3(-0.06105696, 0.09106397, 0.007570758) bones/31/rotation = Quaternion(0.60012215, -0.43466684, 0.5242142, 0.41966385) bones/32/position = Vector3(2.116817e-08, 0.12922288, 7.016769e-08) bones/32/rotation = Quaternion(0.46436408, -0.26298717, -0.23268588, 0.8130566) bones/33/position = Vector3(-2.350565e-08, 0.27404687, 1.5161348e-08) bones/33/rotation = Quaternion(7.69042e-08, -5.0622584e-06, -0.058380682, 0.9982944) bones/34/position = Vector3(1.3629875e-07, 0.27614468, -9.158248e-09) bones/34/rotation = Quaternion(0.059025347, 0.17513894, -0.005969527, 0.9827547) bones/35/position = Vector3(0.030029776, 0.03788806, 0.021671649) bones/35/rotation = Quaternion(0.21378386, 0.065372065, -0.22564878, 0.94821185) bones/36/position = Vector3(-2.7939748e-09, 0.04744962, -1.7240383e-08) bones/36/rotation = Quaternion(-0.14410053, -0.076146945, 0.2772088, 0.9468854) bones/37/position = Vector3(5.58785e-09, 0.04382136, 3.566345e-08) bones/37/rotation = Quaternion(-0.1552004, 0.07467698, -0.026057797, 0.9847117) bones/38/position = Vector3(8.2187e-08, 0.034590647, -2.4929412e-07) bones/39/position = Vector3(0.028220426, 0.1226661, 0.0023184721) bones/39/rotation = Quaternion(0.059513006, -0.0009918809, -0.010980465, 0.99816674) bones/40/position = Vector3(-1.1795999e-08, 0.038919587, -4.9162594e-09) bones/40/rotation = Quaternion(0.15128906, 2.1640317e-06, 0.012328284, 0.98841274) bones/41/position = Vector3(-1.4053852e-07, 0.034151636, -1.1118345e-08) bones/41/rotation = Quaternion(0.07021882, 5.966413e-07, 0.0057199914, 0.9975152) bones/42/position = Vector3(-7.1266735e-09, 0.030779934, 3.7720538e-10) bones/43/position = Vector3(1.69263e-07, 0.12775521, 2.5128352e-07) bones/43/rotation = Quaternion(0.13051407, 0.003691554, 0.018921439, 0.99125904) bones/44/position = Vector3(4.8907918e-09, 0.036139727, -8.499214e-09) bones/44/rotation = Quaternion(0.15154669, 1.6962191e-06, 0.012345144, 0.988373) bones/45/position = Vector3(-2.8403383e-07, 0.03459763, -4.4995545e-09) bones/45/rotation = Quaternion(0.16023898, 1.233635e-06, 0.013053549, 0.98699194) bones/46/position = Vector3(2.8485744e-07, 0.03680191, -9.493007e-09) bones/47/position = Vector3(-0.022166327, 0.12146996, -9.982591e-05) bones/47/rotation = Quaternion(0.1774532, 0.0045050457, 0.02645378, 0.98376334) bones/48/position = Vector3(4.6136024e-09, 0.036011953, 3.056637e-08) bones/48/rotation = Quaternion(0.18173504, 1.8501213e-06, 0.014812392, 0.98323596) bones/49/position = Vector3(-3.407626e-08, 0.033073153, 1.8664657e-08) bones/49/rotation = Quaternion(0.15551038, 3.26233e-07, 0.012668259, 0.98775303) bones/50/position = Vector3(2.3113911e-07, 0.03660121, -1.1142021e-08) bones/51/position = Vector3(-0.047258336, 0.109081805, 0.0022614468) bones/51/rotation = Quaternion(0.22849467, 0.003407588, 0.042977322, 0.97259015) bones/52/position = Vector3(-1.5261804e-08, 0.041366428, -1.9607107e-09) bones/52/rotation = Quaternion(0.1515478, 7.4422354e-07, 0.01235583, 0.98837274) bones/53/position = Vector3(1.4340932e-08, 0.025948457, 3.3946527e-08) bones/53/rotation = Quaternion(0.14377311, 5.8452275e-07, 0.011701506, 0.98954153) bones/54/position = Vector3(4.750415e-09, 0.029238641, -1.2388978e-09) bones/55/position = Vector3(0.09123873, -0.06657194, -0.0005540352) bones/55/rotation = Quaternion(0.136, 0.07837879, 0.98449296, -0.07832257) bones/56/position = Vector3(-1.3288446e-09, 0.40599436, 1.0443015e-08) bones/56/rotation = Quaternion(-0.1325433, -0.014470397, 0.03215335, 0.9905499) bones/57/position = Vector3(5.707578e-09, 0.42099008, -1.5425995e-08) bones/57/rotation = Quaternion(0.5344709, -0.021695312, -0.027452054, 0.8444624) bones/58/position = Vector3(-6.5650525e-09, 0.15721555, -2.6694579e-08) bones/58/rotation = Quaternion(0.2693438, -0.032380052, -0.014592491, 0.96238893) bones/59/position = Vector3(2.4854705e-08, 0.09999996, -3.1755625e-09) bones/60/position = Vector3(-0.091250315, -0.066556, -0.0005535231) bones/60/rotation = Quaternion(-0.09026675, -0.016730117, 0.9954149, -0.026855767) bones/61/position = Vector3(1.3129254e-08, 0.40599442, 3.8557886e-09) bones/61/rotation = Quaternion(-0.07409451, 0.08402694, -0.024555309, 0.9934016) bones/62/position = Vector3(-7.3885964e-10, 0.42099023, -5.226429e-09) bones/62/rotation = Quaternion(0.5654398, 0.01134551, -0.008516049, 0.8246677) bones/63/position = Vector3(7.93632e-09, 0.1572156, -2.6982683e-10) bones/63/rotation = Quaternion(0.2890854, 0.031904142, 0.014081784, 0.9566679) bones/64/position = Vector3(7.567915e-10, 0.099999994, -3.2595668e-09) [node name="CollisionShape3D" type="CollisionShape3D" parent="Player"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) shape = SubResource("SphereShape3D_mx8sn") [node name="Camera3D" type="Camera3D" parent="Player"] transform = Transform3D(0.9989785, -4.651856e-10, -0.045188628, 0.006969331, 0.9880354, 0.15407, 0.044647958, -0.15422754, 0.9870261, 0.22036135, 1.8988357, 0.64972365) current = true fov = 49.0 [node name="SpotLight3D" type="SpotLight3D" parent="Player"] [node name="Car" parent="." instance=ExtResource("5_car")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -3) [node name="DialogZone" type="Area3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0, -2.5) script = ExtResource("6_dialog") prompt_text = "Press E to inspect area" dialog_text = "Dialog trigger area" [node name="CollisionShape3D" type="CollisionShape3D" parent="DialogZone"] shape = SubResource("SphereShape3D_dialog_zone") [node name="Visual" type="MeshInstance3D" parent="DialogZone"] mesh = SubResource("SphereMesh_dialog_zone") [node name="AutoDialogZone" type="Area3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0, -6.5) script = ExtResource("6_dialog") dialog_text = "Auto dialog trigger" auto_popup = true auto_popup_close_on_exit = true [node name="CollisionShape3D" type="CollisionShape3D" parent="AutoDialogZone"] shape = SubResource("SphereShape3D_dialog_zone") [node name="Visual" type="MeshInstance3D" parent="AutoDialogZone"] transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0) mesh = SubResource("SphereMesh_dialog_zone") [node name="Ground" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"] shape = SubResource("BoxShape3D_2q6dc") [node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00053596497, 0.0075991154, -0.0019865036) mesh = SubResource("BoxMesh_w7c3h") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.5, 0.8660253, 0, -0.8660253, 0.5, 0, 34, 0) shadow_enabled = true [node name="Starter Blocks" type="Node3D" parent="."] [node name="Block" parent="Starter Blocks" instance=ExtResource("2_tc7dm")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.298158, -7.0724635) [node name="Block2" parent="Starter Blocks" instance=ExtResource("2_tc7dm")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.63255787, 2.596316, -6.980046) [node name="Menu" type="CanvasLayer" parent="."] process_mode = 3 visible = false script = ExtResource("3_tc7dm") [node name="Control" type="Control" parent="Menu"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 size_flags_vertical = 4 [node name="VBoxContainer" type="VBoxContainer" parent="Menu/Control"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -39.5 offset_top = -33.0 offset_right = 39.5 offset_bottom = 33.0 grow_horizontal = 2 grow_vertical = 2 [node name="ContinueButton" type="Button" parent="Menu/Control/VBoxContainer"] layout_mode = 2 text = "Continue" [node name="MainMenuButton" type="Button" parent="Menu/Control/VBoxContainer"] layout_mode = 2 text = "Main Menu" [node name="QuitButton" type="Button" parent="Menu/Control/VBoxContainer"] layout_mode = 2 text = "Quit" [node name="PhoneUI" type="CanvasLayer" parent="."] layer = 5 visible = false [node name="Control" type="Control" parent="PhoneUI"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="PhoneFrame" type="ColorRect" parent="PhoneUI/Control"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -180.0 offset_top = -320.0 offset_right = 180.0 offset_bottom = 320.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.08, 0.08, 0.1, 1) [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_a4mo8") [connection signal="pressed" from="Menu/Control/VBoxContainer/ContinueButton" to="Menu" method="_on_continue_button_pressed"] [connection signal="pressed" from="Menu/Control/VBoxContainer/MainMenuButton" to="Menu" method="_on_main_menu_button_pressed"] [connection signal="pressed" from="Menu/Control/VBoxContainer/QuitButton" to="Menu" method="_on_quit_button_pressed"] [editable path="Player/TestCharAnimated"]