2024-12-29 21:33:01 -05:00
|
|
|
[gd_scene load_steps=27 format=3 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"]
|
2024-12-22 17:01:59 -05:00
|
|
|
[ext_resource type="Script" path="res://scripts/win_box.gd" id="7_oxf41"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/failure.gd" id="8_pee3c"]
|
2025-01-01 16:12:37 -05:00
|
|
|
[ext_resource type="Script" path="res://scripts/kreb.gd" id="9_wgbkn"]
|
2024-12-24 12:54:35 -05:00
|
|
|
[ext_resource type="AudioStream" uid="uid://4ju4ca5wak7v" path="res://assets/sounds/dialog/kerbygreet.wav" id="10_ee2e2"]
|
|
|
|
[ext_resource type="AudioStream" uid="uid://cojpnupcedga" path="res://assets/sounds/dialog/kerbywhatare.wav" id="11_nnjei"]
|
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-23 12:02:44 -05:00
|
|
|
[ext_resource type="PackedScene" uid="uid://duuedavsf44c7" path="res://assets/models/general/monitor01.blend" id="12_nw67b"]
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_yaaik"]
|
2024-12-24 13:41:13 -05:00
|
|
|
size = Vector3(4, 4, 0.6)
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gs8og"]
|
|
|
|
albedo_texture = ExtResource("4_ngwgs")
|
|
|
|
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ytxur"]
|
2024-12-24 13:41:13 -05:00
|
|
|
size = Vector3(4, 4, 0.6)
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_lexij"]
|
|
|
|
resource_name = "open"
|
|
|
|
tracks/0/type = "bezier"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
2024-12-23 12:35:12 -05:00
|
|
|
tracks/0/path = NodePath("CollisionShape3D:position:x")
|
2024-12-22 14:27:52 -05:00
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"handle_modes": PackedInt32Array(0, 0),
|
2024-12-23 12:35:12 -05:00
|
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.5, 0, 3.9, -0.5, 0, 0.25, 0),
|
2024-12-22 14:27:52 -05:00
|
|
|
"times": PackedFloat32Array(0, 1)
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_prvv0"]
|
|
|
|
_data = {
|
|
|
|
"open": SubResource("Animation_lexij")
|
|
|
|
}
|
|
|
|
|
|
|
|
[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-23 12:35:12 -05:00
|
|
|
size = Vector3(4, 4, 1)
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_vjrho"]
|
|
|
|
size = Vector2(1, 2)
|
|
|
|
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_ma705"]
|
|
|
|
viewport_path = NodePath("Kreb/CSGMesh3D/Sprite3D/SubViewport")
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_7t61y"]
|
|
|
|
font_size = 20
|
|
|
|
font_color = Color(0.396889, 0.396889, 0.396889, 1)
|
2024-12-22 14:27:52 -05:00
|
|
|
|
2024-12-24 12:51:57 -05:00
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_aa4aa"]
|
|
|
|
points = PackedVector3Array(-0.3, -0.208738, -0.27433, -0.275039, -0.358724, -0.27433, -0.3, -0.208738, -0.174369, -0.3, 0.391276, -0.27433, 0.27498, -0.358724, -0.27433, -0.275039, -0.358724, 0.32567, -0.3, 0.391276, -0.174369, 0.3, 0.391276, -0.27433, 0.27498, -0.358724, 0.32567, 0.3, -0.208738, -0.27433, -0.275039, -0.283768, 0.32567, -0.200039, 0.291213, 0.32567, 0.3, 0.391276, -0.174369, 0.3, -0.208738, -0.174369, 0.27498, -0.283768, 0.32567, 0.19998, 0.291213, 0.32567)
|
|
|
|
|
2024-12-29 21:33:01 -05:00
|
|
|
[sub_resource type="Environment" id="Environment_alnls"]
|
|
|
|
background_mode = 1
|
|
|
|
|
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")]
|
|
|
|
|
2024-12-29 21:33:01 -05:00
|
|
|
[node name="player" parent="levelpool" index="1"]
|
2024-12-22 14:27:52 -05:00
|
|
|
visible = false
|
|
|
|
|
2025-01-01 16:12:37 -05:00
|
|
|
[node name="Text" parent="levelpool" index="6"]
|
2024-12-23 12:35:12 -05:00
|
|
|
visible = false
|
|
|
|
|
2025-01-01 16:12:37 -05:00
|
|
|
[node name="Plane" parent="levelpool" index="7"]
|
2024-12-23 12:35:12 -05:00
|
|
|
visible = false
|
|
|
|
|
2025-01-01 16:24:21 -05:00
|
|
|
[node name="thomas_dumb_ass_light" parent="levelpool" index="23"]
|
|
|
|
light_size = 0.667
|
|
|
|
shadow_enabled = true
|
|
|
|
|
|
|
|
[node name="thomas_dumb_ass_light_001" parent="levelpool" index="24"]
|
|
|
|
light_size = 0.667
|
|
|
|
shadow_enabled = true
|
|
|
|
|
2024-12-22 14:27:52 -05:00
|
|
|
[node name="Player" parent="." instance=ExtResource("2_eggmh")]
|
2025-01-01 16:12:37 -05:00
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5.17559, 0.012538, 22.4323)
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="EntranceDoor" parent="." instance=ExtResource("3_clecd")]
|
2024-12-24 13:41:13 -05:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 11.5)
|
2024-12-22 14:27:52 -05:00
|
|
|
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")]
|
2024-12-24 13:41:13 -05:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -11.5)
|
2024-12-22 14:27:52 -05:00
|
|
|
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")
|
|
|
|
}
|
|
|
|
|
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")]
|
2024-12-23 12:35:12 -05:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 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"]
|
|
|
|
shape = SubResource("BoxShape3D_vryv4")
|
|
|
|
|
|
|
|
[node name="Kreb" type="Node3D" parent="."]
|
2024-12-23 12:35:12 -05:00
|
|
|
transform = Transform3D(0.797584, 0, 0.603208, 0, 1, 0, -0.603208, 0, 0.797584, -2.70194, 1.2497, 6.87629)
|
|
|
|
script = ExtResource("9_wgbkn")
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="StartDialog" type="AudioStreamPlayer3D" parent="Kreb"]
|
2024-12-24 12:54:35 -05:00
|
|
|
stream = ExtResource("10_ee2e2")
|
2024-12-24 12:57:31 -05:00
|
|
|
volume_db = -15.0
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="WinDialog" type="AudioStreamPlayer3D" parent="Kreb"]
|
2024-12-24 12:54:35 -05:00
|
|
|
stream = ExtResource("11_nnjei")
|
2024-12-24 12:57:31 -05:00
|
|
|
volume_db = -15.0
|
2024-12-22 14:27:52 -05:00
|
|
|
|
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-23 12:35:12 -05:00
|
|
|
[node name="CSGMesh3D" type="CSGMesh3D" parent="Kreb"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.965926, 0.258819, 0, -0.258819, 0.965926, 0, 0, 0)
|
|
|
|
use_collision = true
|
|
|
|
mesh = SubResource("QuadMesh_vjrho")
|
|
|
|
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="Kreb/CSGMesh3D"]
|
|
|
|
transform = Transform3D(1, 1.52078e-08, -2.76867e-08, 7.45058e-09, 0.958839, -0.283948, 0, 0.283948, 0.95884, 0.0420668, 1.4184, 0.120258)
|
|
|
|
texture = SubResource("ViewportTexture_ma705")
|
|
|
|
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="Kreb/CSGMesh3D/Sprite3D"]
|
|
|
|
transparent_bg = true
|
|
|
|
handle_input_locally = false
|
2024-12-23 12:38:26 -05:00
|
|
|
size = Vector2i(117, 67)
|
2024-12-23 12:35:12 -05:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Kreb/CSGMesh3D/Sprite3D/SubViewport"]
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -40.5
|
|
|
|
offset_top = -11.5
|
|
|
|
offset_right = 40.5
|
|
|
|
offset_bottom = 11.5
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
text = "Krebathan"
|
|
|
|
label_settings = SubResource("LabelSettings_7t61y")
|
|
|
|
|
2024-12-24 12:51:57 -05:00
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="." groups=["can_hold", "monitors"]]
|
2024-12-24 13:41:13 -05:00
|
|
|
transform = Transform3D(-0.609108, 0, -0.793087, 0, 1, 0, 0.793087, 0, -0.609108, -4.50229, 0.379934, -3.88399)
|
2024-12-24 12:51:57 -05:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.000276208, -0.0256701)
|
|
|
|
shape = SubResource("ConvexPolygonShape3D_aa4aa")
|
2024-12-23 12:02:44 -05:00
|
|
|
|
2024-12-24 12:51:57 -05:00
|
|
|
[node name="monitor01" parent="RigidBody3D/CollisionShape3D" instance=ExtResource("12_nw67b")]
|
|
|
|
transform = Transform3D(1, 0, 2.98023e-08, 0, 1, 0, -2.98023e-08, 0, 1, 0, -0.358724, 0.0256701)
|
2024-12-23 12:02:44 -05:00
|
|
|
|
2024-12-29 21:33:01 -05:00
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
|
|
environment = SubResource("Environment_alnls")
|
|
|
|
|
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"]
|