57 lines
2.4 KiB
Plaintext
57 lines
2.4 KiB
Plaintext
|
[gd_scene load_steps=11 format=2]
|
||
|
|
||
|
[ext_resource path="res://characters/latest_kabuto/kabuto.gltf" type="PackedScene" id=1]
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id=1]
|
||
|
animation = "mutant punch-loop"
|
||
|
|
||
|
[sub_resource type="AnimationNodeBlend2" id=2]
|
||
|
filter_enabled = true
|
||
|
filters = [ "Armature/Skeleton:Head", "Armature/Skeleton:LeftArm", "Armature/Skeleton:LeftForeArm", "Armature/Skeleton:LeftHand", "Armature/Skeleton:LeftHandIndex1", "Armature/Skeleton:LeftHandIndex2", "Armature/Skeleton:LeftHandIndex3", "Armature/Skeleton:LeftShoulder", "Armature/Skeleton:Neck", "Armature/Skeleton:RightArm", "Armature/Skeleton:RightForeArm", "Armature/Skeleton:RightHand", "Armature/Skeleton:RightHandIndex1", "Armature/Skeleton:RightHandIndex2", "Armature/Skeleton:RightHandIndex3", "Armature/Skeleton:RightShoulder", "Armature/Skeleton:Spine", "Armature/Skeleton:Spine1", "Armature/Skeleton:Spine2" ]
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id=3]
|
||
|
animation = "left strafe-loop"
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id=4]
|
||
|
animation = "standard run-loop"
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id=5]
|
||
|
animation = "right strafe-loop"
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id=6]
|
||
|
animation = "standard run-loop"
|
||
|
|
||
|
[sub_resource type="AnimationNodeAnimation" id=7]
|
||
|
animation = "idle-loop"
|
||
|
|
||
|
[sub_resource type="AnimationNodeBlendSpace2D" id=8]
|
||
|
blend_point_0/node = SubResource( 3 )
|
||
|
blend_point_0/pos = Vector2( -1, 0 )
|
||
|
blend_point_1/node = SubResource( 4 )
|
||
|
blend_point_1/pos = Vector2( 0, 1 )
|
||
|
blend_point_2/node = SubResource( 5 )
|
||
|
blend_point_2/pos = Vector2( 1, 0 )
|
||
|
blend_point_3/node = SubResource( 6 )
|
||
|
blend_point_3/pos = Vector2( 0, -1 )
|
||
|
blend_point_4/node = SubResource( 7 )
|
||
|
blend_point_4/pos = Vector2( 0, 0 )
|
||
|
|
||
|
[sub_resource type="AnimationNodeBlendTree" id=9]
|
||
|
graph_offset = Vector2( -681.028, 65.5 )
|
||
|
nodes/Animation/node = SubResource( 1 )
|
||
|
nodes/Animation/position = Vector2( -360, 360 )
|
||
|
nodes/Blend2/node = SubResource( 2 )
|
||
|
nodes/Blend2/position = Vector2( 40, 260 )
|
||
|
nodes/movement/node = SubResource( 8 )
|
||
|
nodes/movement/position = Vector2( -340, 120 )
|
||
|
node_connections = [ "output", 0, "Blend2", "Blend2", 0, "movement", "Blend2", 1, "Animation" ]
|
||
|
|
||
|
[node name="kabuto" instance=ExtResource( 1 )]
|
||
|
|
||
|
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
|
||
|
tree_root = SubResource( 9 )
|
||
|
anim_player = NodePath("../AnimationPlayer")
|
||
|
active = true
|
||
|
parameters/Blend2/blend_amount = 0.0
|
||
|
parameters/movement/blend_position = Vector2( 0, 0 )
|