DungeonCrawler/enemy.tscn
Andre 3bdd0780c5 Mixamo Warrior-Modell mit Animationen, Zauberstab-Icon und Magier-Skills
- Kenney-Modelle durch Mixamo Warrior (warrior.fbx) für Player und Enemy ersetzt
- Animations-System: Lädt Walking, Strafe, Jump, Autoattack, Heavy Strike, Dying aus separaten FBX-Dateien
- Player: Bewegungsanimationen (walk/strafe/jump) + Kampfanimationen (autoattack/heavy_strike/die)
- Enemy: Walk-Animation für Patrol/Chase, Autoattack-Animation, Death-Animation mit Verzögerung
- Zauberstab-Icon (wand_icon.svg) erstellt und in Magier-Skills verknüpft
- Frostblitz und Zauberstab als klassenspezifische Magier-Skills dokumentiert
- Castbar-System, Gegner-Aggro bei Schaden und Drag&Drop in Dokumentation ergänzt
- Enemy patrouilliert jetzt auch ohne Spieler-Referenz

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 22:44:31 +01:00

36 lines
1.4 KiB
Text

[gd_scene format=3 uid="uid://cvojaeanxugfj"]
[ext_resource type="PackedScene" uid="uid://da1w523lg7i2b" path="res://assets/models/warrior.fbx" id="1_7k104"]
[ext_resource type="Script" uid="uid://bg5qs3pcfp7p7" path="res://enemy.gd" id="2_enemy"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4gyqm"]
radius = 0.6
height = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_7k104"]
radius = 0.6
height = 3.0
[node name="Enemy" type="CharacterBody3D" unique_id=332011146]
script = ExtResource("2_enemy")
[node name="EnemyModel" parent="." unique_id=846574684 instance=ExtResource("1_7k104")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1323028920]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_4gyqm")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="." unique_id=457987844]
[node name="Area3D" type="Area3D" parent="." unique_id=1689838821]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" unique_id=116643275]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
shape = SubResource("CapsuleShape3D_7k104")
[node name="HealthLabel" type="Label3D" parent="." unique_id=1251847350]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 3.5, 0)
visible = false
text = "50 / 50"
outline_size = 8