[gd_scene load_steps=35 format=3] [ext_resource type="Script" path="res://scripts/gameplay/hub_room.gd" id="1_room"] [ext_resource type="PackedScene" path="res://scenes/player.tscn" id="2_player"] [ext_resource type="PackedScene" path="res://scenes/ui/debug_overlay.tscn" id="3_debug"] [ext_resource type="Script" path="res://scripts/gameplay/zone_trigger.gd" id="4_zone"] [ext_resource type="Script" path="res://scripts/gameplay/cassian_ambush.gd" id="5_ambush"] [ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="6_bubble"] [ext_resource type="PackedScene" path="res://scenes/npcs/googly_eyes.tscn" id="90_eyes"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"] sky_top_color = Color(0.07, 0.07, 0.08, 1) sky_horizon_color = Color(0.12, 0.11, 0.1, 1) ground_bottom_color = Color(0.05, 0.05, 0.05, 1) ground_horizon_color = Color(0.12, 0.11, 0.1, 1) [sub_resource type="Sky" id="Sky_sky"] sky_material = SubResource("ProceduralSkyMaterial_sky") [sub_resource type="Environment" id="Environment_env"] background_mode = 2 sky = SubResource("Sky_sky") ambient_light_source = 3 ambient_light_color = Color(0.5, 0.48, 0.45, 1) ambient_light_energy = 0.3 tonemap_mode = 2 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_floor"] albedo_color = Color(0.3, 0.28, 0.26, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_floor"] size = Vector3(10, 1, 8) [sub_resource type="BoxMesh" id="BoxMesh_floor"] material = SubResource("StandardMaterial3D_floor") size = Vector3(10, 1, 8) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_structure"] albedo_color = Color(0.36, 0.34, 0.32, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_wall_ns"] size = Vector3(11, 3, 0.5) [sub_resource type="BoxMesh" id="BoxMesh_wall_ns"] material = SubResource("StandardMaterial3D_structure") size = Vector3(11, 3, 0.5) [sub_resource type="BoxShape3D" id="BoxShape3D_wall_ew"] size = Vector3(0.5, 3, 9) [sub_resource type="BoxMesh" id="BoxMesh_wall_ew"] material = SubResource("StandardMaterial3D_structure") size = Vector3(0.5, 3, 9) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_shelf"] albedo_color = Color(0.38, 0.3, 0.22, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_shelf"] size = Vector3(2.4, 2.2, 0.7) [sub_resource type="BoxMesh" id="BoxMesh_shelf"] material = SubResource("StandardMaterial3D_shelf") size = Vector3(2.4, 2.2, 0.7) [sub_resource type="BoxShape3D" id="BoxShape3D_crate"] size = Vector3(0.8, 0.8, 0.8) [sub_resource type="BoxMesh" id="BoxMesh_crate"] material = SubResource("StandardMaterial3D_shelf") size = Vector3(0.8, 0.8, 0.8) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cassian"] albedo_color = Color(0.42, 0.3, 0.32, 1) [sub_resource type="CapsuleMesh" id="CapsuleMesh_cassian"] material = SubResource("StandardMaterial3D_cassian") radius = 0.4 height = 1.8 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wren"] albedo_color = Color(0.45, 0.72, 0.45, 1) [sub_resource type="CapsuleMesh" id="CapsuleMesh_wren"] material = SubResource("StandardMaterial3D_wren") radius = 0.4 height = 1.8 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_scherge"] albedo_color = Color(0.3, 0.28, 0.3, 1) [sub_resource type="CapsuleMesh" id="CapsuleMesh_scherge"] material = SubResource("StandardMaterial3D_scherge") radius = 0.38 height = 1.7 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_npc"] radius = 0.4 height = 1.8 [sub_resource type="BoxShape3D" id="BoxShape3D_ambush"] size = Vector3(3.5, 2, 3) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_trigger"] transparency = 1 albedo_color = Color(0.3, 0.8, 1, 0.35) [sub_resource type="BoxShape3D" id="BoxShape3D_door_s"] size = Vector3(2, 2, 1) [sub_resource type="BoxMesh" id="BoxMesh_door_s"] material = SubResource("StandardMaterial3D_trigger") size = Vector3(2, 2, 1) [node name="MaterialRoom" type="Node3D"] script = ExtResource("1_room") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_env") [node name="DimLight" type="OmniLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.4, 0) light_color = Color(0.9, 0.85, 0.7, 1) light_energy = 1.1 omni_range = 10.0 [node name="Floor" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"] shape = SubResource("BoxShape3D_floor") [node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"] mesh = SubResource("BoxMesh_floor") [node name="Walls" type="Node3D" parent="."] [node name="WallNorth" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -4.25) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallNorth"] shape = SubResource("BoxShape3D_wall_ns") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallNorth"] mesh = SubResource("BoxMesh_wall_ns") [node name="WallSouth" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 4.25) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallSouth"] shape = SubResource("BoxShape3D_wall_ns") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallSouth"] mesh = SubResource("BoxMesh_wall_ns") [node name="WallEast" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.25, 1.5, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallEast"] shape = SubResource("BoxShape3D_wall_ew") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallEast"] mesh = SubResource("BoxMesh_wall_ew") [node name="WallWest" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.25, 1.5, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallWest"] shape = SubResource("BoxShape3D_wall_ew") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallWest"] mesh = SubResource("BoxMesh_wall_ew") [node name="Blockers" type="Node3D" parent="."] [node name="Shelf1" type="StaticBody3D" parent="Blockers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.2, 1.1, -1.6) [node name="CollisionShape3D" type="CollisionShape3D" parent="Blockers/Shelf1"] shape = SubResource("BoxShape3D_shelf") [node name="MeshInstance3D" type="MeshInstance3D" parent="Blockers/Shelf1"] mesh = SubResource("BoxMesh_shelf") [node name="Shelf2" type="StaticBody3D" parent="Blockers"] transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 1.4, 1.1, 0.4) [node name="CollisionShape3D" type="CollisionShape3D" parent="Blockers/Shelf2"] shape = SubResource("BoxShape3D_shelf") [node name="MeshInstance3D" type="MeshInstance3D" parent="Blockers/Shelf2"] mesh = SubResource("BoxMesh_shelf") [node name="Shelf3" type="StaticBody3D" parent="Blockers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.6, 1.1, 2.2) [node name="CollisionShape3D" type="CollisionShape3D" parent="Blockers/Shelf3"] shape = SubResource("BoxShape3D_shelf") [node name="MeshInstance3D" type="MeshInstance3D" parent="Blockers/Shelf3"] mesh = SubResource("BoxMesh_shelf") [node name="Shelf4" type="StaticBody3D" parent="Blockers"] transform = Transform3D(0, 0, -1, 0, 1, 0, 1, 0, 0, 3.4, 1.1, -2.4) [node name="CollisionShape3D" type="CollisionShape3D" parent="Blockers/Shelf4"] shape = SubResource("BoxShape3D_shelf") [node name="MeshInstance3D" type="MeshInstance3D" parent="Blockers/Shelf4"] mesh = SubResource("BoxMesh_shelf") [node name="Crate1" type="StaticBody3D" parent="Blockers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.8, 0.4, 1.6) [node name="CollisionShape3D" type="CollisionShape3D" parent="Blockers/Crate1"] shape = SubResource("BoxShape3D_crate") [node name="MeshInstance3D" type="MeshInstance3D" parent="Blockers/Crate1"] mesh = SubResource("BoxMesh_crate") [node name="Crate2" type="StaticBody3D" parent="Blockers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.9, 0.4, 1.9) [node name="CollisionShape3D" type="CollisionShape3D" parent="Blockers/Crate2"] shape = SubResource("BoxShape3D_crate") [node name="MeshInstance3D" type="MeshInstance3D" parent="Blockers/Crate2"] mesh = SubResource("BoxMesh_crate") [node name="Crate3" type="StaticBody3D" parent="Blockers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.6, 0.4, -3.2) [node name="CollisionShape3D" type="CollisionShape3D" parent="Blockers/Crate3"] shape = SubResource("BoxShape3D_crate") [node name="MeshInstance3D" type="MeshInstance3D" parent="Blockers/Crate3"] mesh = SubResource("BoxMesh_crate") [node name="Triggers" type="Node3D" parent="."] [node name="TriggerRiderQuadrant" type="Area3D" parent="Triggers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.8, 1, 3.4) collision_layer = 0 collision_mask = 2 script = ExtResource("4_zone") target_scene_path = "res://scenes/hub/rider_quadrant.tscn" target_spawn_name = "FromMaterialRoom" [node name="CollisionShape3D" type="CollisionShape3D" parent="Triggers/TriggerRiderQuadrant"] shape = SubResource("BoxShape3D_door_s") [node name="MeshInstance3D" type="MeshInstance3D" parent="Triggers/TriggerRiderQuadrant"] mesh = SubResource("BoxMesh_door_s") [node name="Label3D" type="Label3D" parent="Triggers/TriggerRiderQuadrant"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0) billboard = 1 text = "Zum Hof" font_size = 40 outline_size = 12 [node name="SpawnPoints" type="Node3D" parent="."] [node name="FromRiderQuadrant" type="Marker3D" parent="SpawnPoints"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.8, 0.1, 2) [node name="Cassian" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.8, 0, -2.6) [node name="CollisionShape3D" type="CollisionShape3D" parent="Cassian"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0) shape = SubResource("CapsuleShape3D_npc") [node name="MeshInstance3D" type="MeshInstance3D" parent="Cassian"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0) mesh = SubResource("CapsuleMesh_cassian") [node name="GooglyEyes" parent="Cassian/MeshInstance3D" instance=ExtResource("90_eyes")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3) [node name="NameLabel" type="Label3D" parent="Cassian"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2, 0) billboard = 1 text = "Cassian" font_size = 64 outline_size = 16 [node name="SpeechBubble" parent="Cassian" instance=ExtResource("6_bubble")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.8, 0) [node name="AmbushWren" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.4, 0, 1) [node name="CollisionShape3D" type="CollisionShape3D" parent="AmbushWren"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0) shape = SubResource("CapsuleShape3D_npc") [node name="MeshInstance3D" type="MeshInstance3D" parent="AmbushWren"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0) mesh = SubResource("CapsuleMesh_wren") [node name="GooglyEyes" parent="AmbushWren/MeshInstance3D" instance=ExtResource("90_eyes")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3) [node name="NameLabel" type="Label3D" parent="AmbushWren"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2, 0) billboard = 1 text = "Wren" font_size = 64 outline_size = 16 [node name="SpeechBubble" parent="AmbushWren" instance=ExtResource("6_bubble")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.8, 0) [node name="Scherge1" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.4, 0, 1.2) [node name="CollisionShape3D" type="CollisionShape3D" parent="Scherge1"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) shape = SubResource("CapsuleShape3D_npc") [node name="MeshInstance3D" type="MeshInstance3D" parent="Scherge1"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) mesh = SubResource("CapsuleMesh_scherge") [node name="GooglyEyes" parent="Scherge1/MeshInstance3D" instance=ExtResource("90_eyes")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3) [node name="Scherge2" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.6, 0, -0.8) [node name="CollisionShape3D" type="CollisionShape3D" parent="Scherge2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) shape = SubResource("CapsuleShape3D_npc") [node name="MeshInstance3D" type="MeshInstance3D" parent="Scherge2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0) mesh = SubResource("CapsuleMesh_scherge") [node name="GooglyEyes" parent="Scherge2/MeshInstance3D" instance=ExtResource("90_eyes")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3) [node name="AmbushTrigger" type="Area3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0.4) collision_layer = 0 collision_mask = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="AmbushTrigger"] shape = SubResource("BoxShape3D_ambush") [node name="CassianAmbush" type="Node" parent="."] script = ExtResource("5_ambush") cassian_path = NodePath("../Cassian") wren_path = NodePath("../AmbushWren") scherge_paths = [NodePath("../Scherge1"), NodePath("../Scherge2")] trigger_path = NodePath("../AmbushTrigger") [node name="Player" parent="." instance=ExtResource("2_player")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.8, 0.1, 2) [node name="DebugOverlay" parent="." instance=ExtResource("3_debug")]