2024-12-22 17:01:59 -05:00
|
|
|
[gd_scene load_steps=25 format=4 uid="uid://bbqug1s083mdi"]
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ci2uamlnv8swy" path="res://assets/maps/levelpool.blend" id="1_cpckw"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cy86jyiy6skvk" path="res://scenes/player.tscn" id="2_eggmh"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://3s4o76uxcabo" path="res://components/door_component.tscn" id="3_clecd"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bj7g1cro2pvlp" path="res://assets/textures/dev/tiles01_black.png" id="4_ngwgs"]
|
|
|
|
[ext_resource type="AudioStream" uid="uid://cieprqff0h2nm" path="res://assets/sounds/door.wav" id="5_yad6d"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dnq81gfo5y4oy" path="res://components/group_trigger_component.tscn" id="6_f2del"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bfv04lp2tbxtd" path="res://scenes/monitor.tscn" id="6_qd2wd"]
|
2024-12-22 17:01:59 -05:00
|
|
|
[ext_resource type="Script" path="res://scripts/win_box.gd" id="7_oxf41"]
|
2024-12-22 14:27:52 -05:00
|
|
|
[ext_resource type="AudioStream" uid="uid://d20ver6nfndbt" path="res://assets/sounds/dialog/start_dialog.wav" id="7_r1xli"]
|
2024-12-22 17:01:59 -05:00
|
|
|
[ext_resource type="Script" path="res://scripts/failure.gd" id="8_pee3c"]
|
2024-12-22 14:27:52 -05:00
|
|
|
[ext_resource type="AudioStream" uid="uid://dbw14jkekqjrb" path="res://assets/sounds/dialog/win_dialog.wav" id="8_u6ajb"]
|
2024-12-22 17:01:59 -05:00
|
|
|
[ext_resource type="AudioStream" uid="uid://w7jbmkwjvtvx" path="res://assets/sounds/disappoint.wav" id="11_yx3n7"]
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_soh1s"]
|
|
|
|
resource_name = "tiles01_black"
|
|
|
|
cull_mode = 2
|
|
|
|
albedo_texture = ExtResource("4_ngwgs")
|
|
|
|
|
|
|
|
[sub_resource type="ArrayMesh" id="ArrayMesh_86pmw"]
|
|
|
|
_surfaces = [{
|
|
|
|
"aabb": AABB(3.69908, -2, -6.30092, 2.60184, 0.5, 2.60184),
|
|
|
|
"format": 34896613377,
|
|
|
|
"index_count": 96,
|
|
|
|
"index_data": PackedByteArray("AgAHAAYAAgADAAcAAAAHAAQAAAADAAcAAAAFAAQAAAABAAUAAQAGAAUAAQACAAYACQAPAAsACQANAA8ACgAPAAsACgAOAA8ACgAMAAgACgAOAAwACAANAAkACAAMAA0ABwANAAYABwAPAA0ABwAOAAQABwAPAA4AAgALAAMAAgAJAAsAAAALAAMAAAAKAAsABQAOAAQABQAMAA4ABgAMAAUABgANAAwAAAAIAAEAAAAKAAgAAQAJAAIAAQAIAAkA"),
|
|
|
|
"name": "tiles01_black",
|
|
|
|
"primitive": 3,
|
|
|
|
"uv_scale": Vector4(0, 0, 0, 0),
|
|
|
|
"vertex_count": 16,
|
|
|
|
"vertex_data": PackedByteArray("Y+IAAGPiAACbHQAAY+IAAJsdAACbHQAAY+IAAJsdAAD//wAA//8AAAAAAAD//wAAAAAAAAAAAAD//wAAAAAAAJsd//9j4gAAmx3//5sdAABj4v//Y+IAAGPi//+bHQAAAAD/////AAAAAP//AAAAAP///////wAA/////wAAAAA=")
|
|
|
|
}]
|
|
|
|
blend_shape_mode = 0
|
|
|
|
|
|
|
|
[sub_resource type="ArrayMesh" id="ArrayMesh_4vkxm"]
|
|
|
|
resource_name = "levelpool_Cube_004"
|
|
|
|
_surfaces = [{
|
|
|
|
"aabb": AABB(3.69908, -2, -6.30092, 2.60184, 0.5, 2.60184),
|
|
|
|
"attribute_data": PackedByteArray("meXQo5nlmeWZ5ZnlLDbQoyw20KMsNpnlLDbQoyw20KMsNiw2meXQo5nl0KOZ5Sw2meUsNpnl0KP//9Cj///////////HG9CjxxvQo8cb///HG9CjxxvQo8cbxxv//9Cj///Qo///xxv//8cb///Qoyw29XcsNpnlLDb1dyw29XcsNiw2meX1d5nl9XeZ5ZnlmeWZ5Sw29XeZ5fV3meUsNpnlLDaZ5fV3xxv1d8cb///HG/V3xxv1d8cbxxv///V3///1d///////////xxv1d///9Xf//8cb///HG///9Xc="),
|
|
|
|
"format": 34896613399,
|
|
|
|
"index_count": 96,
|
|
|
|
"index_data": PackedByteArray("CAAaABYACAAMABoAAQAZAA8AAQALABkAAgATABAAAgAFABMABQAWABMABQAIABYAIAA1ACcAIAAuADUAJAA2ACgAJAAyADYAIwArAB0AIwAxACsAHQAuACAAHQArAC4AGAAtABUAGAA0AC0AGwAzABEAGwA3ADMABwAmAAoABwAfACYAAwApAA0AAwAlACkAEgAwAA4AEgAqADAAFwAsABQAFwAvACwAAAAcAAQAAAAiABwABgAhAAkABgAeACEA"),
|
|
|
|
"material": SubResource("StandardMaterial3D_soh1s"),
|
|
|
|
"name": "tiles01_black",
|
|
|
|
"primitive": 3,
|
|
|
|
"uv_scale": Vector4(9.21532, 9.21532, 0, 0),
|
|
|
|
"vertex_count": 56,
|
|
|
|
"vertex_data": PackedByteArray("Y+IAAGPiAABj4gAAY+L/v2PiAABj4v8/Y+IAAGPi/7+bHQAAY+IAAJsdAABj4v8/mx0AAGPi/7+bHQAAmx0AgJsdAACbHf8/mx0AAJsd/79j4gAAmx0AgGPiAACbHf+/Y+IAAJsd/z9j4gAAmx3/v///AAD//wCA//8AAP///7///wAA////P///AAD//wAAAAAAAP//AIAAAAAA////PwAAAAD//wAAAAAAAAAAAAAAAAAAAAD/PwAAAAAAAAAA//8AAAAAAAD//wAAAAD/v///AAAAAP8///8AAAAAAACbHf//Y+IAAJsd//9j4v+/mx3//2Pi/7+bHf//mx0AgJsd//+bHf+/mx3//5sd/79j4v//Y+IAAGPi//9j4v+/Y+L//2Pi/z9j4v//Y+L/v2Pi//+bHQCAY+L//5sd/79j4v//mx3/P2Pi//+bHf+/AAD/////AIAAAP//////vwAA/////wAAAAD//wAAAAAAAP//AAD/vwAA//8AAAAA////////AID/////////v/////////8/////////AAD/////AAAAAP////8AAP+//////wAA/z//////AAAAAP///3////9/AAD/f/9/AAD///9/AAD/f/9/AAD/f///AAD/f/9/AAD/f///////fwAA/3//fwAA/3///////38AAP9//z//f/9///8AAP9//z//f////38AAP9//z//f////3////9/AAD/f/8//3////9/////f/9/AAD/f///////f/9/AAD///9/////fwAA/3//fwAA/3///////38AAP9//38AAP9///////9//z//f////3////9//z//f/9///////9/AAD/f/8//3////9/////fwAA/3//P/9/")
|
|
|
|
}]
|
|
|
|
blend_shape_mode = 0
|
|
|
|
shadow_mesh = SubResource("ArrayMesh_86pmw")
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_yaaik"]
|
|
|
|
size = Vector3(4, 5, 1)
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gs8og"]
|
|
|
|
albedo_texture = ExtResource("4_ngwgs")
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ytxur"]
|
|
|
|
size = Vector3(4, 5, 1)
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_lexij"]
|
|
|
|
resource_name = "open"
|
|
|
|
tracks/0/type = "bezier"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("CollisionShape3D:position:y")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.5, 0, 4, -0.5, 0, 0.25, 0),
|
|
|
|
"times": PackedFloat32Array(0, 1)
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_prvv0"]
|
|
|
|
_data = {
|
|
|
|
"open": SubResource("Animation_lexij")
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_epqy0"]
|
|
|
|
size = Vector3(0.3, 0.5, 2.3)
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_dsbsn"]
|
|
|
|
size = Vector3(2, 2, 2)
|
|
|
|
|
2024-12-22 17:01:59 -05:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_0a1av"]
|
|
|
|
size = Vector3(2, 0.147827, 2)
|
|
|
|
|
2024-12-22 14:27:52 -05:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_vryv4"]
|
2024-12-22 17:01:59 -05:00
|
|
|
size = Vector3(2, 1, 2)
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="LevelPool" type="Node3D"]
|
|
|
|
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0)
|
|
|
|
light_energy = 9.0
|
|
|
|
shadow_enabled = true
|
|
|
|
shadow_blur = 1.695
|
|
|
|
omni_range = 162.191
|
|
|
|
|
|
|
|
[node name="levelpool" parent="." instance=ExtResource("1_cpckw")]
|
|
|
|
|
|
|
|
[node name="Light" parent="levelpool" index="1"]
|
|
|
|
visible = false
|
|
|
|
light_energy = 9.0
|
|
|
|
shadow_enabled = true
|
|
|
|
omni_range = 34.554
|
|
|
|
|
|
|
|
[node name="player" parent="levelpool" index="2"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="holerim" parent="levelpool" index="4"]
|
|
|
|
mesh = SubResource("ArrayMesh_4vkxm")
|
|
|
|
|
|
|
|
[node name="Cube_003" parent="levelpool" index="10"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="Cube_004" parent="levelpool" index="11"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="monitor012" parent="levelpool" index="12"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" parent="levelpool/monitor012/@StaticBody3D@17259" index="0"]
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="Player" parent="." instance=ExtResource("2_eggmh")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.012538, 19)
|
|
|
|
|
|
|
|
[node name="EntranceDoor" parent="." instance=ExtResource("3_clecd")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 11.5)
|
|
|
|
open_sound = ExtResource("5_yad6d")
|
|
|
|
close_sound = ExtResource("5_yad6d")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="EntranceDoor"]
|
|
|
|
shape = SubResource("BoxShape3D_yaaik")
|
|
|
|
|
|
|
|
[node name="CSGMesh3D" type="CSGMesh3D" parent="EntranceDoor/CollisionShape3D"]
|
|
|
|
material_override = SubResource("StandardMaterial3D_gs8og")
|
|
|
|
mesh = SubResource("BoxMesh_ytxur")
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="EntranceDoor"]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_prvv0")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ExitDoor" parent="." instance=ExtResource("3_clecd")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -11.5)
|
|
|
|
interactable = false
|
|
|
|
open_sound = ExtResource("5_yad6d")
|
|
|
|
close_sound = ExtResource("5_yad6d")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ExitDoor"]
|
|
|
|
shape = SubResource("BoxShape3D_yaaik")
|
|
|
|
|
|
|
|
[node name="CSGMesh3D" type="CSGMesh3D" parent="ExitDoor/CollisionShape3D"]
|
|
|
|
material_override = SubResource("StandardMaterial3D_gs8og")
|
|
|
|
mesh = SubResource("BoxMesh_ytxur")
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="ExitDoor"]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_prvv0")
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Monitor" parent="." instance=ExtResource("6_qd2wd")]
|
2024-12-22 17:01:59 -05:00
|
|
|
transform = Transform3D(-0.877007, 0, -0.480477, 0, 1, 0, 0.480477, 0, -0.877007, -4.23, 0.375, -2.7)
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="HoleRim" type="StaticBody3D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="HoleRim"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.85, 0.25, -4.85)
|
|
|
|
shape = SubResource("BoxShape3D_epqy0")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="HoleRim"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.15, 0.25, -5.15)
|
|
|
|
shape = SubResource("BoxShape3D_epqy0")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D3" type="CollisionShape3D" parent="HoleRim"]
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5.15, 0.25, -3.85)
|
|
|
|
shape = SubResource("BoxShape3D_epqy0")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D4" type="CollisionShape3D" parent="HoleRim"]
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 4.85, 0.25, -6.15)
|
|
|
|
shape = SubResource("BoxShape3D_epqy0")
|
|
|
|
|
2024-12-22 15:18:04 -05:00
|
|
|
[node name="WinBox" type="Area3D" parent="."]
|
2024-12-22 14:27:52 -05:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, -1, -5)
|
2024-12-22 15:18:04 -05:00
|
|
|
script = ExtResource("7_oxf41")
|
|
|
|
|
|
|
|
[node name="FloatPoint" type="Node3D" parent="WinBox"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WinBox"]
|
|
|
|
shape = SubResource("BoxShape3D_dsbsn")
|
|
|
|
|
2024-12-22 17:01:59 -05:00
|
|
|
[node name="Failure" type="Area3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, -1, -5)
|
|
|
|
script = ExtResource("8_pee3c")
|
|
|
|
|
|
|
|
[node name="Dest" type="Node3D" parent="Failure"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.6415, 2.84072, 0)
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Failure"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.926086, 0)
|
|
|
|
shape = SubResource("BoxShape3D_0a1av")
|
|
|
|
|
2024-12-22 14:27:52 -05:00
|
|
|
[node name="DialogTrigger" parent="." instance=ExtResource("6_f2del")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.05, 10.5)
|
2024-12-22 17:37:25 -05:00
|
|
|
group = "players"
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogTrigger"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0022583, -0.0446777, 0)
|
|
|
|
shape = SubResource("BoxShape3D_vryv4")
|
|
|
|
|
|
|
|
[node name="Kreb" type="Node3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.70194, 1.2497, 6.87629)
|
|
|
|
|
|
|
|
[node name="StartDialog" type="AudioStreamPlayer3D" parent="Kreb"]
|
|
|
|
stream = ExtResource("7_r1xli")
|
|
|
|
|
|
|
|
[node name="WinDialog" type="AudioStreamPlayer3D" parent="Kreb"]
|
|
|
|
stream = ExtResource("8_u6ajb")
|
|
|
|
|
2024-12-22 17:01:59 -05:00
|
|
|
[node name="Disappoint" type="AudioStreamPlayer3D" parent="Kreb"]
|
|
|
|
stream = ExtResource("11_yx3n7")
|
|
|
|
max_db = 6.0
|
|
|
|
|
2024-12-22 15:18:04 -05:00
|
|
|
[connection signal="body_entered" from="WinBox" to="WinBox" method="_on_body_entered"]
|
2024-12-22 17:01:59 -05:00
|
|
|
[connection signal="body_entered" from="Failure" to="Failure" method="_on_body_entered"]
|
2024-12-22 14:27:52 -05:00
|
|
|
[connection signal="activated_once" from="DialogTrigger" to="Kreb/StartDialog" method="play" binds= [0]]
|
|
|
|
[connection signal="finished" from="Kreb/WinDialog" to="ExitDoor" method="open"]
|
|
|
|
|
|
|
|
[editable path="levelpool"]
|