generated from Persson-dev/Godot-Xmake
156 lines
8.9 KiB
Plaintext
156 lines
8.9 KiB
Plaintext
[gd_scene load_steps=19 format=3 uid="uid://coue2qehpn4fr"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dujfl12rge3p4" path="res://Assets/Textures/Sky.png" id="1_mnexj"]
|
|
[ext_resource type="Texture2D" uid="uid://b8n5rff2a8h2u" path="res://Assets/Textures/Black.png" id="2_fkwcn"]
|
|
[ext_resource type="Texture2D" uid="uid://lpbttkw7gpxj" path="res://Assets/Textures/Orange.png" id="3_ux02w"]
|
|
[ext_resource type="Texture2D" uid="uid://di3uyny341483" path="res://Assets/Textures/Green.png" id="4_wp15n"]
|
|
[ext_resource type="PackedScene" uid="uid://d38w4ae3qj0k4" path="res://Scenes/Characters/first_person_player.tscn" id="5_8ctht"]
|
|
|
|
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_6c4vd"]
|
|
panorama = ExtResource("1_mnexj")
|
|
|
|
[sub_resource type="Sky" id="Sky_5ngqa"]
|
|
sky_material = SubResource("PanoramaSkyMaterial_6c4vd")
|
|
|
|
[sub_resource type="Environment" id="Environment_ctwiv"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_5ngqa")
|
|
tonemap_mode = 2
|
|
glow_enabled = true
|
|
|
|
[sub_resource type="NavigationMesh" id="NavigationMesh_2pdqo"]
|
|
vertices = PackedVector3Array(-5.25, 0.5, 1, -5, 0.5, -1.75, -5.5, 0.5, -2, -11.25, 0.5, 1, -5.5, 0.5, -3.75, -3.25, 0.5, -4, -3.25, 0.5, -24.5, -11.25, 0.5, 1, -5.5, 0.5, -2, -5.5, 0.5, -3.75, -24.5, 0.5, 3.25, -11.5, 0.5, 3.25, -11.25, 0.5, 1, -24.5, 0.5, 3.25, -11.25, 0.5, 1, -5.5, 0.5, -3.75, -3.25, 0.5, -24.5, -24.5, 0.5, -24.5, -3.25, 0.5, -4, 3.5, 0.5, -4, 3.5, 0.5, -24.5, -3.25, 0.5, -24.5, 5.5, 0.5, -4, 5.75, 0.5, -3, 24.5, 0.5, -3, 24.5, 0.5, -24.5, 3.5, 0.5, -24.5, 3.5, 0.5, -24.5, 3.5, 0.5, -4, 5.5, 0.5, -4, -5, 0.5, -1.75, -5.25, 0.5, 1, -5, 0.75, 2, 5.25, 0.5, -1.75, -5, 0.75, 2, -7.25, 1.5, 2, -7.25, 1.5, 6, -5, 0.75, 6.25, 24.5, 0.5, -3, 5.75, 0.5, -3, 5.25, 0.5, -1.75, -5.25, 0.5, 7.25, -6.75, 0.5, 7.25, -6.5, 0.5, 24.5, 5.25, 0.5, -1.75, -5, 0.75, 2, -5, 0.75, 6.25, 5.25, 0.5, -1.75, -5, 0.75, 6.25, -5.25, 0.5, 7.25, -6.5, 0.5, 24.5, 24.5, 0.5, 24.5, 24.5, 0.5, -3, -7.25, 1.5, 6, -7.25, 1.5, 2, -14, 3.75, 2, -14, 3.75, 6, -11.5, 0.5, 7, -11.5, 0.5, 3.25, -24.5, 0.5, 3.25, -10, 0.5, 24.5, -9.75, 0.5, 7.25, -11.5, 0.5, 7, -11.5, 0.5, 7, -24.5, 0.5, 3.25, -24.5, 0.5, 24.5, -10, 0.5, 24.5, -10, 0.5, 24.5, -6.5, 0.5, 24.5, -6.75, 0.5, 7.25, -9.75, 0.5, 7.25)
|
|
polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(6, 5, 4), PackedInt32Array(7, 9, 8), PackedInt32Array(12, 11, 10), PackedInt32Array(14, 13, 15), PackedInt32Array(15, 13, 16), PackedInt32Array(16, 13, 17), PackedInt32Array(21, 20, 18), PackedInt32Array(18, 20, 19), PackedInt32Array(23, 22, 24), PackedInt32Array(24, 22, 25), PackedInt32Array(25, 22, 26), PackedInt32Array(29, 28, 27), PackedInt32Array(31, 30, 32), PackedInt32Array(32, 30, 33), PackedInt32Array(35, 34, 36), PackedInt32Array(36, 34, 37), PackedInt32Array(40, 39, 38), PackedInt32Array(43, 42, 41), PackedInt32Array(46, 45, 44), PackedInt32Array(48, 47, 49), PackedInt32Array(49, 47, 50), PackedInt32Array(50, 47, 52), PackedInt32Array(50, 52, 51), PackedInt32Array(56, 55, 53), PackedInt32Array(53, 55, 54), PackedInt32Array(59, 58, 57), PackedInt32Array(62, 61, 60), PackedInt32Array(66, 65, 63), PackedInt32Array(63, 65, 64), PackedInt32Array(70, 69, 67), PackedInt32Array(67, 69, 68)]
|
|
agent_radius = 0.4
|
|
agent_max_slope = 60.0
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ajchh"]
|
|
albedo_texture = ExtResource("2_fkwcn")
|
|
uv1_triplanar = true
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_mmup0"]
|
|
material = SubResource("StandardMaterial3D_ajchh")
|
|
size = Vector2(50, 50)
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_26ptr"]
|
|
data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0, -25, 25, 0, -25)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jkvud"]
|
|
albedo_texture = ExtResource("3_ux02w")
|
|
uv1_triplanar = true
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_plpqy"]
|
|
material = SubResource("StandardMaterial3D_jkvud")
|
|
size = Vector3(10, 3, 1)
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_v7prx"]
|
|
data = PackedVector3Array(-5, 1.5, 0.5, 5, 1.5, 0.5, -5, -1.5, 0.5, 5, 1.5, 0.5, 5, -1.5, 0.5, -5, -1.5, 0.5, 5, 1.5, -0.5, -5, 1.5, -0.5, 5, -1.5, -0.5, -5, 1.5, -0.5, -5, -1.5, -0.5, 5, -1.5, -0.5, 5, 1.5, 0.5, 5, 1.5, -0.5, 5, -1.5, 0.5, 5, 1.5, -0.5, 5, -1.5, -0.5, 5, -1.5, 0.5, -5, 1.5, -0.5, -5, 1.5, 0.5, -5, -1.5, -0.5, -5, 1.5, 0.5, -5, -1.5, 0.5, -5, -1.5, -0.5, 5, 1.5, 0.5, -5, 1.5, 0.5, 5, 1.5, -0.5, -5, 1.5, 0.5, -5, 1.5, -0.5, 5, 1.5, -0.5, -5, -1.5, 0.5, 5, -1.5, 0.5, -5, -1.5, -0.5, 5, -1.5, 0.5, 5, -1.5, -0.5, -5, -1.5, -0.5)
|
|
|
|
[sub_resource type="PrismMesh" id="PrismMesh_0l7qq"]
|
|
left_to_right = -2.0
|
|
size = Vector3(5, 5, 5)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pfpgv"]
|
|
albedo_texture = ExtResource("4_wp15n")
|
|
uv1_triplanar = true
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_rit6o"]
|
|
data = PackedVector3Array(-12.5, 2.5, 2.5, 2.5, -2.5, 2.5, -2.5, -2.5, 2.5, -12.5, 2.5, -2.5, -2.5, -2.5, -2.5, 2.5, -2.5, -2.5, -12.5, 2.5, 2.5, -12.5, 2.5, -2.5, 2.5, -2.5, 2.5, -12.5, 2.5, -2.5, 2.5, -2.5, -2.5, 2.5, -2.5, 2.5, -12.5, 2.5, -2.5, -12.5, 2.5, 2.5, -2.5, -2.5, -2.5, -12.5, 2.5, 2.5, -2.5, -2.5, 2.5, -2.5, -2.5, -2.5, -2.5, -2.5, 2.5, 2.5, -2.5, 2.5, -2.5, -2.5, -2.5, 2.5, -2.5, 2.5, 2.5, -2.5, -2.5, -2.5, -2.5, -2.5)
|
|
|
|
[node name="World" type="World"]
|
|
|
|
[node name="Map" type="Node3D" parent="."]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="Map"]
|
|
environment = SubResource("Environment_ctwiv")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Map"]
|
|
transform = Transform3D(-0.866026, -0.433013, 0.249999, 0.5, -0.750001, 0.433012, -1.3411e-07, 0.499999, 0.866026, 0, 0, 0)
|
|
shadow_enabled = true
|
|
|
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Map"]
|
|
navigation_mesh = SubResource("NavigationMesh_2pdqo")
|
|
|
|
[node name="Floor" type="MeshInstance3D" parent="Map/NavigationRegion3D"]
|
|
mesh = SubResource("PlaneMesh_mmup0")
|
|
skeleton = NodePath("../../..")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="Map/NavigationRegion3D/Floor"]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Map/NavigationRegion3D/Floor/StaticBody3D"]
|
|
shape = SubResource("ConcavePolygonShape3D_26ptr")
|
|
|
|
[node name="Wall" type="MeshInstance3D" parent="Map/NavigationRegion3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -3)
|
|
mesh = SubResource("BoxMesh_plpqy")
|
|
skeleton = NodePath("../../..")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="Map/NavigationRegion3D/Wall"]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Map/NavigationRegion3D/Wall/StaticBody3D"]
|
|
shape = SubResource("ConcavePolygonShape3D_v7prx")
|
|
|
|
[node name="Slope" type="MeshInstance3D" parent="Map/NavigationRegion3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1, 4)
|
|
mesh = SubResource("PrismMesh_0l7qq")
|
|
skeleton = NodePath("../../..")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_pfpgv")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="Map/NavigationRegion3D/Slope"]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Map/NavigationRegion3D/Slope/StaticBody3D"]
|
|
shape = SubResource("ConcavePolygonShape3D_rit6o")
|
|
|
|
[node name="Spawns" type="Node3D" parent="Map"]
|
|
|
|
[node name="Spawn1" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 18.6089)
|
|
|
|
[node name="Spawn2" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.8451, 0, 18.6089)
|
|
|
|
[node name="Spawn3" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.8451, 0, 0.0245247)
|
|
|
|
[node name="Spawn4" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(-0.269021, -0.963134, 0, 0.963134, -0.269021, 0, 0, 0, 1, 19.0777, 0, -20.2546)
|
|
|
|
[node name="Spawn5" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(-0.269021, -0.963134, 0, 0.963134, -0.269021, 0, 0, 0, 1, 1.64303, 0, -20.2546)
|
|
|
|
[node name="Spawn6" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(-0.269021, -0.963134, 0, 0.963134, -0.269021, 0, 0, 0, 1, -19.0255, 0, -20.2546)
|
|
|
|
[node name="Spawn7" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(-0.269021, -0.963134, 0, 0.963134, -0.269021, 0, 0, 0, 1, -19.0255, 0, 0.256641)
|
|
|
|
[node name="Spawn8" type="Node3D" parent="Map/Spawns"]
|
|
transform = Transform3D(-0.269021, -0.963134, 0, 0.963134, -0.269021, 0, 0, 0, 1, -19.0255, 0, 16.4132)
|
|
|
|
[node name="FirstPersonPlayer" parent="." instance=ExtResource("5_8ctht")]
|
|
|
|
[node name="UI" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="HitRect" type="ColorRect" parent="UI"]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = -177.0
|
|
offset_top = -96.0
|
|
offset_right = 1365.0
|
|
offset_bottom = 780.0
|
|
color = Color(1, 0, 0, 0.34902)
|
|
|
|
[node name="ZombieSpawnTimer" type="Timer" parent="."]
|
|
wait_time = 5.0
|
|
autostart = true
|