-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathartefact.tscn
118 lines (92 loc) · 4.45 KB
/
artefact.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[gd_scene load_steps=18 format=3 uid="uid://cg7cv3dgykop4"]
[ext_resource type="Script" path="res://scripts/artefact.gd" id="1_7n0e2"]
[ext_resource type="Resource" uid="uid://cikfxa5k6o1u6" path="res://resources/inventory/items/orb_red.tres" id="2_pe8bd"]
[ext_resource type="Resource" uid="uid://budalf3utr53k" path="res://resources/inventory/items/orb_green.tres" id="3_d1yq1"]
[ext_resource type="Resource" uid="uid://0w7dgyel5g7" path="res://resources/inventory/items/orb_blue.tres" id="4_qi4xj"]
[ext_resource type="Shader" path="res://shaders/damned_one_tentacle.gdshader" id="5_cquqh"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_rgdp4"]
height = 1.25
radius = 0.25
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2ci3c"]
render_priority = 0
shader = ExtResource("5_cquqh")
shader_parameter/color = Color(0.384358, 0.0253329, 0.31545, 1)
shader_parameter/morph_amount = 0.02
shader_parameter/speed_factor = 1.0
[sub_resource type="CylinderMesh" id="CylinderMesh_sw71p"]
material = SubResource("ShaderMaterial_2ci3c")
top_radius = 0.25
bottom_radius = 0.25
height = 1.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_px4a0"]
albedo_color = Color(0.203567, 2.91191e-05, 0.204322, 1)
[sub_resource type="CylinderMesh" id="CylinderMesh_m27gc"]
material = SubResource("StandardMaterial3D_px4a0")
top_radius = 0.05
bottom_radius = 0.0
height = 0.1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vvsls"]
albedo_color = Color(1, 0, 0, 1)
emission_enabled = true
emission = Color(1, 0, 0, 1)
[sub_resource type="SphereMesh" id="SphereMesh_iu1hq"]
material = SubResource("StandardMaterial3D_vvsls")
radius = 0.05
height = 0.1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lge87"]
albedo_color = Color(0, 1, 0, 1)
emission_enabled = true
emission = Color(0, 1, 0, 1)
[sub_resource type="SphereMesh" id="SphereMesh_inj7k"]
material = SubResource("StandardMaterial3D_lge87")
radius = 0.05
height = 0.1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ftwur"]
albedo_color = Color(0, 0, 1, 1)
emission_enabled = true
emission = Color(0, 0, 1, 1)
[sub_resource type="SphereMesh" id="SphereMesh_rg3qw"]
material = SubResource("StandardMaterial3D_ftwur")
radius = 0.05
height = 0.1
[sub_resource type="BoxShape3D" id="BoxShape3D_qgjix"]
size = Vector3(0.5, 1, 0.5)
[node name="Artefact" type="Node3D"]
script = ExtResource("1_7n0e2")
red_orb_item = ExtResource("2_pe8bd")
green_orb_item = ExtResource("3_d1yq1")
blue_orb_item = ExtResource("4_qi4xj")
[node name="InteractArea" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.554591, 0)
shape = SubResource("CylinderShape3D_rgdp4")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="Body" type="MeshInstance3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
mesh = SubResource("CylinderMesh_sw71p")
[node name="Holder1" type="MeshInstance3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0768426, 1.02895, -0.0944627)
mesh = SubResource("CylinderMesh_m27gc")
[node name="Ball1" type="MeshInstance3D" parent="StaticBody3D/Holder1"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0941514, 0)
mesh = SubResource("SphereMesh_iu1hq")
[node name="Holder2" type="MeshInstance3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0768426, 1.02895, 0.0981774)
mesh = SubResource("CylinderMesh_m27gc")
[node name="Ball2" type="MeshInstance3D" parent="StaticBody3D/Holder2"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.094, 0)
mesh = SubResource("SphereMesh_inj7k")
[node name="Holder3" type="MeshInstance3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.177787, 1.02895, -5.03361e-05)
mesh = SubResource("CylinderMesh_m27gc")
[node name="Ball3" type="MeshInstance3D" parent="StaticBody3D/Holder3"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.094, 0)
mesh = SubResource("SphereMesh_rg3qw")
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("BoxShape3D_qgjix")
[connection signal="area_entered" from="InteractArea" to="." method="_area_entered_area"]
[connection signal="area_exited" from="InteractArea" to="." method="_area_exited_area"]