hotel-madness/scenes/maps/testmap.tscn

74 lines
2.9 KiB
Text
Raw Normal View History

[gd_scene load_steps=9 format=3 uid="uid://cbyee7drds7qu"]
[ext_resource type="Script" path="res://scripts/maps/map.gd" id="1_4npcs"]
2024-12-13 21:18:52 +01:00
[ext_resource type="Script" path="res://scripts/maps/objectives/hungry.gd" id="2_qrp84"]
2024-12-10 19:13:22 +01:00
[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"]
2024-12-10 19:13:22 +01:00
[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"]
[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)
2024-12-13 21:18:52 +01:00
script = ExtResource("2_qrp84")
[node name="1" type="Node3D" parent="NPCRestPlaces"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13, 2, -32)
2024-12-13 21:18:52 +01:00
script = ExtResource("2_qrp84")
[node name="2" type="Node3D" parent="NPCRestPlaces"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 2, -48)
2024-12-13 21:18:52 +01:00
script = ExtResource("2_qrp84")
[node name="NPCCarryables" type="Node3D" parent="."]
[node name="Closet" parent="NPCCarryables" instance=ExtResource("2_yvpvm")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29, 10, -30)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
2024-12-10 19:13:22 +01:00
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="Npc1" parent="." instance=ExtResource("3_x3gyc")]
2024-12-13 18:28:06 +01:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 25, 6, -33)
[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="."]