- Drei daten-getriebene Lektionen (data/lessons/): Mini-Vorlesung in Professoren-Stimme mit Zwischenrufen des Sitznachbarn und drei Timed Events pro Stunde (7-s-Balken, vier Antworten + Nichts sagen) - lesson_teacher.gd ersetzt die Wissens-Stationen in Rotunde, Aula und Geschichtsklasse: hinsetzen, Steuerung gesperrt, Beats über Sprechblasen, Quiz-Overlay (lesson_quiz.tscn) fokus-navigierbar - Richtig: +1 Verstand + 1 Fachwissen (gleiche Zähler wie Lexicon und Dreschen-Daumen); Deveras Muster-Frage liefert das erste W1-Fragment aufs Muster-Board; falsch: −1 Staffel-Ansehen (Fraktion "staffel") + Spott; schweigen/Zeitablauf: neutral; Szene verbraucht den Tages-Slot - Räume umgebaut: Kapsel-Professoren (Kaori/Devera/Markham) mit Googly Eyes, sitzende Schüler + Nachbar; Sparring bleibt Walk-up - Buchführung: CR 4 vollständig nach CHANGEREQUESTS_DONE, Phasen-Plan auf Phase 10 gestellt Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
363 lines
13 KiB
Text
363 lines
13 KiB
Text
[gd_scene load_steps=39 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/lesson_teacher.gd" id="5_lesson"]
|
|
[ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="6_bubble"]
|
|
[ext_resource type="PackedScene" path="res://scenes/npcs/googly_eyes.tscn" id="90_eyes"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_person"]
|
|
radius = 0.4
|
|
height = 1.8
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_teacher"]
|
|
albedo_color = Color(0.42, 0.32, 0.5, 1)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_teacher"]
|
|
material = SubResource("StandardMaterial3D_teacher")
|
|
radius = 0.4
|
|
height = 1.8
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_student"]
|
|
albedo_color = Color(0.5, 0.52, 0.48, 1)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_student"]
|
|
material = SubResource("StandardMaterial3D_student")
|
|
radius = 0.35
|
|
height = 1.5
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
|
|
sky_horizon_color = Color(0.5, 0.53, 0.6, 1)
|
|
ground_horizon_color = Color(0.5, 0.53, 0.6, 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.38, 0.39, 0.42, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_floor"]
|
|
size = Vector3(16, 1, 12)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_floor"]
|
|
material = SubResource("StandardMaterial3D_floor")
|
|
size = Vector3(16, 1, 12)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_structure"]
|
|
albedo_color = Color(0.45, 0.46, 0.5, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_wall_ns"]
|
|
size = Vector3(17, 4, 0.5)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_wall_ns"]
|
|
material = SubResource("StandardMaterial3D_structure")
|
|
size = Vector3(17, 4, 0.5)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_wall_ew"]
|
|
size = Vector3(0.5, 4, 13)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_wall_ew"]
|
|
material = SubResource("StandardMaterial3D_structure")
|
|
size = Vector3(0.5, 4, 13)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bench"]
|
|
albedo_color = Color(0.5, 0.47, 0.44, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_bench"]
|
|
size = Vector3(5.5, 0.5, 1.2)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_bench"]
|
|
material = SubResource("StandardMaterial3D_bench")
|
|
size = Vector3(5.5, 0.5, 1.2)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_table"]
|
|
albedo_color = Color(0.35, 0.3, 0.25, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_table"]
|
|
size = Vector3(3.4, 0.9, 1.8)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_table"]
|
|
material = SubResource("StandardMaterial3D_table")
|
|
size = Vector3(3.4, 0.9, 1.8)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_map"]
|
|
transparency = 1
|
|
albedo_color = Color(0.45, 0.7, 0.95, 0.35)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_map"]
|
|
material = SubResource("StandardMaterial3D_map")
|
|
size = Vector3(3.2, 1.8, 0.06)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_station"]
|
|
albedo_color = Color(0.35, 0.5, 0.7, 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="BattleBrief" 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)
|
|
light_color = Color(0.85, 0.9, 1, 1)
|
|
shadow_enabled = true
|
|
|
|
[node name="TableLight" type="OmniLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, -3.4)
|
|
light_color = Color(0.75, 0.85, 1, 1)
|
|
light_energy = 1.6
|
|
omni_range = 8.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, -6.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, 6.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, 8.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, -8.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="Benches" type="Node3D" parent="."]
|
|
|
|
[node name="BenchLeft1" type="StaticBody3D" parent="Benches"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.25, 1.2)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Benches/BenchLeft1"]
|
|
shape = SubResource("BoxShape3D_bench")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Benches/BenchLeft1"]
|
|
mesh = SubResource("BoxMesh_bench")
|
|
|
|
[node name="BenchRight1" type="StaticBody3D" parent="Benches"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.25, 1.2)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Benches/BenchRight1"]
|
|
shape = SubResource("BoxShape3D_bench")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Benches/BenchRight1"]
|
|
mesh = SubResource("BoxMesh_bench")
|
|
|
|
[node name="BenchLeft2" type="StaticBody3D" parent="Benches"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.85, 3)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Benches/BenchLeft2"]
|
|
shape = SubResource("BoxShape3D_bench")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Benches/BenchLeft2"]
|
|
mesh = SubResource("BoxMesh_bench")
|
|
|
|
[node name="BenchRight2" type="StaticBody3D" parent="Benches"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.85, 3)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Benches/BenchRight2"]
|
|
shape = SubResource("BoxShape3D_bench")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Benches/BenchRight2"]
|
|
mesh = SubResource("BoxMesh_bench")
|
|
|
|
[node name="BenchLeft3" type="StaticBody3D" parent="Benches"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 1.45, 4.8)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Benches/BenchLeft3"]
|
|
shape = SubResource("BoxShape3D_bench")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Benches/BenchLeft3"]
|
|
mesh = SubResource("BoxMesh_bench")
|
|
|
|
[node name="BenchRight3" type="StaticBody3D" parent="Benches"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1.45, 4.8)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Benches/BenchRight3"]
|
|
shape = SubResource("BoxShape3D_bench")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Benches/BenchRight3"]
|
|
mesh = SubResource("BoxMesh_bench")
|
|
|
|
[node name="TacticsTable" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -3.4)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="TacticsTable"]
|
|
shape = SubResource("BoxShape3D_table")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="TacticsTable"]
|
|
mesh = SubResource("BoxMesh_table")
|
|
|
|
[node name="MapProjection" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, -3.4)
|
|
mesh = SubResource("BoxMesh_map")
|
|
|
|
[node name="Professor" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0, -3.4)
|
|
script = ExtResource("5_lesson")
|
|
lesson_path = "res://data/lessons/gefechtskunde.json"
|
|
neighbor_path = NodePath("../Students/Nachbar")
|
|
sit_marker_path = NodePath("../SitMarker")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
shape = SubResource("CapsuleShape3D_person")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Professor"]
|
|
transform = Transform3D(-1, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0.9, 0)
|
|
mesh = SubResource("CapsuleMesh_teacher")
|
|
|
|
[node name="GooglyEyes" parent="Professor/MeshInstance3D" instance=ExtResource("90_eyes")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, -0.3)
|
|
|
|
[node name="NameLabel" type="Label3D" parent="Professor"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
|
|
billboard = 1
|
|
text = "Devera"
|
|
font_size = 56
|
|
outline_size = 14
|
|
|
|
[node name="PromptLabel" type="Label3D" parent="Professor"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.9, 0)
|
|
visible = false
|
|
modulate = Color(1, 0.9, 0.5, 1)
|
|
billboard = 1
|
|
text = "E / (A) — Unterricht"
|
|
font_size = 40
|
|
outline_size = 12
|
|
|
|
[node name="InteractionArea" type="Area3D" parent="Professor"]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Professor/InteractionArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("SphereShape3D_interact")
|
|
|
|
[node name="SpeechBubble" parent="Professor" instance=ExtResource("6_bubble")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.8, 0)
|
|
|
|
[node name="Students" type="Node3D" parent="."]
|
|
|
|
[node name="Student1" type="MeshInstance3D" parent="Students"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.6, 0.75, -0.2)
|
|
mesh = SubResource("CapsuleMesh_student")
|
|
|
|
[node name="GooglyEyes" parent="Students/Student1" instance=ExtResource("90_eyes")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
|
|
|
|
[node name="Student2" type="MeshInstance3D" parent="Students"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.4, 0.75, 0.2)
|
|
mesh = SubResource("CapsuleMesh_student")
|
|
|
|
[node name="GooglyEyes" parent="Students/Student2" instance=ExtResource("90_eyes")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
|
|
|
|
[node name="Nachbar" type="Node3D" parent="Students"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.4, 0, -0.1)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Students/Nachbar"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0)
|
|
mesh = SubResource("CapsuleMesh_student")
|
|
|
|
[node name="GooglyEyes" parent="Students/Nachbar/MeshInstance3D" instance=ExtResource("90_eyes")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, -0.28)
|
|
|
|
[node name="SpeechBubble" parent="Students/Nachbar" instance=ExtResource("6_bubble")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.3, 0)
|
|
|
|
[node name="SitMarker" type="Marker3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0.1, -0.3)
|
|
|
|
[node name="Triggers" type="Node3D" parent="."]
|
|
|
|
[node name="TriggerRiderQuadrant" type="Area3D" parent="Triggers"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 1, 5.4)
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
script = ExtResource("4_zone")
|
|
target_scene_path = "res://scenes/hub/rider_quadrant.tscn"
|
|
target_spawn_name = "FromBattleBrief"
|
|
|
|
[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, -6.5, 0.1, 3.8)
|
|
|
|
[node name="Player" parent="." instance=ExtResource("2_player")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5, 0.1, 3.8)
|
|
|
|
[node name="DebugOverlay" parent="." instance=ExtResource("3_debug")]
|