v1-Ausbau Phase 2: Greybox-Raeume nach SPEC 5.1 mit Zonen-Anbindung an den Hof

- Fuenf neue Raeume unter scenes/hub/ (Raum-IDs = Fahrplan aus Phase 1):
  battle_brief (Amphitheater-Baenke, Taktiktisch, Karten-Quad, Verstand-
  Station), rotunda (8-Segment-Zylinderwand + Kuppel, Schiefertafeln,
  Drachenkunde-Station: Verstand +2 und zaehlt drachenkunde_wissen als
  kuenftigen Dreschen-Daumen hoch - neuer training_station-Export
  knowledge_flag), history_class (dunkel, Kerzen-Punktlichter, Regale,
  leichter Verstand +1), imogen_room (Bett/Schreibtisch/Fenster, warmes
  Licht, Tagesende-Trigger location_id imogen_room - greift ab Flag
  imogen_nights_active), material_room (enge Box mit Regal-
  Sichtblockern als Arena fuer den Tag-9-Hinterhalt)
- Sparringshalle nach SPEC 5.1 aufgeruestet: runde Zylinder-Kampfmatte,
  zwei Waffenstaender mit Trainingsklingen, GPUParticles-Staub;
  Kampf/Stationen unveraendert
- Hof (Reiterquadrant): fuenf neue Zonen-Tueren + Spawn-Punkte, alle
  Raeume fuehren zurueck zum Hof; alte Raeume (Kartenraum/Klassenraum)
  bleiben bis zur Migration in Phase 6 erreichbar; Fahrplan-Sperrung
  der Tueren folgt mit der Story-Kopplung (Phase 6)
- Verifikation: Headless-Sonde 29/29 gruen (Raum-Kernelemente,
  Rotunde-Training inkl. Flag + Slot-Verbrauch, Imogen-Tagesende nur
  mit Flag, Hof-Verdrahtung mit echtem Zonen-Wechsel und Spawn);
  Boot-Check aller 9 Szenen fehlerfrei

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-07-11 22:50:04 +02:00
parent 7830c0b67c
commit fb617b5577
10 changed files with 1682 additions and 18 deletions

301
scenes/hub/rotunda.tscn Normal file
View file

@ -0,0 +1,301 @@
[gd_scene load_steps=30 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/training_station.gd" id="5_station"]
[ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="6_bubble"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
sky_horizon_color = Color(0.3, 0.28, 0.25, 1)
ground_horizon_color = Color(0.3, 0.28, 0.25, 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(16, 1, 16)
[sub_resource type="BoxMesh" id="BoxMesh_floor"]
material = SubResource("StandardMaterial3D_floor")
size = Vector3(16, 1, 16)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_structure"]
albedo_color = Color(0.48, 0.44, 0.4, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_wall"]
size = Vector3(6, 3.5, 0.5)
[sub_resource type="BoxMesh" id="BoxMesh_wall"]
material = SubResource("StandardMaterial3D_structure")
size = Vector3(6, 3.5, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dome"]
albedo_color = Color(0.42, 0.38, 0.34, 1)
cull_mode = 1
[sub_resource type="SphereMesh" id="SphereMesh_dome"]
material = SubResource("StandardMaterial3D_dome")
radius = 7.8
height = 7.8
is_hemisphere = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_slate"]
albedo_color = Color(0.16, 0.17, 0.19, 1)
[sub_resource type="BoxMesh" id="BoxMesh_slate"]
material = SubResource("StandardMaterial3D_slate")
size = Vector3(2, 1.4, 0.08)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pult"]
albedo_color = Color(0.5, 0.38, 0.26, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_pult"]
size = Vector3(1, 1.1, 0.7)
[sub_resource type="BoxMesh" id="BoxMesh_pult"]
material = SubResource("StandardMaterial3D_pult")
size = Vector3(1, 1.1, 0.7)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_station"]
albedo_color = Color(0.55, 0.42, 0.6, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_station"]
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="BoxMesh" id="BoxMesh_station"]
material = SubResource("StandardMaterial3D_station")
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="SphereShape3D" id="SphereShape3D_interact"]
radius = 2.5
[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)
[node name="Rotunda" type="Node3D"]
script = ExtResource("1_room")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_env")
[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 = 2.2
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="Dome" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.4, 0)
mesh = SubResource("SphereMesh_dome")
[node name="Walls" type="Node3D" parent="."]
[node name="Wall0" type="StaticBody3D" parent="Walls"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, -7)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall0"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall0"]
mesh = SubResource("BoxMesh_wall")
[node name="Wall45" type="StaticBody3D" parent="Walls"]
transform = Transform3D(0.7071, 0, 0.7071, 0, 1, 0, -0.7071, 0, 0.7071, 4.95, 1.75, -4.95)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall45"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall45"]
mesh = SubResource("BoxMesh_wall")
[node name="Wall90" type="StaticBody3D" parent="Walls"]
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 7, 1.75, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall90"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall90"]
mesh = SubResource("BoxMesh_wall")
[node name="Wall135" type="StaticBody3D" parent="Walls"]
transform = Transform3D(-0.7071, 0, 0.7071, 0, 1, 0, -0.7071, 0, -0.7071, 4.95, 1.75, 4.95)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall135"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall135"]
mesh = SubResource("BoxMesh_wall")
[node name="Wall180" type="StaticBody3D" parent="Walls"]
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 1.75, 7)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall180"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall180"]
mesh = SubResource("BoxMesh_wall")
[node name="Wall225" type="StaticBody3D" parent="Walls"]
transform = Transform3D(-0.7071, 0, -0.7071, 0, 1, 0, 0.7071, 0, -0.7071, -4.95, 1.75, 4.95)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall225"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall225"]
mesh = SubResource("BoxMesh_wall")
[node name="Wall270" type="StaticBody3D" parent="Walls"]
transform = Transform3D(0, 0, -1, 0, 1, 0, 1, 0, 0, -7, 1.75, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall270"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall270"]
mesh = SubResource("BoxMesh_wall")
[node name="Wall315" type="StaticBody3D" parent="Walls"]
transform = Transform3D(0.7071, 0, -0.7071, 0, 1, 0, 0.7071, 0, 0.7071, -4.95, 1.75, -4.95)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/Wall315"]
shape = SubResource("BoxShape3D_wall")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/Wall315"]
mesh = SubResource("BoxMesh_wall")
[node name="Slates" type="Node3D" parent="."]
[node name="Slate1" type="MeshInstance3D" parent="Slates"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, -6.6)
mesh = SubResource("BoxMesh_slate")
[node name="Slate2" type="MeshInstance3D" parent="Slates"]
transform = Transform3D(0.7071, 0, 0.7071, 0, 1, 0, -0.7071, 0, 0.7071, 4.65, 1.7, -4.65)
mesh = SubResource("BoxMesh_slate")
[node name="Slate3" type="MeshInstance3D" parent="Slates"]
transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 6.6, 1.7, 0)
mesh = SubResource("BoxMesh_slate")
[node name="Slate4" type="MeshInstance3D" parent="Slates"]
transform = Transform3D(0, 0, -1, 0, 1, 0, 1, 0, 0, -6.6, 1.7, 0)
mesh = SubResource("BoxMesh_slate")
[node name="Slate5" type="MeshInstance3D" parent="Slates"]
transform = Transform3D(0.7071, 0, -0.7071, 0, 1, 0, 0.7071, 0, 0.7071, -4.65, 1.7, -4.65)
mesh = SubResource("BoxMesh_slate")
[node name="Slate6" type="MeshInstance3D" parent="Slates"]
transform = Transform3D(-0.7071, 0, 0.7071, 0, 1, 0, -0.7071, 0, -0.7071, 4.65, 1.7, 4.65)
mesh = SubResource("BoxMesh_slate")
[node name="Lesepult" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Lesepult"]
shape = SubResource("BoxShape3D_pult")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Lesepult"]
mesh = SubResource("BoxMesh_pult")
[node name="DragonLoreStation" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -3)
script = ExtResource("5_station")
station_name = "Drachenkunde"
stat_name = "intellect"
knowledge_flag = "drachenkunde_wissen"
success_line = "Schwanztypen, Anatomie, Temperament. Die Drachen merken, wer sie kennt."
[node name="CollisionShape3D" type="CollisionShape3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
shape = SubResource("BoxShape3D_station")
[node name="MeshInstance3D" type="MeshInstance3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_station")
[node name="NameLabel" type="Label3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
billboard = 1
text = "Drachenkunde"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="DragonLoreStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
visible = false
modulate = Color(1, 0.9, 0.5, 1)
billboard = 1
text = "E / (A) — Üben"
font_size = 40
outline_size = 12
[node name="InteractionArea" type="Area3D" parent="DragonLoreStation"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DragonLoreStation/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="DragonLoreStation" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6, 0)
[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, 5.8)
collision_layer = 0
collision_mask = 2
script = ExtResource("4_zone")
target_scene_path = "res://scenes/hub/rider_quadrant.tscn"
target_spawn_name = "FromRotunda"
[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 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")]