Explosion_der_Spiele/scenes/farm_path.tscn
copilot 1cc8aa9b9d Add village 3D wiring, voice lines, and 1.74 m world scale.
Houses ~8.5 m; chimps capped ~0.85 m with safer axis fitting. Large GLB/PBR packs stay local until Git LFS (Forgejo HTTP 413).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 12:02:57 +02:00

67 lines
2.4 KiB
Text

[gd_scene load_steps=8 format=3]
[ext_resource type="Script" path="res://scripts/levels/farm_path.gd" id="1"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/player.tscn" id="2"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/exit_trigger.tscn" id="3"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/npc.tscn" id="4"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/enemy.tscn" id="5"]
[ext_resource type="PackedScene" path="res://scenes/prefabs/hazard.tscn" id="6"]
[sub_resource type="BoxMesh" id="BoxMesh_ground"]
size = Vector3(40, 0.2, 40)
[sub_resource type="StandardMaterial3D" id="Mat_ground"]
albedo_color = Color(0.55, 0.5, 0.3, 1)
shading_mode = 0
[sub_resource type="BoxShape3D" id="BoxShape_ground"]
size = Vector3(40, 0.2, 40)
[node name="farm_path" type="Node3D"]
script = ExtResource("1")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.866, -0.354, 0.354, 0, 0.707, 0.707, -0.5, -0.612, 0.612, 0, 8, 0)
shadow_enabled = false
[node name="Ground" type="StaticBody3D" parent="."]
collision_layer = 1
[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
mesh = SubResource("BoxMesh_ground")
surface_material_override/0 = SubResource("Mat_ground")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
shape = SubResource("BoxShape_ground")
[node name="Player" parent="." instance=ExtResource("2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 4)
[node name="ArrowLeft" parent="." instance=ExtResource("4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0.1, -2)
dialog_key = "dialog_mage"
texture_path = "res://assets/sprites/placeholders/arrow_left.png"
billboard_height = 1.2
billboard_max_width = 1.5
[node name="Mage" parent="." instance=ExtResource("4")]
texture_path = "res://assets/sprites/placeholders/mage.png"
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, -3)
dialog_key = "dialog_mage"
quest_flag = "mage_talked"
[node name="LeftExit" parent="." instance=ExtResource("3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.1, -10)
use_goto_next = false
next_scene_id = "farm"
[node name="RightZone" parent="." instance=ExtResource("3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.1, -6)
use_goto_next = false
next_scene_id = ""