[gd_scene load_steps=24 format=4 uid="uid://ef0nvq0ikdjg"]

[ext_resource type="PackedScene" uid="uid://bwe2jdmvinhqd" path="res://src/player/player.tscn" id="1_kfkc5"]
[ext_resource type="ArrayMesh" uid="uid://bc476v18chh3o" path="res://assets/level/floor/floor_1.mesh" id="2_eqm4j"]
[ext_resource type="ArrayMesh" uid="uid://gaekd6523jwo" path="res://assets/level/floor/floor_2.mesh" id="3_yqrx7"]
[ext_resource type="ArrayMesh" uid="uid://b3dnnod3nih10" path="res://assets/level/wall/wall_1.mesh" id="4_yy6sa"]
[ext_resource type="ArrayMesh" uid="uid://cphc3nx1xqrgw" path="res://assets/level/wall/wall_2.mesh" id="5_rpeyx"]
[ext_resource type="ArrayMesh" uid="uid://uvq4b445w8dv" path="res://assets/level/wall/wall_3.mesh" id="6_emb7q"]
[ext_resource type="ArrayMesh" uid="uid://iachnau2wfjg" path="res://assets/level/wall/wall_4.mesh" id="7_emb7q"]
[ext_resource type="ArrayMesh" uid="uid://dhutbkqatlwpa" path="res://assets/level/ceiling/ceiling_1.mesh" id="7_u881q"]
[ext_resource type="ArrayMesh" uid="uid://c8aauxqfa3w3b" path="res://assets/level/ceiling/ceiling_2.mesh" id="8_2mqye"]
[ext_resource type="ArrayMesh" uid="uid://cqd0a7ousx01n" path="res://assets/level/hallway/hallway_1.mesh" id="13_muvdl"]
[ext_resource type="Material" uid="uid://djoqy5skkmabr" path="res://assets/level/t-junction/t-junction_1.material" id="13_vx5xa"]
[ext_resource type="Material" uid="uid://csu11a0qxtg2g" path="res://assets/level/t-junction/t-junction_2.material" id="14_2mqye"]
[ext_resource type="ArrayMesh" uid="uid://5jt7xxr05lw3" path="res://assets/level/hallway/hallway_2.mesh" id="14_bbps6"]
[ext_resource type="ArrayMesh" uid="uid://o6k7ebet848p" path="res://assets/level/hallway/hallway_3.mesh" id="15_tbq5c"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_om6ib"]

[sub_resource type="Sky" id="Sky_8jqw1"]
sky_material = SubResource("ProceduralSkyMaterial_om6ib")

[sub_resource type="Environment" id="Environment_4nlsy"]
background_mode = 1
sky = SubResource("Sky_8jqw1")
ambient_light_source = 2
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_energy = 0.06
tonemap_mode = 3
glow_enabled = true
glow_bloom = 0.1
fog_enabled = true
fog_light_color = Color(0, 0, 0, 1)
fog_density = 0.2

[sub_resource type="PlaneMesh" id="PlaneMesh_1krrn"]
size = Vector2(6, 6)

[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_imll7"]

[sub_resource type="ArrayMesh" id="ArrayMesh_8am31"]
_surfaces = [{
"aabb": AABB(-1.5, 0, -1.5, 3, 3, 3),
"format": 34896613377,
"index_count": 18,
"index_data": PackedByteArray("AAABAAIAAQAAAAMAAwAAAAQAAgABAAUABQAGAAIABwAGAAUA"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 8,
"vertex_data": PackedByteArray("AAAAAAAAAAAAAAAA//8AAAAA//8AAAAA//8AAP//AAD//wAAAAAAAAAA/////wAA/////wAAAAD///////8AAA==")
}]
blend_shape_mode = 0

[sub_resource type="ArrayMesh" id="ArrayMesh_m53g0"]
_surfaces = [{
"aabb": AABB(-1.5, 0, -1.5, 3, 3, 3),
"attribute_data": PackedByteArray("AABUVVRVVFUAAKqqVFWqqlRVVFUAAFRVVFUAAAAAAABUVf//AAD//1RVqqoAAKqq"),
"format": 34896613399,
"index_count": 18,
"index_data": PackedByteArray("AAABAAIAAgABAAMABAAFAAYABgAFAAcACAAJAAoACgAJAAsA"),
"material": ExtResource("13_vx5xa"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray("AAAAAAAA//8AAAAA/////wAA//8AAP//AAD///////8AAAAA//9U1QAAAAAAAFTV//8AAP//VNX//wAAAABU1f///////1TV/////wAAVNUAAP////9U1QAA//8AAFTV/7//f/+//3//v/9//7//f6qqqqqqqqqqqqqqqqqqqqqqKlTVqipU1aoqVNWqKlTV")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_8am31")

[sub_resource type="ArrayMesh" id="ArrayMesh_qn1y2"]
_surfaces = [{
"aabb": AABB(-1.5, 0, -1.5, 3, 3, 3),
"format": 34896613377,
"index_count": 18,
"index_data": PackedByteArray("AAABAAIAAQAAAAMAAwAAAAQAAgABAAUABQAGAAIABwAGAAUA"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 8,
"vertex_data": PackedByteArray("AAAAAAAAAAAAAAAA//8AAAAA//8AAAAA//8AAP//AAD//wAAAAAAAAAA/////wAA/////wAAAAD///////8AAA==")
}]
blend_shape_mode = 0

[sub_resource type="ArrayMesh" id="ArrayMesh_4m454"]
_surfaces = [{
"aabb": AABB(-1.5, 0, -1.5, 3, 3, 3),
"attribute_data": PackedByteArray("AABUVVRVVFUAAKqqVFWqqlRVVFUAAFRVVFUAAAAAAABUVf//AAD//1RVqqoAAKqq"),
"format": 34896613399,
"index_count": 18,
"index_data": PackedByteArray("AAABAAIAAgABAAMABAAFAAYABgAFAAcACAAJAAoACgAJAAsA"),
"material": ExtResource("14_2mqye"),
"name": "Cube",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray("AAAAAAAA//8AAAAA/////wAA//8AAP//AAD///////8AAAAA//9U1QAAAAAAAFTV//8AAP//VNX//wAAAABU1f///////1TV/////wAAVNUAAP////9U1QAA//8AAFTV/7//f/+//3//v/9//7//f6qqqqqqqqqqqqqqqqqqqqqqKlTVqipU1aoqVNWqKlTV")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_qn1y2")

[node name="AssetTest" type="Node3D"]

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_4nlsy")

[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.87456, -4)
light_energy = 8.0
shadow_enabled = true
omni_range = 20.0

[node name="OmniLight3D2" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1.87456, -4)
light_energy = 8.0
shadow_enabled = true
omni_range = 20.0

[node name="OmniLight3D3" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1.87456, 10)
light_energy = 8.0
shadow_enabled = true
omni_range = 20.0

[node name="OmniLight3D4" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1.87456, 10)
light_energy = 8.0
shadow_enabled = true
omni_range = 20.0

[node name="OmniLight3D5" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 1.87456, 10)
light_energy = 8.0
shadow_enabled = true
omni_range = 20.0

[node name="Player" parent="." instance=ExtResource("1_kfkc5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)

[node name="Floor" type="StaticBody3D" parent="."]

[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"]
mesh = SubResource("PlaneMesh_1krrn")
skeleton = NodePath("../..")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
shape = SubResource("WorldBoundaryShape3D_imll7")

[node name="Assets" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -4)

[node name="Floors" type="Node3D" parent="Assets"]

[node name="Floor1" type="MeshInstance3D" parent="Assets/Floors"]
mesh = ExtResource("2_eqm4j")
skeleton = NodePath("../..")

[node name="Floor2" type="MeshInstance3D" parent="Assets/Floors"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
mesh = ExtResource("3_yqrx7")
skeleton = NodePath("../..")

[node name="Walls" type="Node3D" parent="Assets"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1)

[node name="Wall1" type="MeshInstance3D" parent="Assets/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
mesh = ExtResource("4_yy6sa")

[node name="Wall2" type="MeshInstance3D" parent="Assets/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 2, 0, 0)
mesh = ExtResource("5_rpeyx")

[node name="Wall3" type="MeshInstance3D" parent="Assets/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 4, 0, 0)
mesh = ExtResource("6_emb7q")

[node name="Wall4" type="MeshInstance3D" parent="Assets/Walls"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 6, 0, 0)
mesh = ExtResource("7_emb7q")

[node name="Ceilings" type="Node3D" parent="Assets"]

[node name="Ceiling1" type="MeshInstance3D" parent="Assets/Ceilings"]
transform = Transform3D(1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 2, 0)
mesh = ExtResource("7_u881q")

[node name="Ceiling2" type="MeshInstance3D" parent="Assets/Ceilings"]
transform = Transform3D(-4.37114e-08, 0, -1, -8.74228e-08, -1, 3.82137e-15, -1, 8.74228e-08, 4.37114e-08, 2, 2, 0)
mesh = ExtResource("8_2mqye")

[node name="Hallways" type="Node3D" parent="Assets"]

[node name="Hallway1" type="MeshInstance3D" parent="Assets/Hallways"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, 13)
mesh = ExtResource("13_muvdl")
skeleton = NodePath("../..")

[node name="Hallway2" type="MeshInstance3D" parent="Assets/Hallways"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 13)
mesh = ExtResource("14_bbps6")

[node name="Hallway3" type="MeshInstance3D" parent="Assets/Hallways"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 13)
mesh = ExtResource("15_tbq5c")

[node name="T-Junctions" type="Node3D" parent="Assets"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4, 0, 20.5)

[node name="T-Junction1" type="MeshInstance3D" parent="Assets/T-Junctions"]
mesh = SubResource("ArrayMesh_m53g0")
skeleton = NodePath("../..")

[node name="T-Junction2" type="MeshInstance3D" parent="Assets/T-Junctions"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3)
mesh = SubResource("ArrayMesh_4m454")
skeleton = NodePath("../..")
