89 lines
6.8 KiB
Text
89 lines
6.8 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://bjeawqo2kppqk"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://twqkevpn0q1a" path="res://base/scenes/enemies/test_enemy.tscn" id="1_cmbee"]
|
|
[ext_resource type="PackedScene" uid="uid://dwx5tcatj35gu" path="res://base/scenes/player.tscn" id="2_2xi8s"]
|
|
|
|
[sub_resource type="NavigationMesh" id="NavigationMesh_cmbee"]
|
|
vertices = PackedVector3Array(-12.7732, 1, 8.2876, -3.27324, 1, 8.2876, -3.27324, 1, 6.2876, -1.02324, 1, 6.0376, -1.02324, 1, -4.4624, -12.7732, 1, -4.4624, 8.72676, 1.25, 7.0376, 7.22676, 1.75, 7.0376, 7.47676, 1.75, 8.0376, 11.7268, 1, 8.0376, 11.9768, 1, 9.2876, 12.7268, 1, 9.2876, 12.7268, 1, -4.4624, 8.72676, 1, 6.0376, 3.72676, 4.75, 16.5376, 3.47676, 4.75, 13.0376, 2.72676, 4.75, 13.0376, 2.47676, 4.75, 16.5376, -0.273237, 4.5, 8.0376, -2.27324, 4.75, 7.0376, -1.27324, 4.75, 10.0376, -0.273237, 4.75, 9.0376, 8.22676, 4.75, 17.0376, 8.22676, 4.75, 16.5376, -2.27324, 4.75, 17.0376, 10.2268, 4.75, 10.0376, 10.9768, 4.75, 9.0376, -1.27324, 4.75, 16.5376, 10.4768, 4.75, 17.7876, 10.9768, 4.75, 17.7876, -0.916094, 4.75, 7.0376, -12.7732, 1, 15.7876, -3.27324, 1, 15.7876, 9.47676, 1, 16.7876, 9.22676, 1, 16.7876, 8.97676, 1, 18.0376, 9.72676, 1, 18.7876, 12.7268, 1, 29.0376, 11.9768, 1, 18.5376, -1.02324, 1, 18.0376, -1.02324, 1, 29.0376, 8.97676, 1, 15.5376, 9.47676, 1, 11.0376, -0.523237, 1, 15.5376, 1.72676, 1, 15.5376, 1.97676, 1, 12.0376, -0.523237, 1, 11.0376, 4.22676, 1, 12.0376, 4.47676, 1, 15.5376, -3.27324, 1, 17.7876, -12.7732, 1, 29.0376)
|
|
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(4, 3, 2), PackedInt32Array(0, 5, 2), PackedInt32Array(2, 5, 4), PackedInt32Array(7, 6, 8), PackedInt32Array(8, 6, 9), PackedInt32Array(10, 9, 11), PackedInt32Array(11, 9, 12), PackedInt32Array(3, 4, 13), PackedInt32Array(13, 4, 12), PackedInt32Array(6, 13, 9), PackedInt32Array(9, 13, 12), PackedInt32Array(15, 14, 16), PackedInt32Array(16, 14, 17), PackedInt32Array(21, 20, 18), PackedInt32Array(18, 20, 19), PackedInt32Array(14, 23, 22), PackedInt32Array(14, 22, 17), PackedInt32Array(17, 22, 24), PackedInt32Array(26, 25, 21), PackedInt32Array(21, 25, 20), PackedInt32Array(27, 17, 24), PackedInt32Array(27, 24, 20), PackedInt32Array(20, 24, 19), PackedInt32Array(28, 25, 29), PackedInt32Array(29, 25, 26), PackedInt32Array(19, 30, 18), PackedInt32Array(18, 30, 7), PackedInt32Array(18, 7, 8), PackedInt32Array(0, 1, 31), PackedInt32Array(31, 1, 32), PackedInt32Array(34, 33, 35), PackedInt32Array(35, 33, 36), PackedInt32Array(36, 38, 37), PackedInt32Array(10, 11, 38), PackedInt32Array(38, 11, 37), PackedInt32Array(35, 36, 39), PackedInt32Array(39, 36, 40), PackedInt32Array(40, 36, 37), PackedInt32Array(34, 41, 33), PackedInt32Array(33, 41, 42), PackedInt32Array(44, 43, 45), PackedInt32Array(45, 43, 46), PackedInt32Array(48, 47, 41), PackedInt32Array(41, 47, 42), PackedInt32Array(45, 46, 47), PackedInt32Array(47, 46, 42), PackedInt32Array(31, 32, 49), PackedInt32Array(49, 39, 40), PackedInt32Array(31, 49, 50), PackedInt32Array(50, 49, 40)]
|
|
agent_height = 1.51
|
|
|
|
[sub_resource type="ORMMaterial3D" id="ORMMaterial3D_yvrvx"]
|
|
albedo_color = Color(1, 0, 0, 1)
|
|
|
|
[node name="NavigationTestScene" type="Node3D"]
|
|
|
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
|
|
navigation_mesh = SubResource("NavigationMesh_cmbee")
|
|
|
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="NavigationRegion3D"]
|
|
use_collision = true
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
size = Vector3(26.4385, 1, 9.9248)
|
|
|
|
[node name="CSGBox3D2" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 24.6131)
|
|
size = Vector3(26.4385, 1, 9.9248)
|
|
|
|
[node name="CSGBox3D3" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -8.31083, 9.53674e-07, 11.2665)
|
|
size = Vector3(26.4385, 1, 9.9248)
|
|
|
|
[node name="CSGBox3D4" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4.78142, 9.53674e-07, 12.2382)
|
|
size = Vector3(15.1416, 1, 16.73)
|
|
material = SubResource("ORMMaterial3D_yvrvx")
|
|
|
|
[node name="CSGBox3D5" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4.35131, 1.95319, 9.49359)
|
|
size = Vector3(1.82385, 4.90637, 12.7579)
|
|
material = SubResource("ORMMaterial3D_yvrvx")
|
|
|
|
[node name="CSGBox3D6" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -1.96863, 1.95319, 12.0486)
|
|
size = Vector3(1.59631, 4.90637, 10.96)
|
|
material = SubResource("ORMMaterial3D_yvrvx")
|
|
|
|
[node name="CSGBox3D8" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 3.21596, 1.95319, 16.7973)
|
|
size = Vector3(1.44202, 4.90637, 10.5567)
|
|
material = SubResource("ORMMaterial3D_yvrvx")
|
|
|
|
[node name="CSGBox3D9" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 1.74846e-07, 0, 1, 0, -1.74846e-07, 0, 1, 3.07833, 1.95319, 15.0201)
|
|
size = Vector3(1.52991, 4.90637, 4.93153)
|
|
material = SubResource("ORMMaterial3D_yvrvx")
|
|
|
|
[node name="CSGBox3D7" type="CSGBox3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 10.7086, 1.95319, 13.3886)
|
|
size = Vector3(1.30627, 4.90637, 9.60895)
|
|
material = SubResource("ORMMaterial3D_yvrvx")
|
|
|
|
[node name="CSGPolygon3D" type="CSGPolygon3D" parent="NavigationRegion3D/CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.50082, 8.56971)
|
|
polygon = PackedVector2Array(-1.16205, -0.0740491, -1.18576, 3.89251, 9.72225, 0.0251404)
|
|
depth = 2.0
|
|
|
|
[node name="TestEnemy" parent="." instance=ExtResource("1_cmbee")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.16028, 0.549035, 11.0707)
|
|
|
|
[node name="TestEnemy2" parent="." instance=ExtResource("1_cmbee")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.34192, 0.549035, 18.1813)
|
|
|
|
[node name="TestEnemy3" parent="." instance=ExtResource("1_cmbee")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.0985, 0.549035, 10.2576)
|
|
|
|
[node name="TestEnemy4" parent="." instance=ExtResource("1_cmbee")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.00199, 0.549035, 4.24815)
|
|
|
|
[node name="TestEnemy5" parent="." instance=ExtResource("1_cmbee")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.6038, 0.549035, 2.9313)
|
|
|
|
[node name="Player" parent="." instance=ExtResource("2_2xi8s")]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.24002, 1.52635, 15.011)
|
|
speed = 1000.0
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.113359, 0.993554, 0, -0.993554, 0.113359, 0, 5.273, 0)
|