Files
fps_project_1/ai_test_scene.tscn
2025-05-02 16:58:01 -05:00

111 lines
7.5 KiB
Plaintext

[gd_scene load_steps=18 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"]
[ext_resource type="PackedScene" uid="uid://c6bpysq1tjhy4" path="res://vendingmahcine.tscn" id="11_sdike"]
[ext_resource type="PackedScene" uid="uid://uethfe5v66tg" path="res://assets/item_pickup.tscn" id="12_5u3xe"]
[ext_resource type="PackedScene" uid="uid://dlhjacsike5a4" path="res://assets/oildrum1.tscn" id="13_540vx"]
[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, -5, 1, -1.25, -4.5, 1, -1.5, -4.5, 1, -19.5, -19.5, 1, -19.5, 5.25, 1, -1.25, 5.5, 1, -19.5, 7.5, 1, -1, 7.75, 1, 0.5, 19.5, 1, 0.5, 19.5, 1, -19.5, -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.25, 4, 0, 6.25, 4, 1, 6.75, 4, 1, 6.75, 4, 0, 6.25, 1, 11.25, 4.75, 1, 11.5, 4.75, 1, 19.5, 19.5, 1, 19.5, 7.5, 1, 2, 6.25, 1, 2, -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(2, 1, 0), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 0, 4), PackedInt32Array(4, 0, 5), PackedInt32Array(3, 4, 6), PackedInt32Array(6, 4, 7), PackedInt32Array(9, 8, 10), PackedInt32Array(10, 8, 11), PackedInt32Array(11, 8, 7), PackedInt32Array(8, 6, 7), PackedInt32Array(15, 14, 12), PackedInt32Array(12, 14, 13), PackedInt32Array(19, 18, 16), PackedInt32Array(16, 18, 17), PackedInt32Array(23, 22, 20), PackedInt32Array(20, 22, 21), PackedInt32Array(26, 25, 24), PackedInt32Array(27, 26, 1), PackedInt32Array(1, 26, 24), PackedInt32Array(1, 24, 0), PackedInt32Array(31, 30, 28), PackedInt32Array(28, 30, 29), PackedInt32Array(33, 32, 34), PackedInt32Array(34, 32, 35), PackedInt32Array(32, 37, 36), PackedInt32Array(36, 9, 32), PackedInt32Array(32, 9, 10), PackedInt32Array(32, 10, 35), PackedInt32Array(39, 38, 27), PackedInt32Array(27, 38, 26), PackedInt32Array(41, 40, 42), PackedInt32Array(42, 40, 43), PackedInt32Array(45, 44, 39), PackedInt32Array(39, 44, 38), PackedInt32Array(25, 26, 46), PackedInt32Array(46, 26, 38), PackedInt32Array(48, 47, 49), PackedInt32Array(49, 47, 34), PackedInt32Array(50, 33, 34), PackedInt32Array(46, 38, 47), PackedInt32Array(47, 38, 44), PackedInt32Array(47, 44, 50), PackedInt32Array(47, 50, 34), PackedInt32Array(54, 53, 51), PackedInt32Array(51, 53, 52), PackedInt32Array(54, 51, 55), PackedInt32Array(48, 49, 56), PackedInt32Array(56, 49, 57), PackedInt32Array(58, 56, 59), PackedInt32Array(59, 56, 57)]
[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="vendingmachine" parent="NavigationRegion3D" instance=ExtResource("11_sdike")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5.84023, 0.514531, 0.560712)
item = ExtResource("12_5u3xe")
is_pickup = true
[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)
[node name="Oildrum1" parent="." instance=ExtResource("13_540vx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.764425, 1.58364, 5.4923)
[node name="Oildrum2" parent="." instance=ExtResource("13_540vx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.10549, 1.58364, 4.59505)
[node name="Oildrum3" parent="." instance=ExtResource("13_540vx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.615206, 1.58363, 6.69656)
[node name="Oildrum4" parent="." instance=ExtResource("13_540vx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.3897, 1.58363, 14.1142)