1 | [gd_scene load_steps=12 format=3 uid="uid://dob63n4obk078"]
|
---|
2 |
|
---|
3 | [ext_resource type="Texture2D" uid="uid://bqm8ac4tx6vbp" path="res://Images/BrownGrid.png" id="1_0arp1"]
|
---|
4 |
|
---|
5 | [sub_resource type="GDScript" id="GDScript_7h1ea"]
|
---|
6 | script/source = "extends Area3D
|
---|
7 |
|
---|
8 | func _on_area_3d_body_entered(_body):
|
---|
9 | Universal.dead = true
|
---|
10 | "
|
---|
11 |
|
---|
12 | [sub_resource type="BoxShape3D" id="BoxShape3D_yfklc"]
|
---|
13 | size = Vector3(1.06511, 1, 0.937298)
|
---|
14 |
|
---|
15 | [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_si2mx"]
|
---|
16 | albedo_color = Color(1, 0, 0.00784314, 1)
|
---|
17 |
|
---|
18 | [sub_resource type="BoxMesh" id="BoxMesh_qgtra"]
|
---|
19 | material = SubResource("StandardMaterial3D_si2mx")
|
---|
20 |
|
---|
21 | [sub_resource type="ORMMaterial3D" id="ORMMaterial3D_jj1ep"]
|
---|
22 | albedo_texture = ExtResource("1_0arp1")
|
---|
23 | uv1_scale = Vector3(1.5, 0.5, 0)
|
---|
24 |
|
---|
25 | [sub_resource type="BoxMesh" id="BoxMesh_0a6pb"]
|
---|
26 | material = SubResource("ORMMaterial3D_jj1ep")
|
---|
27 |
|
---|
28 | [sub_resource type="BoxShape3D" id="BoxShape3D_palh1"]
|
---|
29 |
|
---|
30 | [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_82q6w"]
|
---|
31 | albedo_color = Color(1, 0.505882, 0.141176, 1)
|
---|
32 |
|
---|
33 | [sub_resource type="CapsuleMesh" id="CapsuleMesh_6j56n"]
|
---|
34 | material = SubResource("StandardMaterial3D_82q6w")
|
---|
35 |
|
---|
36 | [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5t2ci"]
|
---|
37 |
|
---|
38 | [node name="Pit" type="Node3D"]
|
---|
39 |
|
---|
40 | [node name="DeathPit" type="Area3D" parent="."]
|
---|
41 | transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.40573, 0)
|
---|
42 | collision_layer = 32
|
---|
43 | collision_mask = 2
|
---|
44 | monitorable = false
|
---|
45 | script = SubResource("GDScript_7h1ea")
|
---|
46 |
|
---|
47 | [node name="PitShape" type="CollisionShape3D" parent="DeathPit"]
|
---|
48 | transform = Transform3D(19, 0, 0, 0, 1, 0, 0, 0, 20, 0, 0.51213, 0)
|
---|
49 | shape = SubResource("BoxShape3D_yfklc")
|
---|
50 |
|
---|
51 | [node name="Deathspot" type="MeshInstance3D" parent="DeathPit"]
|
---|
52 | transform = Transform3D(20, 0, 0, 0, 1, 0, 0, 0, 20, 0, 0, 0)
|
---|
53 | layers = 33
|
---|
54 | mesh = SubResource("BoxMesh_qgtra")
|
---|
55 | skeleton = NodePath("../..")
|
---|
56 |
|
---|
57 | [node name="Container" type="Node3D" parent="."]
|
---|
58 |
|
---|
59 | [node name="Container1" type="MeshInstance3D" parent="Container"]
|
---|
60 | transform = Transform3D(2.3, 0, 0, 0, 0.629743, -0.814674, 0, 0.407337, 1.25949, 0, 0.00489664, 1.57003)
|
---|
61 | mesh = SubResource("BoxMesh_0a6pb")
|
---|
62 | skeleton = NodePath("")
|
---|
63 |
|
---|
64 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Container1"]
|
---|
65 |
|
---|
66 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container1/StaticBody3D"]
|
---|
67 | shape = SubResource("BoxShape3D_palh1")
|
---|
68 |
|
---|
69 | [node name="Container2" type="MeshInstance3D" parent="Container"]
|
---|
70 | transform = Transform3D(2.3, 0, 0, 0, 0.825153, -0.626323, 0, 1.25265, 0.412576, 0.000558191, 0.00494385, -1.5707)
|
---|
71 | mesh = SubResource("BoxMesh_0a6pb")
|
---|
72 | skeleton = NodePath("../Container1/StaticBody3D")
|
---|
73 |
|
---|
74 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Container2"]
|
---|
75 |
|
---|
76 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container2/StaticBody3D"]
|
---|
77 | shape = SubResource("BoxShape3D_palh1")
|
---|
78 |
|
---|
79 | [node name="Container3" type="MeshInstance3D" parent="Container"]
|
---|
80 | transform = Transform3D(-1.00536e-07, -1.25275, -0.4125, 0, 0.825, -0.626374, 2.3, -5.47593e-08, -1.80309e-08, 1.5681, 0.00476182, -0.003)
|
---|
81 | mesh = SubResource("BoxMesh_0a6pb")
|
---|
82 | skeleton = NodePath("")
|
---|
83 |
|
---|
84 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Container3"]
|
---|
85 |
|
---|
86 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container3/StaticBody3D"]
|
---|
87 | shape = SubResource("BoxShape3D_palh1")
|
---|
88 |
|
---|
89 | [node name="Container4" type="MeshInstance3D" parent="Container"]
|
---|
90 | transform = Transform3D(-4.6594e-07, -1.25381, 0.411691, -1.87549e-07, -0.823381, -0.626906, 2.3, -3.21141e-07, 3.22815e-08, -1.57012, 0.00490296, -0.003)
|
---|
91 | mesh = SubResource("BoxMesh_0a6pb")
|
---|
92 | skeleton = NodePath("")
|
---|
93 |
|
---|
94 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Container4"]
|
---|
95 |
|
---|
96 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container4/StaticBody3D"]
|
---|
97 | shape = SubResource("BoxShape3D_palh1")
|
---|
98 |
|
---|
99 | [node name="Capsule1" type="MeshInstance3D" parent="Container"]
|
---|
100 | transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, -1.55, -2, 1.55)
|
---|
101 | mesh = SubResource("CapsuleMesh_6j56n")
|
---|
102 |
|
---|
103 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule1"]
|
---|
104 |
|
---|
105 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule1/StaticBody3D"]
|
---|
106 | shape = SubResource("CapsuleShape3D_5t2ci")
|
---|
107 |
|
---|
108 | [node name="Capsule2" type="MeshInstance3D" parent="Container"]
|
---|
109 | transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, -1.55, -2, -1.55)
|
---|
110 | mesh = SubResource("CapsuleMesh_6j56n")
|
---|
111 | skeleton = NodePath("../Capsule1")
|
---|
112 |
|
---|
113 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule2"]
|
---|
114 |
|
---|
115 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule2/StaticBody3D"]
|
---|
116 | shape = SubResource("CapsuleShape3D_5t2ci")
|
---|
117 |
|
---|
118 | [node name="Capsule3" type="MeshInstance3D" parent="Container"]
|
---|
119 | transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, 1.55, -2, 1.55)
|
---|
120 | mesh = SubResource("CapsuleMesh_6j56n")
|
---|
121 |
|
---|
122 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule3"]
|
---|
123 |
|
---|
124 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule3/StaticBody3D"]
|
---|
125 | shape = SubResource("CapsuleShape3D_5t2ci")
|
---|
126 |
|
---|
127 | [node name="Capsule4" type="MeshInstance3D" parent="Container"]
|
---|
128 | transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, 1.55, -2, -1.55)
|
---|
129 | mesh = SubResource("CapsuleMesh_6j56n")
|
---|
130 | skeleton = NodePath("../Capsule1")
|
---|
131 |
|
---|
132 | [node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule4"]
|
---|
133 |
|
---|
134 | [node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule4/StaticBody3D"]
|
---|
135 | shape = SubResource("CapsuleShape3D_5t2ci")
|
---|
136 |
|
---|
137 | [connection signal="body_entered" from="DeathPit" to="DeathPit" method="_on_area_3d_body_entered"]
|
---|