- 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>
41 lines
2.1 KiB
Text
41 lines
2.1 KiB
Text
[gd_scene format=3 uid="uid://dniyuebl8yhtv"]
|
|
|
|
[ext_resource type="Script" uid="uid://b6n25e5fh82ra" path="res://player.gd" id="1_4flbx"]
|
|
[ext_resource type="PackedScene" uid="uid://da1w523lg7i2b" path="res://assets/models/warrior.fbx" id="2_hqtel"]
|
|
[ext_resource type="Script" uid="uid://bwtwon54po4w3" path="res://camera_pivot.gd" id="2_onrkg"]
|
|
[ext_resource type="PackedScene" uid="uid://bej3excyoxrdh" path="res://hud.tscn" id="4_hqtel"]
|
|
[ext_resource type="PackedScene" uid="uid://character_panel" path="res://character_panel.tscn" id="5_char_panel"]
|
|
[ext_resource type="PackedScene" uid="uid://inventory_panel" path="res://inventory_panel.tscn" id="6_inv_panel"]
|
|
[ext_resource type="PackedScene" uid="uid://loot_window" path="res://loot_window.tscn" id="7_loot_win"]
|
|
[ext_resource type="PackedScene" uid="uid://skill_panel" path="res://skill_panel.tscn" id="8_skill_panel"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4flbx"]
|
|
radius = 0.6
|
|
height = 3.0
|
|
|
|
[node name="CharacterBody3D" type="CharacterBody3D" unique_id=937297102]
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
|
script = ExtResource("1_4flbx")
|
|
|
|
[node name="PlayerModel" parent="." unique_id=926968795 instance=ExtResource("2_hqtel")]
|
|
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=1359412306]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
|
|
shape = SubResource("CapsuleShape3D_4flbx")
|
|
|
|
[node name="CameraPivot" type="Node3D" parent="." unique_id=638440275]
|
|
script = ExtResource("2_onrkg")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CameraPivot" unique_id=1625345908]
|
|
transform = Transform3D(2, 0, 0, 0, 1.8126155, 0.84523654, 0, -0.84523654, 1.8126155, 0, 5, 5)
|
|
|
|
[node name="HUD" parent="." unique_id=1901284390 instance=ExtResource("4_hqtel")]
|
|
|
|
[node name="CharacterPanel" parent="." instance=ExtResource("5_char_panel")]
|
|
|
|
[node name="InventoryPanel" parent="." instance=ExtResource("6_inv_panel")]
|
|
|
|
[node name="LootWindow" parent="." instance=ExtResource("7_loot_win")]
|
|
|
|
[node name="SkillPanel" parent="." instance=ExtResource("8_skill_panel")]
|