AI can 'die' now; blackboard work
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=145 format=2]
|
||||
[gd_scene load_steps=153 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/characters/vroid1-female.gltf" type="PackedScene" id=1]
|
||||
[ext_resource path="res://scenes/hair/female-hair1.tscn" type="PackedScene" id=2]
|
||||
@@ -70,6 +70,32 @@ node_connections = [ "output", 0, "TimeScale", "TimeScale", 0, "Animation" ]
|
||||
|
||||
[sub_resource type="AnimationNodeBlendTree" id=15]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id=156]
|
||||
animation = "fall-back"
|
||||
|
||||
[sub_resource type="AnimationNodeTimeScale" id=157]
|
||||
|
||||
[sub_resource type="AnimationNodeBlendTree" id=154]
|
||||
nodes/Animation/node = SubResource( 156 )
|
||||
nodes/Animation/position = Vector2( 201, 341 )
|
||||
nodes/TimeScale/node = SubResource( 157 )
|
||||
nodes/TimeScale/position = Vector2( 440, 320 )
|
||||
nodes/output/position = Vector2( 680, 320 )
|
||||
node_connections = [ "output", 0, "TimeScale", "TimeScale", 0, "Animation" ]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id=158]
|
||||
animation = "fall-front"
|
||||
|
||||
[sub_resource type="AnimationNodeTimeScale" id=159]
|
||||
|
||||
[sub_resource type="AnimationNodeBlendTree" id=155]
|
||||
nodes/Animation/node = SubResource( 158 )
|
||||
nodes/Animation/position = Vector2( 161, 293 )
|
||||
nodes/TimeScale/node = SubResource( 159 )
|
||||
nodes/TimeScale/position = Vector2( 400, 280 )
|
||||
nodes/output/position = Vector2( 720, 220 )
|
||||
node_connections = [ "output", 0, "TimeScale", "TimeScale", 0, "Animation" ]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id=16]
|
||||
animation = "start-grabbed2"
|
||||
|
||||
@@ -153,7 +179,7 @@ nodes/TimeScale/position = Vector2( 580, 100 )
|
||||
nodes/output/position = Vector2( 1120, 120 )
|
||||
nodes/t1/node = SubResource( 26 )
|
||||
nodes/t1/position = Vector2( 880, 100 )
|
||||
node_connections = [ "output", 0, "t1", "t1", 0, "TimeScale", "t1", 1, "TimeScale 2", "TimeScale 2", 0, "Animation 2", "TimeScale", 0, "Animation" ]
|
||||
node_connections = [ "output", 0, "t1", "TimeScale", 0, "Animation", "t1", 0, "TimeScale", "t1", 1, "TimeScale 2", "TimeScale 2", 0, "Animation 2" ]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id=28]
|
||||
animation = "walk1p2"
|
||||
@@ -185,7 +211,7 @@ nodes/TimeScale/position = Vector2( 620, 40 )
|
||||
nodes/Transition/node = SubResource( 32 )
|
||||
nodes/Transition/position = Vector2( 905, 264 )
|
||||
nodes/output/position = Vector2( 1280, 120 )
|
||||
node_connections = [ "output", 0, "Transition", "Transition", 0, "TimeScale", "Transition", 1, "TimeScale 2", "TimeScale 2", 0, "Animation 2", "TimeScale", 0, "Animation" ]
|
||||
node_connections = [ "output", 0, "Transition", "TimeScale", 0, "Animation", "TimeScale 2", 0, "Animation 2", "Transition", 0, "TimeScale", "Transition", 1, "TimeScale 2" ]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id=34]
|
||||
animation = "07_01-walk"
|
||||
@@ -262,7 +288,7 @@ nodes/TimeScale/position = Vector2( 640, 200 )
|
||||
nodes/Transition/node = SubResource( 59 )
|
||||
nodes/Transition/position = Vector2( 860, 220 )
|
||||
nodes/output/position = Vector2( 1080, 200 )
|
||||
node_connections = [ "output", 0, "Transition", "Transition", 1, "TimeScale 2", "TimeScale 2", 0, "Animation 2", "TimeScale", 0, "Animation" ]
|
||||
node_connections = [ "output", 0, "Transition", "TimeScale", 0, "Animation", "TimeScale 2", 0, "Animation 2", "Transition", 1, "TimeScale 2" ]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id=61]
|
||||
animation = "female-pray-startled1"
|
||||
@@ -328,7 +354,7 @@ nodes/attack2/position = Vector2( 1140, 300 )
|
||||
nodes/output/position = Vector2( 1580, 180 )
|
||||
nodes/speed/node = SubResource( 74 )
|
||||
nodes/speed/position = Vector2( 540, 60 )
|
||||
node_connections = [ "speed", 0, "Animation", "output", 0, "attack2", "TimeScale 2", 0, "Animation 3", "attack2", 0, "attack1", "attack2", 1, "TimeScale 2", "attack1", 0, "speed", "attack1", 1, "TimeScale", "TimeScale", 0, "Animation 2" ]
|
||||
node_connections = [ "speed", 0, "Animation", "output", 0, "attack2", "TimeScale", 0, "Animation 2", "attack2", 0, "attack1", "attack2", 1, "TimeScale 2", "attack1", 0, "speed", "attack1", 1, "TimeScale", "TimeScale 2", 0, "Animation 3" ]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id=76]
|
||||
animation = "dagger-sacrifice-counter-p"
|
||||
@@ -550,6 +576,10 @@ switch_mode = 2
|
||||
switch_mode = 2
|
||||
auto_advance = true
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id=160]
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id=161]
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachine" id=110]
|
||||
states/attack-melee1/node = SubResource( 135 )
|
||||
states/attack-melee1/position = Vector2( 1277, 411.193 )
|
||||
@@ -559,6 +589,10 @@ states/climb1a/node = SubResource( 14 )
|
||||
states/climb1a/position = Vector2( 947, 503.193 )
|
||||
states/drive/node = SubResource( 15 )
|
||||
states/drive/position = Vector2( 868, 316.193 )
|
||||
states/fall-back/node = SubResource( 154 )
|
||||
states/fall-back/position = Vector2( 1301.67, 633.193 )
|
||||
states/fall-front/node = SubResource( 155 )
|
||||
states/fall-front/position = Vector2( 1357.67, 576.193 )
|
||||
states/grabbed/node = SubResource( 18 )
|
||||
states/grabbed/position = Vector2( 1290, 90.193 )
|
||||
states/guard-front-melee1/node = SubResource( 147 )
|
||||
@@ -595,9 +629,9 @@ states/turn_right/node = SubResource( 126 )
|
||||
states/turn_right/position = Vector2( 1059, 620.193 )
|
||||
states/use_tap/node = SubResource( 85 )
|
||||
states/use_tap/position = Vector2( 283, 143.193 )
|
||||
transitions = [ "locomotion", "passenger", SubResource( 86 ), "passenger", "locomotion", SubResource( 87 ), "passenger", "drive", SubResource( 88 ), "drive", "passenger", SubResource( 89 ), "drive", "locomotion", SubResource( 90 ), "locomotion", "drive", SubResource( 91 ), "sacrifice", "sacrificed", SubResource( 92 ), "sacrificed", "sacrifice", SubResource( 93 ), "locomotion", "kneel", SubResource( 94 ), "kneel", "pray", SubResource( 95 ), "pray", "locomotion", SubResource( 96 ), "pray", "pray-startled", SubResource( 97 ), "pray-startled", "pray-startled-walk", SubResource( 98 ), "sleeping", "locomotion", SubResource( 99 ), "pray-startled-walk", "stand-startled", SubResource( 100 ), "stand-startled", "locomotion", SubResource( 101 ), "locomotion", "grabbed", SubResource( 102 ), "grabbed", "locomotion", SubResource( 103 ), "locomotion", "climb1", SubResource( 104 ), "climb1", "locomotion", SubResource( 105 ), "locomotion", "climb1a", SubResource( 106 ), "climb1a", "locomotion", SubResource( 107 ), "use_tap", "locomotion", SubResource( 108 ), "locomotion", "use_tap", SubResource( 109 ), "locomotion", "start_walking", SubResource( 117 ), "start_walking", "locomotion", SubResource( 118 ), "locomotion", "stop_walking", SubResource( 119 ), "stop_walking", "locomotion", SubResource( 120 ), "locomotion", "tun_left", SubResource( 127 ), "tun_left", "locomotion", SubResource( 128 ), "locomotion", "turn_right", SubResource( 129 ), "turn_right", "locomotion", SubResource( 130 ), "locomotion", "attack-melee1", SubResource( 136 ), "attack-melee1", "locomotion", SubResource( 137 ), "attack-melee1", "guard-melee1", SubResource( 141 ), "guard-melee1", "attack-melee1", SubResource( 142 ), "locomotion", "guard-melee1", SubResource( 143 ), "guard-melee1", "locomotion", SubResource( 144 ), "attack-melee1", "guard-front-melee1", SubResource( 148 ), "guard-front-melee1", "attack-melee1", SubResource( 149 ), "locomotion", "guard-front-melee1", SubResource( 150 ), "guard-front-melee1", "locomotion", SubResource( 151 ) ]
|
||||
transitions = [ "locomotion", "passenger", SubResource( 86 ), "passenger", "locomotion", SubResource( 87 ), "passenger", "drive", SubResource( 88 ), "drive", "passenger", SubResource( 89 ), "drive", "locomotion", SubResource( 90 ), "locomotion", "drive", SubResource( 91 ), "sacrifice", "sacrificed", SubResource( 92 ), "sacrificed", "sacrifice", SubResource( 93 ), "locomotion", "kneel", SubResource( 94 ), "kneel", "pray", SubResource( 95 ), "pray", "locomotion", SubResource( 96 ), "pray", "pray-startled", SubResource( 97 ), "pray-startled", "pray-startled-walk", SubResource( 98 ), "sleeping", "locomotion", SubResource( 99 ), "pray-startled-walk", "stand-startled", SubResource( 100 ), "stand-startled", "locomotion", SubResource( 101 ), "locomotion", "grabbed", SubResource( 102 ), "grabbed", "locomotion", SubResource( 103 ), "locomotion", "climb1", SubResource( 104 ), "climb1", "locomotion", SubResource( 105 ), "locomotion", "climb1a", SubResource( 106 ), "climb1a", "locomotion", SubResource( 107 ), "use_tap", "locomotion", SubResource( 108 ), "locomotion", "use_tap", SubResource( 109 ), "locomotion", "start_walking", SubResource( 117 ), "start_walking", "locomotion", SubResource( 118 ), "locomotion", "stop_walking", SubResource( 119 ), "stop_walking", "locomotion", SubResource( 120 ), "locomotion", "tun_left", SubResource( 127 ), "tun_left", "locomotion", SubResource( 128 ), "locomotion", "turn_right", SubResource( 129 ), "turn_right", "locomotion", SubResource( 130 ), "locomotion", "attack-melee1", SubResource( 136 ), "attack-melee1", "locomotion", SubResource( 137 ), "attack-melee1", "guard-melee1", SubResource( 141 ), "guard-melee1", "attack-melee1", SubResource( 142 ), "locomotion", "guard-melee1", SubResource( 143 ), "guard-melee1", "locomotion", SubResource( 144 ), "attack-melee1", "guard-front-melee1", SubResource( 148 ), "guard-front-melee1", "attack-melee1", SubResource( 149 ), "locomotion", "guard-front-melee1", SubResource( 150 ), "guard-front-melee1", "locomotion", SubResource( 151 ), "locomotion", "fall-front", SubResource( 160 ), "locomotion", "fall-back", SubResource( 161 ) ]
|
||||
start_node = "locomotion"
|
||||
graph_offset = Vector2( 489.672, 57.1925 )
|
||||
graph_offset = Vector2( 496.672, 7.1925 )
|
||||
|
||||
[sub_resource type="AnimationNodeBlendTree" id=111]
|
||||
graph_offset = Vector2( 445.846, -157.796 )
|
||||
@@ -614,7 +648,7 @@ nodes/blade_right/position = Vector2( 1400, 100 )
|
||||
nodes/output/position = Vector2( 1820, -20 )
|
||||
nodes/state/node = SubResource( 110 )
|
||||
nodes/state/position = Vector2( 480, 120 )
|
||||
node_connections = [ "output", 0, "blade_right", "all_scale", 0, "state", "blade_left", 0, "all_scale", "blade_left", 1, "Animation", "blade_right", 0, "blade_left", "blade_right", 1, "Animation 2" ]
|
||||
node_connections = [ "output", 0, "blade_right", "blade_right", 0, "blade_left", "blade_right", 1, "Animation 2", "blade_left", 0, "all_scale", "blade_left", 1, "Animation", "all_scale", 0, "state" ]
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachinePlayback" id=112]
|
||||
|
||||
@@ -632,7 +666,7 @@ bones/101/bound_children = [ NodePath("wrist_r") ]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00418961, 0.00654769, 0.00506566 )
|
||||
|
||||
[node name="head" type="BoneAttachment" parent="skeleton/Skeleton" index="2"]
|
||||
transform = Transform( 0.83427, 0.331644, -0.440515, -0.191809, 0.923568, 0.332049, 0.516932, -0.192513, 0.834056, -0.0308392, 1.3151, 0.0139266 )
|
||||
transform = Transform( 0.932316, 0.218868, -0.288047, -0.122982, 0.940534, 0.316554, 0.340181, -0.259705, 0.903776, -0.0353679, 1.31372, 0.0207836 )
|
||||
bone_name = "Head"
|
||||
|
||||
[node name="marker_talk" type="Spatial" parent="skeleton/Skeleton/head" index="0"]
|
||||
@@ -662,7 +696,7 @@ transform = Transform( 1, -1.24197e-11, 0, 1.06852e-11, 1, -5.82077e-11, 0, 0, 1
|
||||
[node name="female-face1" parent="skeleton/Skeleton/head/face" index="0" instance=ExtResource( 3 )]
|
||||
|
||||
[node name="hips" type="BoneAttachment" parent="skeleton/Skeleton" index="3"]
|
||||
transform = Transform( 0.999052, 0.0440607, -0.00179843, 0.0440316, -0.998945, -0.014082, -0.00241711, 0.0139897, -0.999873, 0.000203862, 0.862223, -0.00645695 )
|
||||
transform = Transform( 0.988843, 0.0743826, -0.129405, 0.0739601, -0.997197, -0.00811786, -0.129657, -0.0015435, -0.991557, 0.000203862, 0.862472, -0.00645695 )
|
||||
bone_name = "Hips"
|
||||
|
||||
[node name="marker_dagger_sacrifice" type="Spatial" parent="skeleton/Skeleton/hips" index="0"]
|
||||
@@ -677,21 +711,21 @@ monitorable = false
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="wrist_r" type="BoneAttachment" parent="skeleton/Skeleton" index="4"]
|
||||
transform = Transform( -0.523493, 0.831405, 0.186331, 0.799005, 0.403087, 0.446219, 0.295882, 0.382472, -0.875311, 0.246516, 0.816854, 0.0530603 )
|
||||
transform = Transform( -0.155847, 0.968072, -0.196331, 0.907188, 0.218911, 0.359287, 0.390795, -0.122115, -0.912342, 0.21806, 0.798826, -0.0352511 )
|
||||
bone_name = "wrist_ik_R"
|
||||
|
||||
[node name="weapon_right" type="Spatial" parent="skeleton/Skeleton/wrist_r" index="0"]
|
||||
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, -0.08, 0, -0.01 )
|
||||
|
||||
[node name="wrist_l" type="BoneAttachment" parent="skeleton/Skeleton" index="5"]
|
||||
transform = Transform( -0.108058, -0.685164, 0.720328, -0.790371, 0.498715, 0.355805, -0.603024, -0.530878, -0.595424, -0.214561, 0.852356, -0.138021 )
|
||||
transform = Transform( -0.119609, -0.729474, 0.673469, -0.929594, 0.320491, 0.182047, -0.34864, -0.604278, -0.716448, -0.256349, 0.818886, 0.0048945 )
|
||||
bone_name = "wrist_ik_L"
|
||||
|
||||
[node name="weapon_left" type="Spatial" parent="skeleton/Skeleton/wrist_l" index="0"]
|
||||
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0.08, 0, -0.01 )
|
||||
|
||||
[node name="chest" type="BoneAttachment" parent="skeleton/Skeleton" index="6"]
|
||||
transform = Transform( 0.993031, -0.0677989, -0.096651, 0.0571863, 0.992449, -0.10864, 0.103279, 0.102345, 0.989339, -0.00688225, 1.02154, -0.0291024 )
|
||||
transform = Transform( 0.991647, -0.0337554, 0.124843, 0.0471192, 0.993257, -0.105626, -0.120448, 0.110622, 0.986529, -0.0143315, 1.02163, -0.0264497 )
|
||||
bone_name = "Chest"
|
||||
|
||||
[node name="chest_hurt" type="Area" parent="skeleton/Skeleton/chest" index="0"]
|
||||
@@ -706,7 +740,7 @@ shape = SubResource( 3 )
|
||||
[node name="MeshInstance" type="MeshInstance" parent="skeleton/Skeleton" index="7"]
|
||||
|
||||
[node name="neck" type="BoneAttachment" parent="skeleton/Skeleton" index="8"]
|
||||
transform = Transform( 0.930267, -0.237234, -0.27995, 0.246019, 0.96927, -0.00386425, 0.272244, -0.0652763, 0.959976, -0.0132515, 1.24324, 0.0187659 )
|
||||
transform = Transform( 0.942651, -0.3302, -0.0496428, 0.329635, 0.94388, -0.0191404, 0.053161, 0.00168132, 0.998576, -0.0108881, 1.24374, 0.020659 )
|
||||
bone_name = "Neck"
|
||||
|
||||
[node name="marker_neck_grab" type="Position3D" parent="skeleton/Skeleton/neck" index="0"]
|
||||
@@ -725,6 +759,8 @@ parameters/state/playback = SubResource( 112 )
|
||||
parameters/state/attack-melee1/attack1_speed/scale = 1.0
|
||||
parameters/state/climb1/TimeScale/scale = 2.0
|
||||
parameters/state/climb1a/TimeScale/scale = 2.0
|
||||
parameters/state/fall-back/TimeScale/scale = 1.0
|
||||
parameters/state/fall-front/TimeScale/scale = 1.0
|
||||
parameters/state/grabbed/TimeScale/scale = 1.0
|
||||
parameters/state/guard-front-melee1/TimeScale/scale = 1.0
|
||||
parameters/state/guard-melee1/TimeScale/scale = 1.0
|
||||
|
||||
Reference in New Issue
Block a user