[gd_scene load_steps=45 format=3] [ext_resource type="Script" path="res://scripts/gameplay/hub_room.gd" id="1_room"] [ext_resource type="PackedScene" path="res://scenes/player.tscn" id="2_player"] [ext_resource type="PackedScene" path="res://scenes/ui/debug_overlay.tscn" id="3_debug"] [ext_resource type="Script" path="res://scripts/gameplay/zone_trigger.gd" id="4_zone"] [ext_resource type="Script" path="res://scripts/gameplay/grey_spawner.gd" id="5_grey"] [ext_resource type="Script" path="res://scripts/gameplay/game_table.gd" id="6_table"] [ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="7_bubble"] [ext_resource type="PackedScene" path="res://scenes/npcs/googly_eyes.tscn" id="90_eyes"] [sub_resource type="SphereShape3D" id="SphereShape3D_table"] radius = 2.2 [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"] sky_horizon_color = Color(0.5, 0.42, 0.34, 1) ground_horizon_color = Color(0.5, 0.42, 0.34, 1) [sub_resource type="Sky" id="Sky_sky"] sky_material = SubResource("ProceduralSkyMaterial_sky") [sub_resource type="Environment" id="Environment_env"] background_mode = 2 sky = SubResource("Sky_sky") tonemap_mode = 2 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_floor"] albedo_color = Color(0.42, 0.36, 0.3, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_floor"] size = Vector3(22, 1, 14) [sub_resource type="BoxMesh" id="BoxMesh_floor"] material = SubResource("StandardMaterial3D_floor") size = Vector3(22, 1, 14) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_structure"] albedo_color = Color(0.5, 0.44, 0.38, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_wall_ns"] size = Vector3(23, 4, 0.5) [sub_resource type="BoxMesh" id="BoxMesh_wall_ns"] material = SubResource("StandardMaterial3D_structure") size = Vector3(23, 4, 0.5) [sub_resource type="BoxShape3D" id="BoxShape3D_wall_ew"] size = Vector3(0.5, 4, 15) [sub_resource type="BoxMesh" id="BoxMesh_wall_ew"] material = SubResource("StandardMaterial3D_structure") size = Vector3(0.5, 4, 15) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wood"] albedo_color = Color(0.45, 0.32, 0.2, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_table"] size = Vector3(7, 0.8, 1.2) [sub_resource type="BoxMesh" id="BoxMesh_table"] material = SubResource("StandardMaterial3D_wood") size = Vector3(7, 0.8, 1.2) [sub_resource type="BoxShape3D" id="BoxShape3D_bench"] size = Vector3(7, 0.45, 0.5) [sub_resource type="BoxMesh" id="BoxMesh_bench"] material = SubResource("StandardMaterial3D_wood") size = Vector3(7, 0.45, 0.5) [sub_resource type="BoxShape3D" id="BoxShape3D_counter"] size = Vector3(8, 1.05, 1) [sub_resource type="BoxMesh" id="BoxMesh_counter"] material = SubResource("StandardMaterial3D_wood") size = Vector3(8, 1.05, 1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_stove"] albedo_color = Color(0.3, 0.28, 0.3, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_stove"] size = Vector3(1.2, 1, 1) [sub_resource type="BoxMesh" id="BoxMesh_stove"] material = SubResource("StandardMaterial3D_stove") size = Vector3(1.2, 1, 1) [sub_resource type="CylinderShape3D" id="CylinderShape3D_round"] radius = 0.9 height = 0.85 [sub_resource type="CylinderMesh" id="CylinderMesh_round"] material = SubResource("StandardMaterial3D_wood") top_radius = 0.9 bottom_radius = 0.9 height = 0.85 [sub_resource type="CylinderMesh" id="CylinderMesh_stool"] material = SubResource("StandardMaterial3D_wood") top_radius = 0.3 bottom_radius = 0.3 height = 0.5 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_npc"] radius = 0.35 height = 1.5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_imogen"] albedo_color = Color(0.8, 0.45, 0.6, 1) [sub_resource type="CapsuleMesh" id="CapsuleMesh_imogen"] material = SubResource("StandardMaterial3D_imogen") radius = 0.35 height = 1.5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wren"] albedo_color = Color(0.45, 0.72, 0.45, 1) [sub_resource type="CapsuleMesh" id="CapsuleMesh_wren"] material = SubResource("StandardMaterial3D_wren") radius = 0.35 height = 1.5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ridoc"] albedo_color = Color(0.85, 0.6, 0.3, 1) [sub_resource type="CapsuleMesh" id="CapsuleMesh_ridoc"] material = SubResource("StandardMaterial3D_ridoc") radius = 0.35 height = 1.5 [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_steam"] direction = Vector3(0, 1, 0) spread = 12.0 initial_velocity_min = 0.4 initial_velocity_max = 0.8 gravity = Vector3(0, 0.2, 0) scale_min = 0.4 scale_max = 0.9 [sub_resource type="SphereMesh" id="SphereMesh_steam"] radius = 0.12 height = 0.24 [sub_resource type="BoxShape3D" id="BoxShape3D_door"] size = Vector3(2, 2, 2) [sub_resource type="BoxMesh" id="BoxMesh_door"] material = SubResource("StandardMaterial3D_wood") size = Vector3(2, 2, 0.4) [node name="Aula" type="Node3D"] script = ExtResource("1_room") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_env") [node name="Sun" type="DirectionalLight3D" parent="."] transform = Transform3D(0.866025, 0.383022, -0.321394, 0, 0.642788, 0.766044, 0.5, -0.663414, 0.55667, 0, 10, 0) light_energy = 0.7 [node name="WarmLight" type="OmniLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.2, 0) light_color = Color(1, 0.85, 0.6, 1) light_energy = 1.4 omni_range = 14.0 [node name="Floor" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"] shape = SubResource("BoxShape3D_floor") [node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"] mesh = SubResource("BoxMesh_floor") [node name="Walls" type="Node3D" parent="."] [node name="WallNorth" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -7.25) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallNorth"] shape = SubResource("BoxShape3D_wall_ns") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallNorth"] mesh = SubResource("BoxMesh_wall_ns") [node name="WallSouth" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 7.25) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallSouth"] shape = SubResource("BoxShape3D_wall_ns") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallSouth"] mesh = SubResource("BoxMesh_wall_ns") [node name="WallEast" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.25, 2, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallEast"] shape = SubResource("BoxShape3D_wall_ew") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallEast"] mesh = SubResource("BoxMesh_wall_ew") [node name="WallWest" type="StaticBody3D" parent="Walls"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.25, 2, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/WallWest"] shape = SubResource("BoxShape3D_wall_ew") [node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/WallWest"] mesh = SubResource("BoxMesh_wall_ew") [node name="Tables" type="Node3D" parent="."] [node name="Table1" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0.4, -0.8) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Table1"] shape = SubResource("BoxShape3D_table") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Table1"] mesh = SubResource("BoxMesh_table") [node name="Bench1N" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0.225, -1.75) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Bench1N"] shape = SubResource("BoxShape3D_bench") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Bench1N"] mesh = SubResource("BoxMesh_bench") [node name="Bench1S" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0.225, 0.15) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Bench1S"] shape = SubResource("BoxShape3D_bench") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Bench1S"] mesh = SubResource("BoxMesh_bench") [node name="Table2" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0.4, 2.6) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Table2"] shape = SubResource("BoxShape3D_table") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Table2"] mesh = SubResource("BoxMesh_table") [node name="Bench2N" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0.225, 1.65) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Bench2N"] shape = SubResource("BoxShape3D_bench") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Bench2N"] mesh = SubResource("BoxMesh_bench") [node name="Bench2S" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0.225, 3.55) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Bench2S"] shape = SubResource("BoxShape3D_bench") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Bench2S"] mesh = SubResource("BoxMesh_bench") [node name="Ausgabe" type="Node3D" parent="."] [node name="Theke" type="StaticBody3D" parent="Ausgabe"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0.525, -5.4) [node name="CollisionShape3D" type="CollisionShape3D" parent="Ausgabe/Theke"] shape = SubResource("BoxShape3D_counter") [node name="MeshInstance3D" type="MeshInstance3D" parent="Ausgabe/Theke"] mesh = SubResource("BoxMesh_counter") [node name="NameLabel" type="Label3D" parent="Ausgabe/Theke"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0) billboard = 1 text = "Essensausgabe" font_size = 44 outline_size = 12 [node name="Herd1" type="StaticBody3D" parent="Ausgabe"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0.5, -6.5) [node name="CollisionShape3D" type="CollisionShape3D" parent="Ausgabe/Herd1"] shape = SubResource("BoxShape3D_stove") [node name="MeshInstance3D" type="MeshInstance3D" parent="Ausgabe/Herd1"] mesh = SubResource("BoxMesh_stove") [node name="Herd2" type="StaticBody3D" parent="Ausgabe"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.4, 0.5, -6.5) [node name="CollisionShape3D" type="CollisionShape3D" parent="Ausgabe/Herd2"] shape = SubResource("BoxShape3D_stove") [node name="MeshInstance3D" type="MeshInstance3D" parent="Ausgabe/Herd2"] mesh = SubResource("BoxMesh_stove") [node name="Dampf" type="GPUParticles3D" parent="Ausgabe"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.2, 1.4, -6.5) amount = 12 lifetime = 2.5 process_material = SubResource("ParticleProcessMaterial_steam") draw_pass_1 = SubResource("SphereMesh_steam") [node name="Kuechenlicht" type="OmniLight3D" parent="Ausgabe"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.2, 2.4, -6.2) light_color = Color(1, 0.75, 0.45, 1) light_energy = 1.6 omni_range = 6.0 [node name="MinispielEcke" type="Node3D" parent="."] [node name="RunderTisch" type="StaticBody3D" parent="MinispielEcke"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.3, 0.425, 4.4) script = ExtResource("6_table") guests_path = NodePath("../../Gaeste") opponent_seat_path = NodePath("../Sitzplaetze/GegnerPlatz") dealer_seat_path = NodePath("../Sitzplaetze/DealerPlatz") [node name="CollisionShape3D" type="CollisionShape3D" parent="MinispielEcke/RunderTisch"] shape = SubResource("CylinderShape3D_round") [node name="MeshInstance3D" type="MeshInstance3D" parent="MinispielEcke/RunderTisch"] mesh = SubResource("CylinderMesh_round") [node name="NameLabel" type="Label3D" parent="MinispielEcke/RunderTisch"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0) billboard = 1 text = "Spieltisch" font_size = 40 outline_size = 12 [node name="PromptLabel" type="Label3D" parent="MinispielEcke/RunderTisch"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.15, 0) visible = false modulate = Color(1, 0.9, 0.5, 1) billboard = 1 text = "E / (A) — Spielen" font_size = 36 outline_size = 12 [node name="InteractionArea" type="Area3D" parent="MinispielEcke/RunderTisch"] collision_layer = 0 collision_mask = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="MinispielEcke/RunderTisch/InteractionArea"] shape = SubResource("SphereShape3D_table") [node name="SpeechBubble" parent="MinispielEcke/RunderTisch" instance=ExtResource("7_bubble")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2, 0) [node name="Hocker1" type="MeshInstance3D" parent="MinispielEcke"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.2, 0.25, 4.4) mesh = SubResource("CylinderMesh_stool") [node name="Hocker2" type="MeshInstance3D" parent="MinispielEcke"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.4, 0.25, 4.4) mesh = SubResource("CylinderMesh_stool") [node name="Hocker3" type="MeshInstance3D" parent="MinispielEcke"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.3, 0.25, 5.5) mesh = SubResource("CylinderMesh_stool") [node name="Sitzplaetze" type="Node3D" parent="MinispielEcke"] [node name="GegnerPlatz" type="Marker3D" parent="MinispielEcke/Sitzplaetze"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.4, 0, 4.4) [node name="DealerPlatz" type="Marker3D" parent="MinispielEcke/Sitzplaetze"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.3, 0, 5.5) [node name="Eckenlicht" type="OmniLight3D" parent="MinispielEcke"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.3, 2.4, 4.4) light_color = Color(1, 0.8, 0.55, 1) light_energy = 1.1 omni_range = 5.0 [node name="Gaeste" type="Node3D" parent="."] [node name="Imogen" type="StaticBody3D" parent="Gaeste"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 0, -1.75) [node name="CollisionShape3D" type="CollisionShape3D" parent="Gaeste/Imogen"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0) shape = SubResource("CapsuleShape3D_npc") [node name="MeshInstance3D" type="MeshInstance3D" parent="Gaeste/Imogen"] transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0.75, 0) mesh = SubResource("CapsuleMesh_imogen") [node name="GooglyEyes" parent="Gaeste/Imogen/MeshInstance3D" instance=ExtResource("90_eyes")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28) [node name="NameLabel" type="Label3D" parent="Gaeste/Imogen"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0) billboard = 1 text = "Imogen" font_size = 48 outline_size = 12 [node name="Wren" type="StaticBody3D" parent="Gaeste"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 0, -1.75) [node name="CollisionShape3D" type="CollisionShape3D" parent="Gaeste/Wren"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0) shape = SubResource("CapsuleShape3D_npc") [node name="MeshInstance3D" type="MeshInstance3D" parent="Gaeste/Wren"] transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0.75, 0) mesh = SubResource("CapsuleMesh_wren") [node name="GooglyEyes" parent="Gaeste/Wren/MeshInstance3D" instance=ExtResource("90_eyes")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28) [node name="NameLabel" type="Label3D" parent="Gaeste/Wren"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0) billboard = 1 text = "Wren" font_size = 48 outline_size = 12 [node name="Ridoc" type="StaticBody3D" parent="Gaeste"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.3, 0, 3.3) [node name="CollisionShape3D" type="CollisionShape3D" parent="Gaeste/Ridoc"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0) shape = SubResource("CapsuleShape3D_npc") [node name="MeshInstance3D" type="MeshInstance3D" parent="Gaeste/Ridoc"] transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0.75, 0) mesh = SubResource("CapsuleMesh_ridoc") [node name="GooglyEyes" parent="Gaeste/Ridoc/MeshInstance3D" instance=ExtResource("90_eyes")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28) [node name="NameLabel" type="Label3D" parent="Gaeste/Ridoc"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0) billboard = 1 text = "Ridoc" font_size = 48 outline_size = 12 [node name="GreySpawner" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 1) script = ExtResource("5_grey") ambient_count = 4 scherge_count = 0 spawn_extents = Vector3(6, 0, 4) [node name="Triggers" type="Node3D" parent="."] [node name="TriggerRiderQuadrant" type="Area3D" parent="Triggers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 6.2) collision_layer = 0 collision_mask = 2 script = ExtResource("4_zone") target_scene_path = "res://scenes/hub/rider_quadrant.tscn" target_spawn_name = "FromAula" [node name="CollisionShape3D" type="CollisionShape3D" parent="Triggers/TriggerRiderQuadrant"] shape = SubResource("BoxShape3D_door") [node name="MeshInstance3D" type="MeshInstance3D" parent="Triggers/TriggerRiderQuadrant"] mesh = SubResource("BoxMesh_door") [node name="Label3D" type="Label3D" parent="Triggers/TriggerRiderQuadrant"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0) billboard = 1 text = "Zum Hof" font_size = 40 outline_size = 12 [node name="SpawnPoints" type="Node3D" parent="."] [node name="FromRiderQuadrant" type="Marker3D" parent="SpawnPoints"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 4.2) [node name="Player" parent="." instance=ExtResource("2_player")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 4.2) [node name="DebugOverlay" parent="." instance=ExtResource("3_debug")]