TinyAdventure/world/navigation_test_level.tscn

179 lines
25 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=7 format=3 uid="uid://c0meusfg353t2"]
[ext_resource type="MeshLibrary" uid="uid://dcpuitbu16j1a" path="res://assets/mesh_library.tres" id="1_vhlsa"]
[ext_resource type="PackedScene" uid="uid://03eh1nglfg6t" path="res://objects/non_player_character.tscn" id="18_g8wqq"]
[ext_resource type="PackedScene" uid="uid://c56dnyb36mvit" path="res://assets/3rdparty/Quaternius/LowPoly Animated Animals/gltf/Pug.glb" id="30_6l26k"]
[sub_resource type="NavigationMesh" id="NavigationMesh_1u13k"]
vertices = PackedVector3Array(-7.99106, 0.1, -3.09106, -2.09106, 0.1, -3.09106, -2.09106, 0.1, -7.99106, -7.99106, 0.1, -7.99106, -2.09106, 0.1, -2.89106, -1.89106, 0.1, -3.09106, 0.108938, 0.1, -2.89106, 0.108938, 0.1, -2.29106, 0.408937, 0.1, -2.29106, 0.408937, 0.1, -2.89106, 0.608938, 0.1, -3.09106, 2.90894, 0.1, -3.09106, 3.10894, 0.1, -7.99106, -0.0910625, 0.1, -3.09106, 3.10894, 0.1, -2.89106, 3.10894, 0.1, -2.29106, 8.00894, 0.1, -2.29106, 8.00894, 0.1, -7.99106, -1.89106, 0.1, -1.09106, -1.09106, 0.1, -1.09106, -1.09106, 0.1, -1.39106, -1.89106, 0.1, -1.39106, -2.09106, 0.1, -1.59106, -7.99106, 0.1, 0.608938, -2.09106, 0.1, -0.891062, -2.09106, 0.1, 0.408937, -1.89106, 0.1, 0.608938, -1.49106, 0.6, -2.49106, -1.49106, 0.6, -1.99106, -0.491062, 0.6, -1.99106, -0.491062, 0.6, -2.49106, 1.00894, 0.6, -2.49106, 1.00894, 0.6, -1.99106, 2.50894, 0.6, -1.99106, 2.50894, 0.6, -2.49106, -0.591062, 0.1, -1.09106, -0.191062, 0.1, -1.39106, 0.608938, 0.1, -1.39106, 0.908937, 0.1, -0.391062, 1.10894, 0.1, -0.591062, -0.391062, 0.1, -0.891062, 0.108938, 0.1, -1.69106, 0.408937, 0.1, -1.59106, 2.80894, 0.1, -1.39106, 2.40894, 0.1, -0.591062, 2.60894, 0.1, -0.391062, -0.391062, 0.1, 0.308938, 0.908937, 0.1, 0.508938, -0.591062, 0.1, 0.508938, 3.10894, 0.1, -1.69106, 2.60894, 0.1, 1.70894, 8.00894, 0.1, 1.70894, -1.49106, 0.6, -0.491062, -1.49106, 0.6, 0.00893784, -0.991062, 0.6, 0.00893784, -0.991062, 0.6, -0.491062, 1.50894, 0.6, 0.00893784, 1.50894, 0.6, 1.50894, 2.00894, 0.6, 1.50894, 2.00894, 0.6, 0.00893784, 0.908937, 0.1, 1.90894, 1.10894, 0.1, 2.10894, 1.70894, 0.1, 8.00894, -7.99106, 0.1, 8.00894, 1.70894, 0.1, 2.10894, 2.30894, 0.1, 2.10894, 8.00894, 0.1, 8.00894)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(5, 4, 1), PackedInt32Array(9, 8, 6), PackedInt32Array(6, 8, 7), PackedInt32Array(12, 11, 10), PackedInt32Array(6, 13, 9), PackedInt32Array(9, 13, 10), PackedInt32Array(10, 13, 2), PackedInt32Array(10, 2, 12), PackedInt32Array(13, 5, 2), PackedInt32Array(12, 14, 11), PackedInt32Array(5, 1, 2), PackedInt32Array(16, 15, 14), PackedInt32Array(12, 17, 14), PackedInt32Array(14, 17, 16), PackedInt32Array(21, 20, 18), PackedInt32Array(18, 20, 19), PackedInt32Array(18, 24, 21), PackedInt32Array(21, 24, 22), PackedInt32Array(22, 24, 23), PackedInt32Array(22, 23, 0), PackedInt32Array(23, 24, 25), PackedInt32Array(0, 4, 22), PackedInt32Array(25, 26, 23), PackedInt32Array(0, 1, 4), PackedInt32Array(30, 29, 27), PackedInt32Array(27, 29, 28), PackedInt32Array(34, 33, 31), PackedInt32Array(31, 33, 32), PackedInt32Array(19, 20, 35), PackedInt32Array(35, 20, 36), PackedInt32Array(39, 38, 37), PackedInt32Array(40, 35, 36), PackedInt32Array(7, 8, 41), PackedInt32Array(41, 8, 42), PackedInt32Array(44, 39, 43), PackedInt32Array(43, 39, 37), PackedInt32Array(42, 37, 41), PackedInt32Array(41, 37, 36), PackedInt32Array(44, 43, 45), PackedInt32Array(36, 37, 40), PackedInt32Array(40, 37, 38), PackedInt32Array(40, 38, 46), PackedInt32Array(46, 38, 47), PackedInt32Array(47, 48, 46), PackedInt32Array(49, 15, 16), PackedInt32Array(43, 49, 45), PackedInt32Array(45, 49, 50), PackedInt32Array(50, 49, 51), PackedInt32Array(51, 49, 16), PackedInt32Array(55, 54, 52), PackedInt32Array(52, 54, 53), PackedInt32Array(59, 58, 56), PackedInt32Array(56, 58, 57), PackedInt32Array(48, 47, 60), PackedInt32Array(60, 61, 48), PackedInt32Array(48, 61, 26), PackedInt32Array(61, 62, 26), PackedInt32Array(26, 62, 23), PackedInt32Array(23, 62, 63), PackedInt32Array(61, 64, 62), PackedInt32Array(50, 51, 65), PackedInt32Array(65, 51, 66), PackedInt32Array(65, 66, 62), PackedInt32Array(62, 64, 65)]
geometry_parsed_geometry_type = 1
geometry_collision_mask = 97
cell_size = 0.1
cell_height = 0.1
agent_radius = 0.25
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7xqvq"]
albedo_color = Color(0.1496, 0.34, 0.171813, 1)
[sub_resource type="BoxMesh" id="BoxMesh_d0l2p"]
material = SubResource("StandardMaterial3D_7xqvq")
size = Vector3(128, 1, 0.25)
[node name="NavigationRegion3D" type="NavigationRegion3D"]
navigation_mesh = SubResource("NavigationMesh_1u13k")
[node name="GridMap" type="GridMap" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
rotation_order = 1
mesh_library = ExtResource("1_vhlsa")
cell_size = Vector3(0.5, 0.5, 0.5)
cell_center_y = false
data = {
"cells": PackedInt32Array(65520, 65520, 13, 65520, 65521, 13, 65520, 65522, 13, 65520, 65523, 13, 65520, 65524, 13, 65520, 65525, 13, 65520, 65526, 13, 65520, 65527, 13, 65520, 65528, 13, 65520, 65529, 13, 65520, 65530, 13, 65520, 65531, 13, 65520, 65532, 13, 65520, 65533, 13, 65520, 65534, 13, 65520, 65535, 13, 65520, 0, 13, 65520, 1, 13, 65520, 2, 13, 65520, 3, 13, 65520, 4, 13, 65520, 5, 13, 65520, 6, 13, 65520, 7, 13, 65520, 8, 13, 65520, 9, 13, 65520, 10, 13, 65520, 11, 13, 65520, 12, 13, 65520, 13, 13, 65520, 14, 13, 65520, 15, 13, 65521, 65520, 13, 65521, 65521, 13, 65521, 65522, 13, 65521, 65523, 13, 65521, 65524, 13, 65521, 65525, 13, 65521, 65526, 13, 65521, 65527, 13, 65521, 65528, 13, 65521, 65529, 13, 65521, 65530, 13, 65521, 65531, 13, 65521, 65532, 13, 65521, 65533, 13, 65521, 65534, 13, 65521, 65535, 13, 65521, 0, 13, 65521, 1, 13, 65521, 2, 13, 65521, 3, 13, 65521, 4, 13, 65521, 5, 13, 65521, 6, 13, 65521, 7, 13, 65521, 8, 13, 65521, 9, 13, 65521, 10, 13, 65521, 11, 13, 65521, 12, 13, 65521, 13, 13, 65521, 14, 13, 65521, 15, 13, 65522, 65520, 13, 65522, 65521, 13, 65522, 65522, 13, 65522, 65523, 13, 65522, 65524, 13, 65522, 65525, 13, 65522, 65526, 13, 65522, 65527, 13, 65522, 65528, 13, 65522, 65529, 13, 65522, 65530, 13, 65522, 65531, 13, 65522, 65532, 13, 65522, 65533, 13, 65522, 65534, 13, 65522, 65535, 13, 65522, 0, 13, 65522, 1, 13, 65522, 2, 13, 65522, 3, 13, 65522, 4, 13, 65522, 5, 13, 65522, 6, 13, 65522, 7, 13, 65522, 8, 13, 65522, 9, 13, 65522, 10, 13, 65522, 11, 13, 65522, 12, 13, 65522, 13, 13, 65522, 14, 13, 65522, 15, 13, 65523, 65520, 13, 65523, 65521, 13, 65523, 65522, 13, 65523, 65523, 13, 65523, 65524, 13, 65523, 65525, 13, 65523, 65526, 13, 65523, 65527, 13, 65523, 65528, 13, 65523, 65529, 13, 65523, 65530, 13, 65523, 65531, 13, 65523, 65532, 13, 65523, 65533, 13, 65523, 65534, 13, 65523, 65535, 13, 65523, 0, 13, 65523, 1, 13, 65523, 2, 13, 65523, 3, 13, 65523, 4, 13, 65523, 5, 13, 65523, 6, 13, 65523, 7, 13, 65523, 8, 13, 65523, 9, 13, 65523, 10, 13, 65523, 11, 13, 65523, 12, 13, 65523, 13, 13, 65523, 14, 13, 65523, 15, 13, 65524, 65520, 13, 65524, 65521, 13, 65524, 65522, 13, 65524, 65523, 13, 65524, 65524, 13, 65524, 65525, 13, 65524, 65526, 13, 65524, 65527, 13, 65524, 65528, 13, 65524, 65529, 13, 65524, 65530, 13, 65524, 65531, 13, 65524, 65532, 13, 65524, 65533, 13, 65524, 65534, 13, 65524, 65535, 13, 65524, 0, 13, 65524, 1, 13, 65524, 2, 13, 65524, 3, 13, 65524, 4, 13, 65524, 5, 13, 65524, 6, 13, 65524, 7, 13, 65524, 8, 13, 65524, 9, 13, 65524, 10, 13, 65524, 11, 13, 65524, 12, 13, 65524, 13, 13, 65524, 14, 13, 65524, 15, 13, 65525, 65520, 13, 65525, 65521, 13, 65525, 65522, 13, 65525, 65523, 13, 65525, 65524, 13, 65525, 65525, 13, 65525, 65526, 13, 65525, 65527, 13, 65525, 65528, 13, 65525, 65529, 13, 65525, 65530, 13, 65525, 65531, 13, 65525, 65532, 13, 65525, 65533, 13, 65525, 65534, 13, 65525, 65535, 13, 65525, 0, 13, 65525, 1, 13, 65525, 2, 13, 65525, 3, 13, 65525, 4, 13, 65525, 5, 13, 65525, 6, 13, 65525, 7, 13, 65525, 8, 13, 65525, 9, 13, 65525, 10, 13, 65525, 11, 13, 65525, 12, 13, 65525, 13, 13, 65525, 14, 13, 65525, 15, 13, 65526, 65520, 13, 65526, 65521, 13, 65526, 65522, 13, 65526, 65523, 13, 65526, 65524, 13, 65526, 65525, 13, 65526, 65526, 13, 65526, 65527, 13, 65526, 65528, 13, 65526, 65529, 13, 65526, 65530, 13, 65526, 65531, 13, 65526, 65532, 13, 65526, 65533, 13, 65526, 65534, 13, 65526, 65535, 13, 65526, 0, 13, 65526, 1, 13, 65526, 2, 13, 65526, 3, 13, 65526, 4, 13, 65526, 5, 13, 65526, 6, 13, 65526, 7, 13, 65526, 8, 13, 65526, 9, 13, 65526, 10, 13, 65526, 11, 13, 65526, 12, 13, 65526, 13, 13, 65526, 14, 13, 65526, 15, 13, 65527, 65520, 13, 65527, 65521, 13, 65527, 65522, 13, 65527, 65523, 13, 65527, 65524, 13, 65527, 65525, 13, 65527, 65526, 13, 65527, 65527, 13, 65527, 65528, 13, 65527, 65529, 13, 65527, 65530, 13, 65527, 65531, 13, 65527, 65532, 13, 65527, 65533, 13, 65527, 65534, 13, 65527, 65535, 13, 65527, 0, 13, 65527, 1, 13, 65527, 2, 13, 65527, 3, 13, 65527, 4, 13, 65527, 5, 13, 65527, 6, 13, 65527, 7, 13, 65527, 8, 13, 65527, 9, 13, 65527, 10, 13,
}
metadata/_editor_floor_ = Vector3(0, 1, 0)
[node name="GridLines" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.495, 0)
[node name="X" type="Node3D" parent="GridLines"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, -16)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, -24)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, -32)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D4" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, -40)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D5" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, -48)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D6" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 8)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D7" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 0)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D8" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, -8)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D9" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 48)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D10" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 40)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D11" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 32)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D12" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 24)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D13" type="MeshInstance3D" parent="GridLines/X"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 16)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="Y" type="Node3D" parent="GridLines"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 6.99382e-07)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -8, 0, 1.04907e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -16, 0, 1.39876e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D4" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -24, 0, 1.74846e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D5" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -32, 0, 2.09815e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D6" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 24, 0, -3.49691e-07)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D7" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 16, 0, 0)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D8" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 8, 0, 3.49691e-07)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D9" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 64, 0, -2.09815e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D10" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 56, 0, -1.74846e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D11" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 48, 0, -1.39876e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D12" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 40, 0, -1.04907e-06)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="MeshInstance3D13" type="MeshInstance3D" parent="GridLines/Y"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 32, 0, -6.99382e-07)
mesh = SubResource("BoxMesh_d0l2p")
skeleton = NodePath("../..")
[node name="NonPlayerCharacter" parent="." instance=ExtResource("18_g8wqq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, -1.5)
[node name="Pug2" parent="NonPlayerCharacter" instance=ExtResource("30_6l26k")]
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)