generated from krampus/template-godot4
39 lines
1.7 KiB
Plaintext
39 lines
1.7 KiB
Plaintext
|
[gd_scene load_steps=7 format=3 uid="uid://brrd33217oplv"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://cyqr1ojnddyk0" path="res://assets/npc/shambler/shambler.gltf" id="1_uiw1a"]
|
||
|
[ext_resource type="Material" uid="uid://7xrgrvf3lymv" path="res://assets/npc/shambler/shambler.material" id="2_nayyt"]
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_nayyt"]
|
||
|
animation = &"idle"
|
||
|
|
||
|
[sub_resource type="AnimationNodeOneShot" id="AnimationNodeOneShot_s7rwx"]
|
||
|
mix_mode = 1
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_vmxrd"]
|
||
|
animation = &"step_left"
|
||
|
|
||
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_nayyt"]
|
||
|
graph_offset = Vector2(-1115, 25)
|
||
|
nodes/idle_anim/node = SubResource("AnimationNodeAnimation_nayyt")
|
||
|
nodes/idle_anim/position = Vector2(-220, 80)
|
||
|
nodes/step_action/node = SubResource("AnimationNodeOneShot_s7rwx")
|
||
|
nodes/step_action/position = Vector2(20, 140)
|
||
|
nodes/step_anim/node = SubResource("AnimationNodeAnimation_vmxrd")
|
||
|
nodes/step_anim/position = Vector2(-240, 320)
|
||
|
node_connections = [&"output", 0, &"step_action", &"step_action", 0, &"idle_anim", &"step_action", 1, &"step_anim"]
|
||
|
|
||
|
[node name="Shambler" instance=ExtResource("1_uiw1a")]
|
||
|
|
||
|
[node name="Shambler" parent="Armature/Skeleton3D" index="0"]
|
||
|
surface_material_override/0 = ExtResource("2_nayyt")
|
||
|
|
||
|
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
|
||
|
tree_root = SubResource("AnimationNodeBlendTree_nayyt")
|
||
|
anim_player = NodePath("../AnimationPlayer")
|
||
|
parameters/step_action/active = false
|
||
|
parameters/step_action/internal_active = false
|
||
|
parameters/step_action/request = 0
|
||
|
|
||
|
[node name="FacingTarget" type="Marker3D" parent="." index="3"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.445155, 0, 8.32678)
|