source: Studio/World/deathspot.tscn@ 831a978

godot4-dev
Last change on this file since 831a978 was 831a978, checked in by Jonathan Neufeld <support@…>, 3 years ago

Initial commit of Godot4 project Working world and movable player.

  • Property mode set to 100644
File size: 5.4 KB
Line 
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"]
6script/source = "extends Area3D
7
8func _on_area_3d_body_entered(_body):
9 Universal.dead = true
10"
11
12[sub_resource type="BoxShape3D" id="BoxShape3D_yfklc"]
13size = Vector3(1.06511, 1, 0.937298)
14
15[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_si2mx"]
16albedo_color = Color(1, 0, 0.00784314, 1)
17
18[sub_resource type="BoxMesh" id="BoxMesh_qgtra"]
19material = SubResource("StandardMaterial3D_si2mx")
20
21[sub_resource type="ORMMaterial3D" id="ORMMaterial3D_jj1ep"]
22albedo_texture = ExtResource("1_0arp1")
23uv1_scale = Vector3(1.5, 0.5, 0)
24
25[sub_resource type="BoxMesh" id="BoxMesh_0a6pb"]
26material = SubResource("ORMMaterial3D_jj1ep")
27
28[sub_resource type="BoxShape3D" id="BoxShape3D_palh1"]
29
30[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_82q6w"]
31albedo_color = Color(1, 0.505882, 0.141176, 1)
32
33[sub_resource type="CapsuleMesh" id="CapsuleMesh_6j56n"]
34material = 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="."]
41transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.40573, 0)
42collision_layer = 32
43collision_mask = 2
44monitorable = false
45script = SubResource("GDScript_7h1ea")
46
47[node name="PitShape" type="CollisionShape3D" parent="DeathPit"]
48transform = Transform3D(19, 0, 0, 0, 1, 0, 0, 0, 20, 0, 0.51213, 0)
49shape = SubResource("BoxShape3D_yfklc")
50
51[node name="Deathspot" type="MeshInstance3D" parent="DeathPit"]
52transform = Transform3D(20, 0, 0, 0, 1, 0, 0, 0, 20, 0, 0, 0)
53layers = 33
54mesh = SubResource("BoxMesh_qgtra")
55skeleton = NodePath("../..")
56
57[node name="Container" type="Node3D" parent="."]
58
59[node name="Container1" type="MeshInstance3D" parent="Container"]
60transform = Transform3D(2.3, 0, 0, 0, 0.629743, -0.814674, 0, 0.407337, 1.25949, 0, 0.00489664, 1.57003)
61mesh = SubResource("BoxMesh_0a6pb")
62skeleton = NodePath("")
63
64[node name="StaticBody3D" type="StaticBody3D" parent="Container/Container1"]
65
66[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container1/StaticBody3D"]
67shape = SubResource("BoxShape3D_palh1")
68
69[node name="Container2" type="MeshInstance3D" parent="Container"]
70transform = Transform3D(2.3, 0, 0, 0, 0.825153, -0.626323, 0, 1.25265, 0.412576, 0.000558191, 0.00494385, -1.5707)
71mesh = SubResource("BoxMesh_0a6pb")
72skeleton = NodePath("../Container1/StaticBody3D")
73
74[node name="StaticBody3D" type="StaticBody3D" parent="Container/Container2"]
75
76[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container2/StaticBody3D"]
77shape = SubResource("BoxShape3D_palh1")
78
79[node name="Container3" type="MeshInstance3D" parent="Container"]
80transform = 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)
81mesh = SubResource("BoxMesh_0a6pb")
82skeleton = NodePath("")
83
84[node name="StaticBody3D" type="StaticBody3D" parent="Container/Container3"]
85
86[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container3/StaticBody3D"]
87shape = SubResource("BoxShape3D_palh1")
88
89[node name="Container4" type="MeshInstance3D" parent="Container"]
90transform = 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)
91mesh = SubResource("BoxMesh_0a6pb")
92skeleton = NodePath("")
93
94[node name="StaticBody3D" type="StaticBody3D" parent="Container/Container4"]
95
96[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Container4/StaticBody3D"]
97shape = SubResource("BoxShape3D_palh1")
98
99[node name="Capsule1" type="MeshInstance3D" parent="Container"]
100transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, -1.55, -2, 1.55)
101mesh = SubResource("CapsuleMesh_6j56n")
102
103[node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule1"]
104
105[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule1/StaticBody3D"]
106shape = SubResource("CapsuleShape3D_5t2ci")
107
108[node name="Capsule2" type="MeshInstance3D" parent="Container"]
109transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, -1.55, -2, -1.55)
110mesh = SubResource("CapsuleMesh_6j56n")
111skeleton = NodePath("../Capsule1")
112
113[node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule2"]
114
115[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule2/StaticBody3D"]
116shape = SubResource("CapsuleShape3D_5t2ci")
117
118[node name="Capsule3" type="MeshInstance3D" parent="Container"]
119transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, 1.55, -2, 1.55)
120mesh = SubResource("CapsuleMesh_6j56n")
121
122[node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule3"]
123
124[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule3/StaticBody3D"]
125shape = SubResource("CapsuleShape3D_5t2ci")
126
127[node name="Capsule4" type="MeshInstance3D" parent="Container"]
128transform = Transform3D(2, 0, 0, 0, 3, 0, 0, 0, 2, 1.55, -2, -1.55)
129mesh = SubResource("CapsuleMesh_6j56n")
130skeleton = NodePath("../Capsule1")
131
132[node name="StaticBody3D" type="StaticBody3D" parent="Container/Capsule4"]
133
134[node name="CollisionShape3D" type="CollisionShape3D" parent="Container/Capsule4/StaticBody3D"]
135shape = SubResource("CapsuleShape3D_5t2ci")
136
137[connection signal="body_entered" from="DeathPit" to="DeathPit" method="_on_area_3d_body_entered"]
Note: See TracBrowser for help on using the repository browser.