- medieval_town.glb als Stadt-Asset eingefügt (4% Skalierung) - fantasy_door_model.glb ersetzt das alte CSG-DungeonGate - Boden-Shader entfernt (Stadt hat eigenen Boden) - Unsichtbarer Kollisionsboden (2500x2500) hinzugefügt - WorldEnvironment mit Sky, Fog, SSAO, Glow aus Szene statt Code - Alte CSG-Objekte entfernt (Mountain, Rocks, Trees) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
91 lines
3.6 KiB
Text
91 lines
3.6 KiB
Text
[gd_scene format=3 uid="uid://bp0g1glxo816h"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dniyuebl8yhtv" path="res://player.tscn" id="1_f3sb7"]
|
|
[ext_resource type="Script" uid="uid://cx56h588mfsk0" path="res://world.gd" id="1_tlwt5"]
|
|
[ext_resource type="PackedScene" uid="uid://dawbdtnyiha0m" path="res://assets/environment/medieval_town.glb" id="4_town"]
|
|
[ext_resource type="PackedScene" uid="uid://b426p2ebu8ob1" path="res://assets/environment/fantasy_door_model.glb" id="5_door"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="sky_mat"]
|
|
sky_top_color = Color(0.35, 0.5, 0.75, 1)
|
|
sky_horizon_color = Color(0.65, 0.7, 0.78, 1)
|
|
ground_bottom_color = Color(0.2, 0.18, 0.15, 1)
|
|
ground_horizon_color = Color(0.55, 0.52, 0.48, 1)
|
|
|
|
[sub_resource type="Sky" id="sky"]
|
|
sky_material = SubResource("sky_mat")
|
|
|
|
[sub_resource type="Environment" id="env"]
|
|
background_mode = 2
|
|
sky = SubResource("sky")
|
|
ambient_light_source = 2
|
|
ambient_light_color = Color(0.6, 0.58, 0.55, 1)
|
|
ambient_light_energy = 0.3
|
|
tonemap_mode = 2
|
|
ssao_enabled = true
|
|
glow_enabled = true
|
|
fog_enabled = true
|
|
fog_light_color = Color(0.7, 0.68, 0.62, 1)
|
|
fog_density = 0.002
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_floor"]
|
|
size = Vector3(2500, 0.5, 2500)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="mat_floor"]
|
|
albedo_color = Color(0.28, 0.35, 0.18, 1)
|
|
roughness = 0.95
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_floor"]
|
|
size = Vector3(2500, 0.5, 2500)
|
|
|
|
[sub_resource type="NavigationMesh" id="NavigationMesh_fj7yv"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_gate"]
|
|
size = Vector3(5, 4, 4)
|
|
|
|
[node name="World" type="Node3D" unique_id=1518976304]
|
|
script = ExtResource("1_tlwt5")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=801100654]
|
|
environment = SubResource("env")
|
|
|
|
[node name="Boden" type="StaticBody3D" parent="." unique_id=839662005]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.28, 0)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Boden" unique_id=334777163]
|
|
shape = SubResource("BoxShape3D_floor")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Boden" unique_id=1590278465]
|
|
material_override = SubResource("mat_floor")
|
|
mesh = SubResource("BoxMesh_floor")
|
|
|
|
[node name="MedievalTown" parent="." unique_id=1511860358 instance=ExtResource("4_town")]
|
|
transform = Transform3D(0.04, 0, 0, 0, 0.04, 0, 0, 0, 0.04, 0, 0, 0)
|
|
|
|
[node name="Player" parent="." unique_id=841198255 instance=ExtResource("1_f3sb7")]
|
|
transform = Transform3D(-0.70710677, 0, 0.70710677, 0, 1, 0, -0.70710677, 0, -0.70710677, -299, 0.43499756, 332)
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1642167272]
|
|
transform = Transform3D(-45, 0, 0, 0, -45, 0, 0, 0, -45, 0, 0, 0)
|
|
|
|
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." unique_id=1093030835]
|
|
navigation_mesh = SubResource("NavigationMesh_fj7yv")
|
|
|
|
[node name="DungeonGate" type="Node3D" parent="." unique_id=1787139888]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -296, 0, 370)
|
|
|
|
[node name="DoorModel" parent="DungeonGate" unique_id=1071858485 instance=ExtResource("5_door")]
|
|
transform = Transform3D(-100, 0, 8.742278e-06, 0, 100, 0, -8.742278e-06, 0, -100, 0, 4, 0)
|
|
|
|
[node name="GateArea" type="Area3D" parent="DungeonGate" unique_id=1947692918]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 2)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DungeonGate/GateArea" unique_id=1018035780]
|
|
shape = SubResource("BoxShape3D_gate")
|
|
|
|
[node name="GateLabel" type="Label3D" parent="DungeonGate" unique_id=1720057230]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7.5, 1)
|
|
visible = false
|
|
billboard = 1
|
|
modulate = Color(1, 0.85, 0.3, 1)
|
|
text = "Dungeon betreten [E]"
|
|
font_size = 48
|