91 lines
6.2 KiB
Plaintext
91 lines
6.2 KiB
Plaintext
[gd_scene load_steps=15 format=3 uid="uid://cfaydhd6u5bmb"]
|
|
|
|
[ext_resource type="Script" uid="uid://bkii8jwf0k7tq" path="res://scripts/LevelManager.gd" id="1_wa46b"]
|
|
[ext_resource type="PackedScene" uid="uid://24slv0pyxcd5" path="res://assets/level_bounds.tscn" id="2_a2a5u"]
|
|
[ext_resource type="PackedScene" uid="uid://cwy8iv8nlwqrc" path="res://assets/realtime_day_night_cycle.tscn" id="2_i7wgr"]
|
|
[ext_resource type="PackedScene" uid="uid://bj1y0fbjtul4a" path="res://post_processing.tscn" id="3_a2a5u"]
|
|
[ext_resource type="Material" uid="uid://br2pyyyl2n3cx" path="res://assets/materials/prototype/prototype1.tres" id="4_t6ubg"]
|
|
[ext_resource type="Script" uid="uid://12l74jckdnpl" path="res://scripts/room_manager.gd" id="5_sdike"]
|
|
[ext_resource type="PackedScene" uid="uid://c7dhavrt11u55" path="res://enemy_spawner.tscn" id="6_5u3xe"]
|
|
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="7_540vx"]
|
|
[ext_resource type="PackedScene" uid="uid://dvmqvjrnt4sgh" path="res://respawn_enemies_button.tscn" id="7_i7wgr"]
|
|
[ext_resource type="Material" uid="uid://bb0beroi2p3gd" path="res://assets/materials/FrostedGlass.tres" id="7_t6ubg"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_t6ubg"]
|
|
size = Vector3(92.25, 82.386, 76.6396)
|
|
|
|
[sub_resource type="NavigationMesh" id="NavigationMesh_wa46b"]
|
|
vertices = PackedVector3Array(-19.5, 1, 0, -5, 1, 0, -4.75, 1, -1.5, -2.75, 1, -19.5, -19.5, 1, -19.5, -2.75, 1, -1.5, 2.75, 1, -1.5, 3, 1, -19.5, 5.75, 1, -1.25, 19.5, 1, -1.5, 19.5, 1, -19.5, 6.25, 1, 11.25, 4.75, 1, 11.5, 4.75, 1, 19.5, 19.5, 1, 19.5, 6.25, 1, -1, -4, 4.5, -0.5, -4, 4.5, 0.5, 3, 4.5, 0.5, 3, 4.5, -0.5, -3.75, 1, -0.25, -3.75, 1, 0.25, 3, 1, 0.25, 3, 1, -0.25, 4, 5, -0.25, 4, 5, 10.5, 5.25, 5, 10.5, 5.25, 5, -0.25, -19.5, 1, 12, -8.75, 1, 12, -8.5, 1, 11.25, -5, 1, 1, -6, 1, 10.75, -4.5, 1, 1.5, 4.25, 1, 1.5, 4.25, 1, 10.25, 5, 1, 10.25, 5, 1, 1.25, 3, 1, 10.75, 3, 1, 1.5, -8.25, 1, 12.25, -8.5, 1, 18.25, -9.5, 1, 18.5, -9.5, 1, 19.5, 3.25, 1, 11.5, -10, 4, 13.25, -9.75, 4, 17.5, -9.25, 4, 13.5, -9.25, 4, 13, -19.5, 4, 13, -10.75, 1, 18.25, -19.5, 1, 19.5, -10.75, 1, 14.25, -19.5, 1, 14.25)
|
|
polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 4), PackedInt32Array(2, 4, 3), PackedInt32Array(3, 5, 2), PackedInt32Array(5, 3, 6), PackedInt32Array(6, 3, 7), PackedInt32Array(8, 6, 9), PackedInt32Array(9, 6, 7), PackedInt32Array(9, 7, 10), PackedInt32Array(12, 11, 13), PackedInt32Array(13, 11, 14), PackedInt32Array(15, 8, 9), PackedInt32Array(15, 9, 11), PackedInt32Array(11, 9, 14), PackedInt32Array(19, 18, 16), PackedInt32Array(16, 18, 17), PackedInt32Array(23, 22, 20), PackedInt32Array(20, 22, 21), PackedInt32Array(27, 26, 24), PackedInt32Array(24, 26, 25), PackedInt32Array(30, 29, 28), PackedInt32Array(31, 30, 1), PackedInt32Array(1, 30, 28), PackedInt32Array(1, 28, 0), PackedInt32Array(33, 32, 31), PackedInt32Array(31, 32, 30), PackedInt32Array(35, 34, 36), PackedInt32Array(36, 34, 37), PackedInt32Array(39, 38, 33), PackedInt32Array(33, 38, 32), PackedInt32Array(29, 30, 40), PackedInt32Array(40, 30, 32), PackedInt32Array(42, 41, 43), PackedInt32Array(43, 41, 13), PackedInt32Array(44, 12, 13), PackedInt32Array(40, 32, 41), PackedInt32Array(41, 32, 38), PackedInt32Array(41, 38, 44), PackedInt32Array(41, 44, 13), PackedInt32Array(48, 47, 45), PackedInt32Array(45, 47, 46), PackedInt32Array(48, 45, 49), PackedInt32Array(42, 43, 50), PackedInt32Array(50, 43, 51), PackedInt32Array(52, 50, 53), PackedInt32Array(53, 50, 51)]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t6ubg"]
|
|
transparency = 1
|
|
albedo_color = Color(1, 1, 1, 0.14902)
|
|
roughness = 0.1
|
|
refraction_enabled = true
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sdike"]
|
|
albedo_color = Color(1, 1, 1, 0.211765)
|
|
|
|
[node name="AI Test Scene" type="Node3D"]
|
|
script = ExtResource("1_wa46b")
|
|
|
|
[node name="LevelBounds" parent="." instance=ExtResource("2_a2a5u")]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="LevelBounds"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -16.9679, 0)
|
|
shape = SubResource("BoxShape3D_t6ubg")
|
|
|
|
[node name="Player" parent="." instance=ExtResource("7_540vx")]
|
|
transform = Transform3D(-0.691652, 0, -0.722231, 0, 1, 0, 0.722231, 0, -0.691652, 0.224148, 1.46383, -4.4728)
|
|
|
|
[node name="Realtime Day Night Cycle" parent="." instance=ExtResource("2_i7wgr")]
|
|
|
|
[node name="PostProcessing" parent="." instance=ExtResource("3_a2a5u")]
|
|
|
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
|
|
navigation_mesh = SubResource("NavigationMesh_wa46b")
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="NavigationRegion3D"]
|
|
material_override = ExtResource("4_t6ubg")
|
|
use_collision = true
|
|
size = Vector3(40, 1, 40)
|
|
material = ExtResource("4_t6ubg")
|
|
|
|
[node name="CSGBox3D2" type="CSGBox3D" parent="NavigationRegion3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.84595, 0)
|
|
material_override = ExtResource("4_t6ubg")
|
|
use_collision = true
|
|
size = Vector3(8.57251, 4.69189, 1.95508)
|
|
material = ExtResource("4_t6ubg")
|
|
|
|
[node name="CSGBox3D3" type="CSGBox3D" parent="NavigationRegion3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.61646, 2.06702, 5.0637)
|
|
material_override = ExtResource("4_t6ubg")
|
|
use_collision = true
|
|
size = Vector3(2.18811, 5.13403, 11.5242)
|
|
material = ExtResource("4_t6ubg")
|
|
|
|
[node name="CSGBox3D4" type="CSGBox3D" parent="NavigationRegion3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.3731, 1.5141, 13.0335)
|
|
use_collision = true
|
|
size = Vector3(11.0513, 4.0282, 1)
|
|
material = SubResource("StandardMaterial3D_t6ubg")
|
|
|
|
[node name="CSGBox3D5" type="CSGBox3D" parent="NavigationRegion3D"]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -9.57032, 1.56372, 15.2494)
|
|
material_override = ExtResource("7_t6ubg")
|
|
use_collision = true
|
|
size = Vector3(5.10229, 4.0282, 1)
|
|
material = SubResource("StandardMaterial3D_sdike")
|
|
|
|
[node name="Level" type="Node3D" parent="."]
|
|
script = ExtResource("5_sdike")
|
|
start_enemies = 1
|
|
|
|
[node name="RespawnEnemies" parent="Level" instance=ExtResource("7_i7wgr")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.28023, 1.45981, -1.07754)
|
|
|
|
[node name="EnemySpawner" parent="Level" instance=ExtResource("6_5u3xe")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.291284, 1, 3.32874)
|