CRs: Sparring-Kampfsystem (HP/Ausdauer/Block) + Sparringhalle & Kartenraum

- Actions attack (Linksklick/R2) und block (Rechtsklick/Quadrat-X), SPEC 9
- sparring_fight.gd: Echtzeit-Duell mit Gegner-HP 20 (3-5 Treffer je nach
  Kraft), Telegraph-Block (Fenster skaliert mit Schnelligkeit), Ausdauer
  mit Guard-Break und schwachen Schlaegen, interner Gegner-Ausdauer als
  Taktgeber, HUD mit drei Balken; nie toedlich, Sieg/Niederlage muenden in
  die bestehenden Klinge/Herz-Dialoge mit Ton- und Standing-Effekten
- Neue Raeume: sparring_hall.tscn (Ring, Sparringspartner, Kampftraining)
  und map_room.tscn (Kartentisch, Landnavigation); Aussen-Stationen aus dem
  Quadranten entfernt, Zonen-Trigger + Spawns beidseitig
- Headless verifiziert (26 Checks): Uebergaenge, Slot-Verbrauch,
  Schadens-Skalierung, Ausdauer, Block+Stagger, Niederlage ohne Tod bei
  Permadeath AN, Ton-/Standing-Effekte beider Ausgaenge

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-07-06 17:15:07 +02:00
parent 5eb46577b9
commit 7a4ed2d6dc
11 changed files with 852 additions and 231 deletions

222
scenes/hub/map_room.tscn Normal file
View file

@ -0,0 +1,222 @@
[gd_scene load_steps=28 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.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.38, 0.33, 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_table"]
albedo_color = Color(0.5, 0.4, 0.28, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_table"]
size = Vector3(3, 1, 1.5)
[sub_resource type="BoxMesh" id="BoxMesh_table"]
material = SubResource("StandardMaterial3D_table")
size = Vector3(3, 1, 1.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_navigation"]
albedo_color = Color(0.3, 0.6, 0.6, 1)
[sub_resource type="BoxMesh" id="BoxMesh_navigation"]
material = SubResource("StandardMaterial3D_navigation")
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="BoxShape3D" id="BoxShape3D_station"]
size = Vector3(1.2, 1.2, 1.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="SphereShape3D" id="SphereShape3D_interact"]
radius = 2.5
[node name="MapRoom" 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="MapTable" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -3)
[node name="CollisionShape3D" type="CollisionShape3D" parent="MapTable"]
shape = SubResource("BoxShape3D_table")
[node name="MeshInstance3D" type="MeshInstance3D" parent="MapTable"]
mesh = SubResource("BoxMesh_table")
[node name="NavigationStation" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -3)
script = ExtResource("5_station")
station_name = "Landnavigation"
stat_name = "agility"
success_line = "Karte, Gelände, Wind — es fügt sich zusammen."
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationStation"]
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="NavigationStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_navigation")
[node name="NameLabel" type="Label3D" parent="NavigationStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
billboard = 1
text = "Landnavigation"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="NavigationStation"]
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="NavigationStation"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationStation/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="NavigationStation" 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, 4.4)
collision_layer = 0
collision_mask = 2
script = ExtResource("4_zone")
target_scene_path = "res://scenes/hub/rider_quadrant.tscn"
target_spawn_name = "FromMapRoom"
[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")]

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=48 format=3]
[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"]
@ -7,8 +7,6 @@
[ext_resource type="Script" path="res://scripts/gameplay/zone_trigger.gd" id="5_zone"]
[ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="6_bubble"]
[ext_resource type="Script" path="res://scripts/gameplay/ambient_chatter.gd" id="7_chatter"]
[ext_resource type="Script" path="res://scripts/gameplay/training_station.gd" id="8_station"]
[ext_resource type="Script" path="res://scripts/gameplay/sparring_station.gd" id="9_sparring"]
[ext_resource type="Script" path="res://scripts/gameplay/jack_ambush.gd" id="10_jack"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_sky"]
@ -104,30 +102,6 @@ height = 1.8
[sub_resource type="SphereShape3D" id="SphereShape3D_interact"]
radius = 2.5
[sub_resource type="BoxShape3D" id="BoxShape3D_station"]
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_combat"]
albedo_color = Color(0.7, 0.32, 0.25, 1)
[sub_resource type="BoxMesh" id="BoxMesh_combat"]
material = SubResource("StandardMaterial3D_combat")
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_navigation"]
albedo_color = Color(0.3, 0.6, 0.6, 1)
[sub_resource type="BoxMesh" id="BoxMesh_navigation"]
material = SubResource("StandardMaterial3D_navigation")
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sparring"]
albedo_color = Color(0.5, 0.35, 0.35, 1)
[sub_resource type="BoxMesh" id="BoxMesh_sparring"]
material = SubResource("StandardMaterial3D_sparring")
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jack"]
albedo_color = Color(0.35, 0.18, 0.18, 1)
@ -461,6 +435,48 @@ text = "Zum Schlafsaal"
font_size = 48
outline_size = 12
[node name="TriggerSparringHall" type="Area3D" parent="Triggers"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19, 1, 4)
collision_layer = 0
collision_mask = 2
script = ExtResource("5_zone")
target_scene_path = "res://scenes/hub/sparring_hall.tscn"
target_spawn_name = "FromRiderQuadrant"
[node name="CollisionShape3D" type="CollisionShape3D" parent="Triggers/TriggerSparringHall"]
shape = SubResource("BoxShape3D_trigger")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Triggers/TriggerSparringHall"]
mesh = SubResource("BoxMesh_trigger")
[node name="Label3D" type="Label3D" parent="Triggers/TriggerSparringHall"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
billboard = 1
text = "Zur Sparringhalle"
font_size = 48
outline_size = 12
[node name="TriggerMapRoom" type="Area3D" parent="Triggers"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 19, 1, 4)
collision_layer = 0
collision_mask = 2
script = ExtResource("5_zone")
target_scene_path = "res://scenes/hub/map_room.tscn"
target_spawn_name = "FromRiderQuadrant"
[node name="CollisionShape3D" type="CollisionShape3D" parent="Triggers/TriggerMapRoom"]
shape = SubResource("BoxShape3D_trigger")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Triggers/TriggerMapRoom"]
mesh = SubResource("BoxMesh_trigger")
[node name="Label3D" type="Label3D" parent="Triggers/TriggerMapRoom"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
billboard = 1
text = "Zum Kartenraum"
font_size = 48
outline_size = 12
[node name="TriggerClassroom" type="Area3D" parent="Triggers"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 1, -19)
collision_layer = 0
@ -490,6 +506,12 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 0.1, -16)
[node name="FromClassroom" type="Marker3D" parent="SpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 0.1, -16)
[node name="FromSparringHall" type="Marker3D" parent="SpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.5, 0.1, 4)
[node name="FromMapRoom" type="Marker3D" parent="SpawnPoints"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.5, 0.1, 4)
[node name="NpcWaypoints" type="Node3D" parent="."]
[node name="ImogenA" type="Marker3D" parent="NpcWaypoints"]
@ -540,129 +562,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -8)
[node name="AmbientChatter" type="Node" parent="."]
script = ExtResource("7_chatter")
[node name="CombatStation" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14, 0, 12)
script = ExtResource("8_station")
station_name = "Kampftraining"
stat_name = "strength"
success_line = "Die Schultern brennen. Gut so."
[node name="CollisionShape3D" type="CollisionShape3D" parent="CombatStation"]
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="CombatStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_combat")
[node name="NameLabel" type="Label3D" parent="CombatStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
billboard = 1
text = "Kampftraining"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="CombatStation"]
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="CombatStation"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="CombatStation/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="CombatStation" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6, 0)
[node name="NavigationStation" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16, 0, 10)
script = ExtResource("8_station")
station_name = "Landnavigation"
stat_name = "agility"
success_line = "Karte, Gelände, Wind — es fügt sich zusammen."
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationStation"]
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="NavigationStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_navigation")
[node name="NameLabel" type="Label3D" parent="NavigationStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
billboard = 1
text = "Landnavigation"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="NavigationStation"]
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="NavigationStation"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationStation/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="NavigationStation" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6, 0)
[node name="SparringStation" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 0, 2)
script = ExtResource("9_sparring")
[node name="CollisionShape3D" type="CollisionShape3D" parent="SparringStation"]
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="SparringStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_sparring")
[node name="NameLabel" type="Label3D" parent="SparringStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
billboard = 1
text = "Sparring-Ring"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="SparringStation"]
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) — Sparring"
font_size = 40
outline_size = 12
[node name="InteractionArea" type="Area3D" parent="SparringStation"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="SparringStation/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="SparringStation" instance=ExtResource("6_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.6, 0)
[node name="Jack" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -50, 0)
visible = false

View file

@ -0,0 +1,266 @@
[gd_scene load_steps=31 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="Script" path="res://scripts/gameplay/sparring_fight.gd" id="6_fight"]
[ext_resource type="PackedScene" path="res://scenes/ui/speech_bubble.tscn" id="7_bubble"]
[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.38, 0.36, 0.34, 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_mat"]
albedo_color = Color(0.55, 0.3, 0.25, 1)
[sub_resource type="BoxMesh" id="BoxMesh_mat"]
material = SubResource("StandardMaterial3D_mat")
size = Vector3(5, 0.06, 5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_partner"]
albedo_color = Color(0.6, 0.5, 0.4, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_partner"]
material = SubResource("StandardMaterial3D_partner")
radius = 0.4
height = 1.8
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_partner"]
radius = 0.4
height = 1.8
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_combat"]
albedo_color = Color(0.7, 0.32, 0.25, 1)
[sub_resource type="BoxMesh" id="BoxMesh_combat"]
material = SubResource("StandardMaterial3D_combat")
size = Vector3(1.2, 1.2, 1.2)
[sub_resource type="BoxShape3D" id="BoxShape3D_station"]
size = Vector3(1.2, 1.2, 1.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="SphereShape3D" id="SphereShape3D_interact"]
radius = 2.5
[node name="SparringHall" 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="RingMat" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0.03, -1.5)
mesh = SubResource("BoxMesh_mat")
[node name="SparringPartner" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -1.5)
script = ExtResource("6_fight")
[node name="CollisionShape3D" type="CollisionShape3D" parent="SparringPartner"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
shape = SubResource("CapsuleShape3D_partner")
[node name="MeshInstance3D" type="MeshInstance3D" parent="SparringPartner"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
mesh = SubResource("CapsuleMesh_partner")
[node name="NameLabel" type="Label3D" parent="SparringPartner"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.2, 0)
billboard = 1
text = "Sparringspartner"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="SparringPartner"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, 0)
visible = false
modulate = Color(1, 0.9, 0.5, 1)
billboard = 1
text = "E / (A) — Sparring"
font_size = 40
outline_size = 12
[node name="InteractionArea" type="Area3D" parent="SparringPartner"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="SparringPartner/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="SparringPartner" instance=ExtResource("7_bubble")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.8, 0)
[node name="CombatStation" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5, 0, -3)
script = ExtResource("5_station")
station_name = "Kampftraining"
stat_name = "strength"
success_line = "Die Schultern brennen. Gut so."
[node name="CollisionShape3D" type="CollisionShape3D" parent="CombatStation"]
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="CombatStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
mesh = SubResource("BoxMesh_combat")
[node name="NameLabel" type="Label3D" parent="CombatStation"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
billboard = 1
text = "Kampftraining"
font_size = 56
outline_size = 14
[node name="PromptLabel" type="Label3D" parent="CombatStation"]
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="CombatStation"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="CombatStation/InteractionArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("SphereShape3D_interact")
[node name="SpeechBubble" parent="CombatStation" instance=ExtResource("7_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, 4.4)
collision_layer = 0
collision_mask = 2
script = ExtResource("4_zone")
target_scene_path = "res://scenes/hub/rider_quadrant.tscn"
target_spawn_name = "FromSparringHall"
[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")]