[gd_scene load_steps=32 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_top_color = Color(0.06, 0.05, 0.05, 1) sky_horizon_color = Color(0.1, 0.08, 0.07, 1) ground_bottom_color = Color(0.04, 0.03, 0.03, 1) ground_horizon_color = Color(0.1, 0.08, 0.07, 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") ambient_light_source = 3 ambient_light_color = Color(0.5, 0.4, 0.3, 1) ambient_light_energy = 0.25 tonemap_mode = 2 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_floor"] albedo_color = Color(0.28, 0.24, 0.2, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_floor"] size = Vector3(12, 1, 9) [sub_resource type="BoxMesh" id="BoxMesh_floor"] material = SubResource("StandardMaterial3D_floor") size = Vector3(12, 1, 9) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_structure"] albedo_color = Color(0.32, 0.28, 0.24, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_wall_ns"] size = Vector3(13, 3, 0.5) [sub_resource type="BoxMesh" id="BoxMesh_wall_ns"] material = SubResource("StandardMaterial3D_structure") size = Vector3(13, 3, 0.5) [sub_resource type="BoxShape3D" id="BoxShape3D_wall_ew"] size = Vector3(0.5, 3, 10) [sub_resource type="BoxMesh" id="BoxMesh_wall_ew"] material = SubResource("StandardMaterial3D_structure") size = Vector3(0.5, 3, 10) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wood"] albedo_color = Color(0.4, 0.28, 0.16, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_table"] size = Vector3(1.8, 0.85, 1) [sub_resource type="BoxMesh" id="BoxMesh_table"] material = SubResource("StandardMaterial3D_wood") size = Vector3(1.8, 0.85, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_shelf"] size = Vector3(0.6, 2.8, 3) [sub_resource type="BoxMesh" id="BoxMesh_shelf"] material = SubResource("StandardMaterial3D_wood") size = Vector3(0.6, 2.8, 3) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_candle"] albedo_color = Color(0.95, 0.9, 0.75, 1) emission_enabled = true emission = Color(1, 0.7, 0.35, 1) emission_energy_multiplier = 1.4 [sub_resource type="CylinderMesh" id="CylinderMesh_candle"] material = SubResource("StandardMaterial3D_candle") top_radius = 0.05 bottom_radius = 0.06 height = 0.25 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_station"] albedo_color = Color(0.75, 0.7, 0.5, 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="HistoryClass" type="Node3D"] script = ExtResource("1_room") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_env") [node name="CandleLight1" type="OmniLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 1.3, -1.5) light_color = Color(1, 0.72, 0.42, 1) light_energy = 1.8 omni_range = 6.0 [node name="CandleLight2" type="OmniLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 1.3, 0.5) light_color = Color(1, 0.72, 0.42, 1) light_energy = 1.8 omni_range = 6.0 [node name="CandleLight3" type="OmniLight3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.8, 1.4, -2.6) light_color = Color(1, 0.72, 0.42, 1) light_energy = 1.5 omni_range = 5.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, 1.5, -4.75) [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, 4.75) [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, 6.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, -6.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="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.425, -1.5) [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="Candle" type="MeshInstance3D" parent="Tables/Table1"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.55, 0.2) mesh = SubResource("CylinderMesh_candle") [node name="Table2" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0.425, 0.5) [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="Candle" type="MeshInstance3D" parent="Tables/Table2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.4, 0.55, -0.2) mesh = SubResource("CylinderMesh_candle") [node name="Table3" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0.425, 1.8) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Table3"] shape = SubResource("BoxShape3D_table") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Table3"] mesh = SubResource("BoxMesh_table") [node name="Table4" type="StaticBody3D" parent="Tables"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.425, -2.8) [node name="CollisionShape3D" type="CollisionShape3D" parent="Tables/Table4"] shape = SubResource("BoxShape3D_table") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tables/Table4"] mesh = SubResource("BoxMesh_table") [node name="Candle" type="MeshInstance3D" parent="Tables/Table4"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0) mesh = SubResource("CylinderMesh_candle") [node name="Shelves" type="Node3D" parent="."] [node name="Shelf1" type="StaticBody3D" parent="Shelves"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.8, 1.4, -2.5) [node name="CollisionShape3D" type="CollisionShape3D" parent="Shelves/Shelf1"] shape = SubResource("BoxShape3D_shelf") [node name="MeshInstance3D" type="MeshInstance3D" parent="Shelves/Shelf1"] mesh = SubResource("BoxMesh_shelf") [node name="Shelf2" type="StaticBody3D" parent="Shelves"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.8, 1.4, 1.5) [node name="CollisionShape3D" type="CollisionShape3D" parent="Shelves/Shelf2"] shape = SubResource("BoxShape3D_shelf") [node name="MeshInstance3D" type="MeshInstance3D" parent="Shelves/Shelf2"] mesh = SubResource("BoxMesh_shelf") [node name="Shelf3" type="StaticBody3D" parent="Shelves"] transform = Transform3D(0, 0, 1, 0, 1, 0, -1, 0, 0, 2, 1.4, -4.2) [node name="CollisionShape3D" type="CollisionShape3D" parent="Shelves/Shelf3"] shape = SubResource("BoxShape3D_shelf") [node name="MeshInstance3D" type="MeshInstance3D" parent="Shelves/Shelf3"] mesh = SubResource("BoxMesh_shelf") [node name="HistoryStation" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2, 0, -2.6) script = ExtResource("5_station") station_name = "Geschichte & RSC" stat_name = "intellect" stat_gain = 1 knowledge_flag = "geschichte_wissen" success_line = "Markhams Version der Geschichte. Schlucken, merken, hinterfragen." [node name="CollisionShape3D" type="CollisionShape3D" parent="HistoryStation"] 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="HistoryStation"] 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="HistoryStation"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0) billboard = 1 text = "Geschichte & RSC" font_size = 56 outline_size = 14 [node name="PromptLabel" type="Label3D" parent="HistoryStation"] 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="HistoryStation"] collision_layer = 0 collision_mask = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="HistoryStation/InteractionArea"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("SphereShape3D_interact") [node name="SpeechBubble" parent="HistoryStation" 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, 3.9) collision_layer = 0 collision_mask = 2 script = ExtResource("4_zone") target_scene_path = "res://scenes/hub/rider_quadrant.tscn" target_spawn_name = "FromHistoryClass" [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, 2.6) [node name="Player" parent="." instance=ExtResource("2_player")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 2.6) [node name="DebugOverlay" parent="." instance=ExtResource("3_debug")]