You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
236 lines
10 KiB
236 lines
10 KiB
[gd_scene load_steps=21 format=3 uid="uid://gq33ysuit61b"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c70o7nk6wxcmx" path="res://models/UndertakerBlockout.fbx" id="2_gfayn"]
|
|
[ext_resource type="PackedScene" uid="uid://be7u1kn41g2ww" path="res://addons/interaction/interactable.tscn" id="3_u0nvw"]
|
|
[ext_resource type="PackedScene" uid="uid://bxuveo0hlwy33" path="res://prefabs/character.tscn" id="4_tedjo"]
|
|
[ext_resource type="Script" uid="uid://b1pyctfbd0wvg" path="res://scenes/debug_printer.gd" id="4_ui586"]
|
|
[ext_resource type="PackedScene" uid="uid://cv3qpo5lfrchn" path="res://prefabs/lever.tscn" id="5_tedjo"]
|
|
[ext_resource type="PackedScene" uid="uid://cx052x8qp7oj2" path="res://prefabs/lid_crane.tscn" id="6_oslft"]
|
|
[ext_resource type="Script" uid="uid://bmxu5xdxlq0e6" path="res://scenes/flickering_oven_light.gd" id="7_sve1f"]
|
|
[ext_resource type="VoxelGIData" uid="uid://bfwtxdvx4w12w" path="res://scenes/blockout_room.VoxelGI_data.res" id="8_dp7jk"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_gfayn"]
|
|
size = Vector3(12.2438965, 0.48779297, 13.901489)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ui586"]
|
|
size = Vector3(0.24987793, 1, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_oslft"]
|
|
size = Vector3(7, 0.1, 10)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_oslft"]
|
|
emission_enabled = true
|
|
emission = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_sve1f"]
|
|
material = SubResource("StandardMaterial3D_oslft")
|
|
height = 0.001
|
|
|
|
[sub_resource type="Animation" id="Animation_oslft"]
|
|
resource_name = "OvenFlicker"
|
|
length = 3.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:light_energy")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0.033333335, 0.09333334, 0.16666667, 0.26333332, 0.33333334, 0.43333334, 0.53333336, 0.6066668, 0.7, 0.8, 0.9, 1, 1.1, 1.2333333, 1.3, 1.4, 1.4666667, 1.5702888, 1.6666666, 1.7698421, 1.8333334, 1.9333334, 2, 2.1, 2.1666667, 2.2333333, 2.4666667, 2.5, 2.5666666, 2.6333334, 2.7, 2.8, 2.8666666, 2.9542975),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [1.0, 1.179, 0.877, 1.31, 1.0, 1.262, 1.0, 0.794, 1.0, 1.0, 1.31, 0.877, 1.0, 1.143, 1.0, 1.179, 1.0, 1.31, 0.961, 1.0, 1.143, 0.961, 1.179, 1.0, 1.096, 1.0, 1.31, 0.794, 1.0, 1.179, 1.0, 1.31, 0.794, 1.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_sve1f"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:light_energy")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [1.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dp7jk"]
|
|
_data = {
|
|
&"OvenFlicker": SubResource("Animation_oslft"),
|
|
&"RESET": SubResource("Animation_sve1f")
|
|
}
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dp7jk"]
|
|
albedo_color = Color(0, 0, 0, 1)
|
|
emission_enabled = true
|
|
emission = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_k5i88"]
|
|
material = SubResource("StandardMaterial3D_dp7jk")
|
|
top_radius = 0.05
|
|
bottom_radius = 0.05
|
|
height = 1.0
|
|
|
|
[sub_resource type="FogMaterial" id="FogMaterial_dp7jk"]
|
|
density = 0.1
|
|
|
|
[sub_resource type="Environment" id="Environment_dp7jk"]
|
|
tonemap_mode = 3
|
|
glow_enabled = true
|
|
glow_normalized = true
|
|
glow_intensity = 1.43
|
|
glow_strength = 1.04
|
|
glow_bloom = 0.16
|
|
volumetric_fog_enabled = true
|
|
|
|
[node name="BlockoutRoom" type="Node3D"]
|
|
|
|
[node name="UndertakerBlockout" parent="." instance=ExtResource("2_gfayn")]
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00014138222, 2.43762, 0.07469213)
|
|
light_color = Color(0.9973013, 0.8734352, 0.72215354, 1)
|
|
light_energy = 0.0
|
|
shadow_enabled = true
|
|
|
|
[node name="OmniLight3D2" type="OmniLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00014138222, 2.43762, 2.7512703)
|
|
light_color = Color(0.9973013, 0.8734352, 0.72215354, 1)
|
|
light_energy = 0.0
|
|
shadow_enabled = true
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.7260458, 0.59701693, -0.34121642, 0.64276195, -0.41287616, 0.6452829, 0.24436492, -0.6878258, -0.6835067, 6.874206, 4.957541, 1.7799606)
|
|
light_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.1646729, -0.25610352, 1.5601196)
|
|
shape = SubResource("BoxShape3D_gfayn")
|
|
|
|
[node name="Interactable" parent="." instance=ExtResource("3_u0nvw")]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Interactable"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.1487448, 1.3621653, -0.7917821)
|
|
shape = SubResource("BoxShape3D_ui586")
|
|
|
|
[node name="DebugPrinter" type="Node" parent="."]
|
|
script = ExtResource("4_ui586")
|
|
|
|
[node name="Character" parent="." instance=ExtResource("4_tedjo")]
|
|
|
|
[node name="Lever" parent="." instance=ExtResource("5_tedjo")]
|
|
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.884376, 1.4100053, 4.976951)
|
|
|
|
[node name="LidCrane" parent="." instance=ExtResource("6_oslft")]
|
|
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 5.0008087)
|
|
|
|
[node name="Cieling" type="Node3D" parent="."]
|
|
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.884376, 1.4100053, 4.976951)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Cieling"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.8011624, 1.3881333, 4.8832793)
|
|
mesh = SubResource("BoxMesh_oslft")
|
|
|
|
[node name="back wall" type="Node3D" parent="."]
|
|
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.884376, 1.4100053, 4.976951)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="back wall"]
|
|
transform = Transform3D(1, -8.742278e-08, 8.742278e-08, 8.742278e-08, -4.371139e-08, -1, 8.742278e-08, 1, -4.371138e-08, 1.8011621, -0.67389727, 6.4336667)
|
|
mesh = SubResource("BoxMesh_oslft")
|
|
|
|
[node name="SpotLight3D" type="SpotLight3D" parent="."]
|
|
transform = Transform3D(0.44974717, 0.47692466, -0.75516254, 0.36746177, 0.67182255, 0.64313793, 0.81406355, -0.5667428, 0.12689872, -1.7417114, 2.1152334, 4.1011653)
|
|
light_color = Color(0.87831414, 0.9912934, 0.9985295, 1)
|
|
light_energy = 0.206
|
|
light_bake_mode = 1
|
|
shadow_enabled = true
|
|
spot_range = 16.644
|
|
spot_attenuation = 1.44
|
|
spot_angle = 80.73
|
|
spot_angle_attenuation = 2.828428
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="SpotLight3D"]
|
|
transform = Transform3D(0.9999997, 5.9604645e-08, 2.9802322e-08, -2.9802322e-08, -9.685755e-08, -0.9999995, -5.9604645e-08, 0.99999964, 7.450581e-09, -0.01551342, 0.0023140907, 0.006446123)
|
|
mesh = SubResource("CylinderMesh_sve1f")
|
|
skeleton = NodePath("../../Fake lights")
|
|
|
|
[node name="Fake lights" type="Node3D" parent="."]
|
|
|
|
[node name="OmniLight3D3" type="OmniLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.4813757, 1.2506423, 4.327849)
|
|
light_color = Color(1, 0.6068378, 0.4258487, 1)
|
|
light_indirect_energy = 0.0
|
|
shadow_enabled = true
|
|
omni_range = 11.183
|
|
omni_attenuation = 1.538
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="OmniLight3D3"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_dp7jk")
|
|
}
|
|
script = ExtResource("7_sve1f")
|
|
|
|
[node name="VoxelGI" type="VoxelGI" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3855438, 2.5112534, 2.3712463)
|
|
size = Vector3(9.520233, 5.2458344, 7.907776)
|
|
data = ExtResource("8_dp7jk")
|
|
|
|
[node name="TubeLight" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0993485, 1.5864359, 1.2863536)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="TubeLight"]
|
|
transform = Transform3D(1, 0, 0, 0, 0, -1.0000001, 0, 1.0000001, 0, 0, 0, 0)
|
|
mesh = SubResource("CylinderMesh_k5i88")
|
|
|
|
[node name="TubeLight2" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0993485, 1.5864359, 2.379497)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="TubeLight2"]
|
|
transform = Transform3D(1, 0, 0, 0, 0, -1.0000001, 0, 1.0000001, 0, 0, 0, 0)
|
|
mesh = SubResource("CylinderMesh_k5i88")
|
|
|
|
[node name="TubeLight3" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.881829, 1.3714095, 2.238455)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="TubeLight3"]
|
|
transform = Transform3D(1, 0, 0, 0, 0, -1.0000001, 0, 0.41135335, 0, 0, 0, 0.31269455)
|
|
mesh = SubResource("CylinderMesh_k5i88")
|
|
|
|
[node name="TubeLight4" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.881829, 1.3714095, 1.2320452)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="TubeLight4"]
|
|
transform = Transform3D(1, 0, 0, 0, 0, -1.0000001, 0, 0.41135335, 0, 0, 0, 0.31269455)
|
|
mesh = SubResource("CylinderMesh_k5i88")
|
|
|
|
[node name="TubeLight5" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.881829, 1.3714095, 0.24469495)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="TubeLight5"]
|
|
transform = Transform3D(1, 0, 0, 0, 0, -1.0000001, 0, 0.41135335, 0, 0, 0, 0.31269455)
|
|
mesh = SubResource("CylinderMesh_k5i88")
|
|
|
|
[node name="TubeLight6" type="Node3D" parent="."]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2.172572, 1.6270136, 4.6471157)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="TubeLight6"]
|
|
transform = Transform3D(1, 0, 0, 0, 0, -1.0000001, 0, 0.41135335, 0, 0, 0, 0.23260427)
|
|
mesh = SubResource("CylinderMesh_k5i88")
|
|
|
|
[node name="FogVolume" type="FogVolume" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.4094696, 1.0683594, 2.2607956)
|
|
size = Vector3(9.70578, 4.1367188, 8.059006)
|
|
material = SubResource("FogMaterial_dp7jk")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_dp7jk")
|
|
|
|
[connection signal="on_hit" from="Interactable" to="DebugPrinter" method="_on_interactable_on_hit"]
|
|
[connection signal="changed" from="Lever" to="LidCrane" method="set_grab"]
|