windgeschworen/scenes/hub/dormitory.tscn
danny 942672c4ad CR 14+15: Aula gebaut, Schlafsaal-Tür raus, Hub-Layout nach ORTE.md
- Neue Greybox-Aula (scenes/hub/aula.tscn): Tisch-/Bankreihen,
  Essensausgabe mit Küche (Dampf-Partikel, Warmlicht), Minispiel-Ecke
  (Heimat für CR 13), Imogen/Wren/Ridoc + vier „Graue"
- Anbindung: Hof-Tür „Zur Aula" (room_id aula) + Rückweg + Spawns;
  Aula in allen zehn Tagesplänen offen, wo auch der Hof offen ist —
  Tag-9-Nachmittag bleibt exklusiv beim Materialraum
- Verwaiste Klassenraum-Tür samt Spawn-Marker aus dem Schlafsaal entfernt
- Hub-Tore nach ORTE.md gruppiert: Lehrtrakt + Rotunde + Aula an der
  Westwand, Schlafsaal/Wohntrakt/Materialraum Ost, Gauntlet- und
  Tal-Tor Süd, neues Parapet-Tor als Kulisse; Spawn-Marker und
  Eskorte-Ziel mitgezogen, verwaiste Marker entfernt
- Namens-Setzung: Deveras Raum heißt „Hörsaal" (Label, Codex, Lexicon),
  die Aula ist der Ess-/Sozialsaal
- Buchführung: CR 14+15 nach CHANGEREQUESTS_DONE, ROADMAP nachgezogen —
  Welle 1 damit vollständig

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 18:35:23 +02:00

232 lines
8.2 KiB
Text

[gd_scene load_steps=27 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/sleep_trigger.gd" id="5_sleep"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 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.4, 0.36, 0.32, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_floor"]
size = Vector3(14, 1, 10)
[sub_resource type="BoxMesh" id="BoxMesh_floor"]
material = SubResource("StandardMaterial3D_floor")
size = Vector3(14, 1, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_structure"]
albedo_color = Color(0.5, 0.48, 0.45, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_wall_ns"]
size = Vector3(15, 3, 0.5)
[sub_resource type="BoxMesh" id="BoxMesh_wall_ns"]
material = SubResource("StandardMaterial3D_structure")
size = Vector3(15, 3, 0.5)
[sub_resource type="BoxShape3D" id="BoxShape3D_wall_ew"]
size = Vector3(0.5, 3, 11)
[sub_resource type="BoxMesh" id="BoxMesh_wall_ew"]
material = SubResource("StandardMaterial3D_structure")
size = Vector3(0.5, 3, 11)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bed"]
albedo_color = Color(0.35, 0.45, 0.6, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_bed"]
size = Vector3(1, 0.5, 2)
[sub_resource type="BoxMesh" id="BoxMesh_bed"]
material = SubResource("StandardMaterial3D_bed")
size = Vector3(1, 0.5, 2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_trigger"]
transparency = 1
albedo_color = Color(0.3, 0.8, 1, 0.35)
[sub_resource type="BoxShape3D" id="BoxShape3D_door_s"]
size = Vector3(2, 2, 1)
[sub_resource type="BoxMesh" id="BoxMesh_door_s"]
material = SubResource("StandardMaterial3D_trigger")
size = Vector3(2, 2, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_door_w"]
size = Vector3(1, 2, 2)
[sub_resource type="BoxMesh" id="BoxMesh_door_w"]
material = SubResource("StandardMaterial3D_trigger")
size = Vector3(1, 2, 2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sleep"]
transparency = 1
albedo_color = Color(0.4, 1, 0.5, 0.3)
[sub_resource type="BoxShape3D" id="BoxShape3D_sleep"]
size = Vector3(3, 2, 3)
[sub_resource type="BoxMesh" id="BoxMesh_sleep"]
material = SubResource("StandardMaterial3D_sleep")
size = Vector3(3, 2, 3)
[node name="Dormitory" 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, 12, 0)
shadow_enabled = true
[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, 1.5, -5.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, 1.5, 5.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, 7.25, 1.5, 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, -7.25, 1.5, 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="Beds" type="Node3D" parent="."]
[node name="Bed1" type="StaticBody3D" parent="Beds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.5, 0.25, -3.8)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Beds/Bed1"]
shape = SubResource("BoxShape3D_bed")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Beds/Bed1"]
mesh = SubResource("BoxMesh_bed")
[node name="Bed2" type="StaticBody3D" parent="Beds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.5, 0.25, -3.8)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Beds/Bed2"]
shape = SubResource("BoxShape3D_bed")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Beds/Bed2"]
mesh = SubResource("BoxMesh_bed")
[node name="Bed3" type="StaticBody3D" parent="Beds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.5, 0.25, -3.8)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Beds/Bed3"]
shape = SubResource("BoxShape3D_bed")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Beds/Bed3"]
mesh = SubResource("BoxMesh_bed")
[node name="Bed4" type="StaticBody3D" parent="Beds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.25, -3.8)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Beds/Bed4"]
shape = SubResource("BoxShape3D_bed")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Beds/Bed4"]
mesh = SubResource("BoxMesh_bed")
[node name="SleepTrigger" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 1, -3.3)
collision_layer = 0
collision_mask = 2
script = ExtResource("5_sleep")
[node name="CollisionShape3D" type="CollisionShape3D" parent="SleepTrigger"]
shape = SubResource("BoxShape3D_sleep")
[node name="MeshInstance3D" type="MeshInstance3D" parent="SleepTrigger"]
mesh = SubResource("BoxMesh_sleep")
[node name="Label3D" type="Label3D" parent="SleepTrigger"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
billboard = 1
text = "Schlafen — Tag beenden"
font_size = 40
outline_size = 12
[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, 4.4)
collision_layer = 0
collision_mask = 2
script = ExtResource("4_zone")
target_scene_path = "res://scenes/hub/rider_quadrant.tscn"
target_spawn_name = "FromDormitory"
[node name="CollisionShape3D" type="CollisionShape3D" parent="Triggers/TriggerRiderQuadrant"]
shape = SubResource("BoxShape3D_door_s")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Triggers/TriggerRiderQuadrant"]
mesh = SubResource("BoxMesh_door_s")
[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 Reiterquadrant"
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, 2.8)
[node name="Player" parent="." instance=ExtResource("2_player")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 2.8)
[node name="DebugOverlay" parent="." instance=ExtResource("3_debug")]