summaryrefslogtreecommitdiff
path: root/client/map/tiles/freezer.tscn
blob: 93ae135058d975aab4b094aca6225034a72515bb (plain)
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
[gd_scene load_steps=8 format=3 uid="uid://ch753p32b3jl8"]

[ext_resource type="Script" path="res://map/tiles/freezer_model.gd" id="1_kso20"]
[ext_resource type="ArrayMesh" uid="uid://cbdalq2gofyu8" path="res://map/tiles/freezer_base.res" id="2_akcb5"]
[ext_resource type="ArrayMesh" uid="uid://yknstw5duuot" path="res://map/tiles/freezer_door.res" id="3_0pgw0"]
[ext_resource type="Script" path="res://map/auto_setup/light_setup.gd" id="4_1eu4t"]

[sub_resource type="Animation" id="Animation_33bww"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("FreezerBase/FreezerDoor:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 0, 0)]
}

[sub_resource type="Animation" id="Animation_axsnk"]
resource_name = "open"
length = 0.4
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("FreezerBase/FreezerDoor:rotation")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.4),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(0, 1.39626, 0), Vector3(0, 1.39626, 0), Vector3(0, 0, 0)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_usga0"]
_data = {
"RESET": SubResource("Animation_33bww"),
"open": SubResource("Animation_axsnk")
}

[node name="Freezer" type="Node3D"]
script = ExtResource("1_kso20")

[node name="FreezerBase" type="MeshInstance3D" parent="."]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
mesh = ExtResource("2_akcb5")
skeleton = NodePath("")

[node name="FreezerDoor" type="MeshInstance3D" parent="FreezerBase"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.850006, 1.25, 0.5)
mesh = ExtResource("3_0pgw0")
skeleton = NodePath("")

[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
light_color = Color(0.566816, 0.801037, 0.838352, 1)
shadow_enabled = true
script = ExtResource("4_1eu4t")
completely_disable_light_if_shadows_disabled = true

[node name="OmniLight3D2" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
light_color = Color(0.566816, 0.801037, 0.838352, 1)
shadow_enabled = true
script = ExtResource("4_1eu4t")
completely_disable_light_if_shadows_disabled = true

[node name="OmniLight3D3" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
light_color = Color(0.566816, 0.801037, 0.838352, 1)
shadow_enabled = true
script = ExtResource("4_1eu4t")
completely_disable_light_if_shadows_disabled = true

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_usga0")
}