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>
65 lines
2.5 KiB
Text
65 lines
2.5 KiB
Text
[gd_scene load_steps=6 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/levels/dressler_boss.gd" id="1"]
|
|
[ext_resource type="PackedScene" path="res://scenes/prefabs/player.tscn" id="2"]
|
|
[ext_resource type="PackedScene" path="res://scenes/prefabs/enemy.tscn" id="3"]
|
|
[ext_resource type="PackedScene" path="res://scenes/prefabs/exit_trigger.tscn" id="4"]
|
|
[ext_resource type="PackedScene" path="res://scenes/prefabs/hazard.tscn" id="5"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ground"]
|
|
size = Vector3(40, 0.2, 40)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Mat_ground"]
|
|
albedo_color = Color(0.35, 0.55, 0.2, 1)
|
|
shading_mode = 0
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape_ground"]
|
|
size = Vector3(40, 0.2, 40)
|
|
|
|
[node name="dressler_boss" type="Node3D"]
|
|
script = ExtResource("1")
|
|
|
|
[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="."]
|
|
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, 6)
|
|
|
|
[node name="Dressler" parent="." instance=ExtResource("3")]
|
|
texture_path = "res://assets/sprites/placeholders/apple.png"
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, -3)
|
|
max_hp = 10
|
|
defeat_flag = "dressler_defeated"
|
|
achievement_on_defeat = "dressler_apples"
|
|
|
|
[node name="Mower1" parent="." instance=ExtResource("5")]
|
|
texture_path = "res://assets/sprites/placeholders/mower.png"
|
|
billboard_height = 1.74
|
|
death_cause_key = "death_mower"
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 0.1, -1)
|
|
|
|
[node name="Mower2" parent="." instance=ExtResource("5")]
|
|
texture_path = "res://assets/sprites/placeholders/mower.png"
|
|
billboard_height = 1.74
|
|
death_cause_key = "death_mower"
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0.1, -1)
|
|
|
|
[node name="Mower3" parent="." instance=ExtResource("5")]
|
|
texture_path = "res://assets/sprites/placeholders/mower.png"
|
|
billboard_height = 1.74
|
|
death_cause_key = "death_mower"
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 2)
|
|
|
|
[node name="Exit" parent="." instance=ExtResource("4")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, -12)
|
|
require_flag = "dressler_defeated"
|