-
Notifications
You must be signed in to change notification settings - Fork 0
/
screen.tscn
103 lines (82 loc) · 4.33 KB
/
screen.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
[gd_scene load_steps=7 format=3 uid="uid://crsjatqh2jcg"]
[ext_resource type="PackedScene" uid="uid://bi4em4tvqyrgb" path="res://Models/screen.blend" id="1_0khh2"]
[ext_resource type="Script" path="res://Scripts/Lever.cs" id="2_8qo0s"]
[ext_resource type="Script" path="res://Scripts/ToggleVis.cs" id="3_mx0nw"]
[sub_resource type="BoxShape3D" id="BoxShape3D_oq8b7"]
size = Vector3(0.25415, 0.25, 1.50244)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_af2tq"]
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_4u44j"]
material = SubResource("StandardMaterial3D_af2tq")
[node name="screen" instance=ExtResource("1_0khh2")]
[node name="Lever" parent="Cube_001" index="0"]
transform = Transform3D(1, 0, -1.49012e-08, 0, 0.707107, -0.707107, 0, 0.707107, 0.707107, 0.848759, 0.0579153, 0.155425)
script = ExtResource("2_8qo0s")
upSpeed = 0.5
downSpeed = 0.85
[node name="StaticBody3D" type="StaticBody3D" parent="Cube_001" index="1"]
transform = Transform3D(1, 0, 0, 0, 0.707107, -0.707107, 0, 0.707107, 0.707107, 0.848, 0, 0.191)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube_001/StaticBody3D" index="0"]
transform = Transform3D(0.999993, 1.63913e-07, 1.93715e-07, 0, 1, -2.6077e-08, 0, -1.11759e-08, 1, -0.00720167, -5.96046e-07, -0.0607916)
shape = SubResource("BoxShape3D_oq8b7")
[node name="Up" type="Node3D" parent="Cube_001" index="2"]
transform = Transform3D(1, 1.49012e-08, 0, 0, 0.707107, -0.707107, 0, 0.707107, 0.707107, 0.848759, 0.517535, -0.304194)
[node name="Down" type="Node3D" parent="Cube_001" index="3"]
transform = Transform3D(1, 1.49012e-08, 1.49012e-08, 1.05367e-08, 0.707107, -0.707107, 0, 0.707107, 0.707107, 0.848759, -0.401704, 0.615045)
[node name="OmniLight3D" type="OmniLight3D" parent="Cylinder" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.691875, 0)
light_color = Color(1, 0, 0, 1)
light_energy = 0.25
[node name="HallSpot" type="SpotLight3D" parent="." index="17"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 7.17748, 3.81299, 0)
light_energy = 2.902
light_volumetric_fog_energy = 0.5
shadow_enabled = true
spot_range = 7.77835
spot_angle = 42.4861
[node name="HallSpot2" type="SpotLight3D" parent="." index="18"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 7.17748, 3.81299, 16.0498)
light_energy = 2.902
light_volumetric_fog_energy = 0.5
shadow_enabled = true
spot_range = 7.77835
spot_angle = 42.4861
[node name="HallOmni" type="OmniLight3D" parent="." index="19"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 7.17748, 3.81299, 0)
light_energy = 2.902
light_volumetric_fog_energy = 0.16
shadow_enabled = true
omni_range = 9.39549
[node name="MeshInstance3D" type="MeshInstance3D" parent="." index="20"]
transform = Transform3D(3.3, 0, 0, 0, -1.44248e-07, 3.3, 0, -3.3, -1.44248e-07, 7.86304, 0.846219, 25.229)
mesh = SubResource("PlaneMesh_4u44j")
[node name="Turret" type="SpotLight3D" parent="." index="21"]
transform = Transform3D(1, 0, 0, 0, -0.623825, 0.781564, 0, -0.781564, -0.623825, 7.72884, 3.81299, 10.5049)
visible = false
light_color = Color(1, 0.14902, 0.14902, 1)
light_energy = 8.944
light_volumetric_fog_energy = 0.276
shadow_enabled = true
spot_range = 15.4617
spot_angle = 27.8714
script = ExtResource("3_mx0nw")
name = "Turret"
drainPerSec = 0.1
[node name="Label3D" type="Label3D" parent="." index="22"]
transform = Transform3D(1, 0, 0, 0, 0.302154, 0.953259, 0, -0.953259, 0.302154, -0.531335, -0.294037, -1.23405)
pixel_size = 0.0015
text = "w"
[node name="Label3D2" type="Label3D" parent="." index="23"]
transform = Transform3D(1, 0, 0, 0, 0.302154, 0.953259, 0, -0.953259, 0.302154, -0.531335, -0.317743, -1.15926)
pixel_size = 0.0015
text = "s"
[node name="Label3D4" type="Label3D" parent="." index="24"]
transform = Transform3D(1, 0, 0, 0, 0.302154, 0.953259, 0, -0.953259, 0.302154, -0.617688, -0.317743, -1.15926)
pixel_size = 0.0015
text = "a"
[node name="Label3D3" type="Label3D" parent="." index="25"]
transform = Transform3D(1, 0, 0, 0, 0.302154, 0.953259, 0, -0.953259, 0.302154, -0.447774, -0.317743, -1.15926)
pixel_size = 0.0015
text = "d"
[connection signal="mouse_entered" from="Cube_001/StaticBody3D" to="Cube_001/Lever" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="Cube_001/StaticBody3D" to="Cube_001/Lever" method="_on_mouse_exited"]