retrace/Level/PathTestWorld.tscn

119 lines
6.7 KiB
Plaintext

[gd_scene load_steps=16 format=2]
[ext_resource path="res://Characters/Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Characters/Util/PathNavigatorForNPC.tscn" type="PackedScene" id=2]
[ext_resource path="res://Characters/Meldewesen/Meldewesen.tscn" type="PackedScene" id=3]
[ext_resource path="res://Util/NodeGroupNotifier.tscn" type="PackedScene" id=4]
[ext_resource path="res://Level/Interactables/Key/Key.tscn" type="PackedScene" id=5]
[ext_resource path="res://Level/Interactables/Keycard/Keycard.tscn" type="PackedScene" id=6]
[ext_resource path="res://Level/Interactables/Door/Door.tscn" type="PackedScene" id=7]
[ext_resource path="res://Level/Interactables/FactoryMachines/FactoryGameplay.tscn" type="PackedScene" id=8]
[sub_resource type="NavigationMesh" id=1]
vertices = PoolVector3Array( -1.9, 0.4, -2.2, 0.200001, 0.4, -2.5, 0.200001, 0.4, -8.5, -8.5, 0.4, -0.0999994, -2.5, 0.4, -0.0999994, -1.9, 0.4, -2.2, -1.9, 0.4, -2.2, 0.200001, 0.4, -8.5, -8.5, 0.4, -8.5, -8.5, 0.4, -0.0999994, 0.200001, 0.4, -8.5, 0.200001, 0.4, -2.5, 2, 0.4, -2.2, 2, 0.4, -2.2, 2.6, 0.4, -0.0999994, 8.6, 0.4, -0.0999994, 2, 0.4, -2.2, 8.6, 0.4, -0.0999994, 8.6, 0.4, -8.5, 0.200001, 0.4, -8.5, -1.3, 0.4, 3.8, 0.200001, 0.4, 3.8, 0.200001, 0.4, 2.6, -2.2, 0.4, 2, -8.5, 0.4, 8.6, -2.2, 0.4, 8.6, -2.5, 0.4, 5, -2.5, 0.4, 5, -1.3, 0.4, 3.8, -2.2, 0.4, 2, -2.5, 0.4, 5, -2.2, 0.4, 2, -2.5, 0.4, -0.0999994, -8.5, 0.4, -0.0999994, -8.5, 0.4, 8.6, 0.200001, 0.4, 2.6, 0.200001, 0.4, 3.8, 1.4, 0.4, 3.8, 2.3, 0.4, 2, 2.6, 0.4, 5, 2.3, 0.4, 8.6, 8.6, 0.4, 8.6, 2.3, 0.4, 2, 1.4, 0.4, 3.8, 2.6, 0.4, 5, 2.6, 0.4, -0.0999994, 2.3, 0.4, 2, 2.6, 0.4, 5, 8.6, 0.4, 8.6, 8.6, 0.4, -0.0999994 )
polygons = [ PoolIntArray( 2, 0, 1 ), PoolIntArray( 5, 3, 4 ), PoolIntArray( 9, 6, 8 ), PoolIntArray( 6, 7, 8 ), PoolIntArray( 12, 10, 11 ), PoolIntArray( 15, 13, 14 ), PoolIntArray( 19, 16, 18 ), PoolIntArray( 16, 17, 18 ), PoolIntArray( 23, 20, 22 ), PoolIntArray( 20, 21, 22 ), PoolIntArray( 26, 24, 25 ), PoolIntArray( 29, 27, 28 ), PoolIntArray( 34, 30, 33 ), PoolIntArray( 30, 31, 33 ), PoolIntArray( 31, 32, 33 ), PoolIntArray( 38, 35, 37 ), PoolIntArray( 35, 36, 37 ), PoolIntArray( 41, 39, 40 ), PoolIntArray( 44, 42, 43 ), PoolIntArray( 49, 45, 48 ), PoolIntArray( 45, 46, 48 ), PoolIntArray( 46, 47, 48 ) ]
agent/radius = 1.5
[sub_resource type="CubeMesh" id=2]
[sub_resource type="ConcavePolygonShape" id=3]
data = PoolVector3Array( -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1 )
[sub_resource type="ConcavePolygonShape" id=4]
data = PoolVector3Array( -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1 )
[sub_resource type="PlaneMesh" id=5]
size = Vector2( 20, 20 )
[sub_resource type="ConcavePolygonShape" id=6]
data = PoolVector3Array( 10, 0, 10, -10, 0, 10, 10, 0, -10, -10, 0, 10, -10, 0, -10, 10, 0, -10 )
[sub_resource type="BoxShape" id=7]
extents = Vector3( 10, 1, 10 )
[node name="Navigation" type="Navigation"]
[node name="Player" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.634059, 0.9426, 8.83401 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.766044, -0.582564, 0.271654, 0, 0.422618, 0.906308, -0.642788, -0.694272, 0.323744, 0, 5, 0 )
light_energy = 0.19
[node name="NavigationMeshInstance" type="NavigationMeshInstance" parent="."]
editor/display_folded = true
navmesh = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="NavigationMeshInstance"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 2 )
material/0 = null
[node name="StaticBody" type="StaticBody" parent="NavigationMeshInstance/MeshInstance"]
[node name="CollisionShape" type="CollisionShape" parent="NavigationMeshInstance/MeshInstance/StaticBody"]
shape = SubResource( 3 )
[node name="MeshInstance3" type="MeshInstance" parent="NavigationMeshInstance"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 6.53892 )
mesh = SubResource( 2 )
material/0 = null
[node name="StaticBody" type="StaticBody" parent="NavigationMeshInstance/MeshInstance3"]
[node name="CollisionShape" type="CollisionShape" parent="NavigationMeshInstance/MeshInstance3/StaticBody"]
shape = SubResource( 4 )
[node name="MeshInstance2" type="MeshInstance" parent="NavigationMeshInstance"]
mesh = SubResource( 5 )
material/0 = null
[node name="StaticBody" type="StaticBody" parent="NavigationMeshInstance/MeshInstance2"]
[node name="CollisionShape" type="CollisionShape" parent="NavigationMeshInstance/MeshInstance2/StaticBody"]
shape = SubResource( 6 )
[node name="GroundBody" type="StaticBody" parent="NavigationMeshInstance"]
[node name="CollisionShape" type="CollisionShape" parent="NavigationMeshInstance/GroundBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
shape = SubResource( 7 )
[node name="MeldewesenNavigator" parent="." instance=ExtResource( 2 )]
speed = 3.0
body_nodepath = NodePath("../MeldewesenNavigator/Meldewesen")
[node name="Meldewesen" parent="MeldewesenNavigator" instance=ExtResource( 3 )]
_visibility_path = NodePath("../../MeldewesenNavigator/Meldewesen/Visibility")
[node name="NodeGroupNotifier" parent="." instance=ExtResource( 4 )]
group_name = "Navigator"
node_to_send = NodePath("..")
[node name="Key" parent="." instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.8315, 0.73042, 8.99112 )
key_id = 1
[node name="Keycard" parent="." instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.84089, 0.700821, 8.67166 )
card_lvl = 1
[node name="Door" parent="." instance=ExtResource( 7 )]
transform = Transform( -2.18557e-08, 0, 0.5, 0, 0.5, 0, -0.5, 0, -2.18557e-08, -10, 1, 10 )
[node name="Door2" parent="." instance=ExtResource( 7 )]
transform = Transform( -2.18557e-08, 0, 0.5, 0, 0.5, 0, -0.5, 0, -2.18557e-08, -10, 1, 8 )
door_lvl = 1
[node name="Door3" parent="." instance=ExtResource( 7 )]
transform = Transform( -2.18557e-08, 0, 0.5, 0, 0.5, 0, -0.5, 0, -2.18557e-08, -10, 1, 6 )
card_door = true
door_lvl = 1
[node name="Gameplay?" parent="." instance=ExtResource( 8 )]
transform = Transform( -4.37114e-08, -1, 4.37114e-08, 0, -4.37114e-08, -1, 1, -4.37114e-08, 1.91069e-15, 7, 2, 2 )