Explosion_der_Spiele/scenes/meadow.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.6 KiB
Text

[gd_scene load_steps=10 format=3 uid="uid://78y8tnero0uj"]
[ext_resource type="Script" path="res://scripts/levels/meadow.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"]
shading_mode = 0
albedo_color = Color(0.4, 0.75, 0.3, 1)
[sub_resource type="BoxShape3D" id="BoxShape_ground"]
size = Vector3(40, 0.2, 40)
[node name="meadow" 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)
[node name="Ground" type="StaticBody3D" parent="."]
[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="Glitzo" parent="." instance=ExtResource("5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.1, -1)
texture_path = "res://assets/sprites/placeholders/glitzo.png"
achievement_on_defeat = "first_glitzo"
[node name="Bear" parent="." instance=ExtResource("4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0.1, -3)
dialog_key = "dialog_bear"
texture_path = "res://assets/sprites/placeholders/bear.png"
[node name="MowerHazard" parent="." instance=ExtResource("6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2, 0.1, -3.6)
death_cause_key = "death_mower"
texture_path = "res://assets/sprites/placeholders/snake_mower.png"
billboard_height = 2.0
[node name="SnakePickup" parent="." instance=ExtResource("4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6, 0.1, -2.4)
dialog_key = ""
texture_path = "res://assets/sprites/placeholders/snake.png"
billboard_height = 0.85
billboard_max_width = 1.4
give_item_id = "snake"
give_once = true
despawn_after_give = true
[node name="Exit" parent="." instance=ExtResource("3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, -12)