72 lines
2.9 KiB
Text
72 lines
2.9 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://cbyee7drds7qu"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/maps/map.gd" id="1_4npcs"]
|
|
[ext_resource type="Script" path="res://scripts/maps/rest.gd" id="2_yv1d0"]
|
|
[ext_resource type="PackedScene" uid="uid://bsghm187n6ykx" path="res://scenes/objects/closet.tscn" id="2_yvpvm"]
|
|
[ext_resource type="PackedScene" uid="uid://cvnjpnvchvakj" path="res://scenes/entities/npc.tscn" id="3_x3gyc"]
|
|
|
|
[sub_resource type="Environment" id="Environment_pq0iv"]
|
|
|
|
[sub_resource type="NavigationMesh" id="NavigationMesh_hqhxb"]
|
|
vertices = PackedVector3Array(-49.5, 1, -49.5, -49.5, 1, 49.5, 49.5, 1, 49.5, 49.5, 1, -49.5)
|
|
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_kw2od"]
|
|
size = Vector3(100, 1, 100)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_rnmx0"]
|
|
size = Vector3(100, 1, 100)
|
|
|
|
[node name="Testmap" type="Node3D"]
|
|
script = ExtResource("1_4npcs")
|
|
|
|
[node name="PlayerSpawn" type="Node3D" parent="."]
|
|
|
|
[node name="0" type="Node3D" parent="PlayerSpawn"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17, 3, 0)
|
|
|
|
[node name="1" type="Node3D" parent="PlayerSpawn"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 4, 0)
|
|
|
|
[node name="2" type="Node3D" parent="PlayerSpawn"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 15)
|
|
|
|
[node name="NPCRestPlaces" type="Node3D" parent="."]
|
|
|
|
[node name="0" type="Node3D" parent="NPCRestPlaces"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 2, -28)
|
|
script = ExtResource("2_yv1d0")
|
|
|
|
[node name="1" type="Node3D" parent="NPCRestPlaces"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13, 2, -32)
|
|
script = ExtResource("2_yv1d0")
|
|
|
|
[node name="2" type="Node3D" parent="NPCRestPlaces"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 2, -48)
|
|
script = ExtResource("2_yv1d0")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-0.899519, 0.375, 0.224144, -0.224144, -0.836516, 0.5, 0.375, 0.399519, 0.836516, 0, 0, 0)
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_pq0iv")
|
|
|
|
[node name="Closet" parent="." instance=ExtResource("2_yvpvm")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 10, 2)
|
|
|
|
[node name="Npc1" parent="." instance=ExtResource("3_x3gyc")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 20, 40)
|
|
|
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."]
|
|
navigation_mesh = SubResource("NavigationMesh_hqhxb")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D"]
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="NavigationRegion3D/StaticBody3D"]
|
|
mesh = SubResource("BoxMesh_kw2od")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/StaticBody3D"]
|
|
shape = SubResource("BoxShape3D_rnmx0")
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|