175 lines
8.7 KiB
Plaintext
175 lines
8.7 KiB
Plaintext
[gd_scene format=3 uid="uid://bod6b3befmyt5"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cw7duhhjebypt" path="res://scenes/player/raygun.tscn" id="1_a50o4"]
|
|
[ext_resource type="PackedScene" uid="uid://ncxcmgdit2j1" path="res://mesh/soldier_m.tscn" id="1_sxefq"]
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_a50o4"]
|
|
animation = &"Soldier|StrafeLeft"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_jbny0"]
|
|
animation = &"Soldier|StrafeRight"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_kknoo"]
|
|
animation = &"Soldier|Run"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_hjbn3"]
|
|
animation = &"Soldier|ReverseRun"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_3lfhi"]
|
|
animation = &"Soldier|Idle"
|
|
|
|
[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_tt88r"]
|
|
sync_mode = 2
|
|
blend_point_0/node = SubResource("AnimationNodeAnimation_a50o4")
|
|
blend_point_0/pos = Vector2(-1, 0)
|
|
blend_point_0/name = &"Soldier|StrafeLeft"
|
|
blend_point_1/node = SubResource("AnimationNodeAnimation_jbny0")
|
|
blend_point_1/pos = Vector2(1, 0)
|
|
blend_point_1/name = &"Soldier|StrafeRight"
|
|
blend_point_2/node = SubResource("AnimationNodeAnimation_kknoo")
|
|
blend_point_2/pos = Vector2(0, 1)
|
|
blend_point_2/name = &"Soldier|Run"
|
|
blend_point_3/node = SubResource("AnimationNodeAnimation_hjbn3")
|
|
blend_point_3/pos = Vector2(0, -1)
|
|
blend_point_3/name = &"Soldier|ReverseRun"
|
|
blend_point_4/node = SubResource("AnimationNodeAnimation_3lfhi")
|
|
blend_point_4/pos = Vector2(0, 0)
|
|
blend_point_4/name = &"Soldier|Idle"
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_kgpx5"]
|
|
graph_offset = Vector2(-81.14978, 126.45578)
|
|
nodes/output/position = Vector2(560, 100)
|
|
nodes/Movement/node = SubResource("AnimationNodeBlendSpace2D_tt88r")
|
|
nodes/Movement/position = Vector2(350, 90)
|
|
node_connections = [&"output", 0, &"Movement"]
|
|
|
|
[node name="soldier_m" type="SoldierMesh" unique_id=281995630 node_paths=PackedStringArray("hand_attachment", "animation_tree", "skeleton", "look_at")]
|
|
hand_attachment = NodePath("bone_attachment_3d/hand")
|
|
animation_tree = NodePath("animation_tree")
|
|
skeleton = NodePath("SoldierM/Soldier/Skeleton3D")
|
|
raygun = ExtResource("1_a50o4")
|
|
look_at = NodePath("look_at_root")
|
|
|
|
[node name="SoldierM" parent="." unique_id=1868587353 instance=ExtResource("1_sxefq")]
|
|
|
|
[node name="Skeleton3D" parent="SoldierM/Soldier" parent_id_path=PackedInt32Array(1868587353, 803584260) index="0" unique_id=1574145981]
|
|
bones/0/position = Vector3(0, 0, 0.00071418716)
|
|
bones/1/position = Vector3(0, 0, -0.007)
|
|
bones/1/rotation = Quaternion(0.6933472, 0, 0, 0.7206036)
|
|
bones/1/scale = Vector3(1, 1, 1)
|
|
bones/2/position = Vector3(0.002, 3.469447e-18, -1.4901118e-10)
|
|
bones/2/rotation = Quaternion(0.94524616, 2.1414793e-08, 2.3228983e-08, -0.3263583)
|
|
bones/2/scale = Vector3(1, 1, 1)
|
|
bones/3/position = Vector3(0, 0.0069999984, 5.169879e-25)
|
|
bones/3/scale = Vector3(1, 0.99999994, 1)
|
|
bones/4/position = Vector3(-2.39752e-11, 0.010049875, -1.4156722e-10)
|
|
bones/4/rotation = Quaternion(0.73982674, -2.6881349e-08, 7.0005948e-09, 0.67279744)
|
|
bones/4/scale = Vector3(1, 0.99999994, 0.99999994)
|
|
bones/6/position = Vector3(-0.002, 3.469447e-18, -1.4901205e-10)
|
|
bones/6/rotation = Quaternion(0.99965113, 1.8159536e-08, 1.8669295e-08, 0.026414612)
|
|
bones/6/scale = Vector3(1, 1, 1)
|
|
bones/7/position = Vector3(0, 0.0069999984, -5.169879e-25)
|
|
bones/7/rotation = Quaternion(-0.21973656, 4.264305e-08, 9.604991e-09, 0.9755593)
|
|
bones/7/scale = Vector3(1, 0.99999994, 1)
|
|
bones/8/position = Vector3(-2.3975525e-11, 0.010049875, -4.6138777e-11)
|
|
bones/8/rotation = Quaternion(0.86758894, -7.867721e-09, 3.036851e-08, 0.4972821)
|
|
bones/8/scale = Vector3(1, 0.99999994, 0.99999994)
|
|
bones/10/position = Vector3(0, 0.009, 0)
|
|
bones/10/rotation = Quaternion(-0.15285265, -0.13164668, 0.01958379, 0.9792455)
|
|
bones/10/scale = Vector3(1, 1, 1)
|
|
bones/11/position = Vector3(6.8186457e-17, 0.008, 0.001)
|
|
bones/11/rotation = Quaternion(0.064451575, 0.0001293997, -0.017637832, 0.99776495)
|
|
bones/11/scale = Vector3(1, 1, 1)
|
|
bones/12/position = Vector3(-2.2285185e-16, 0.0035, 0.0015000002)
|
|
bones/12/rotation = Quaternion(-0.70710677, 0, 0, 0.70710677)
|
|
bones/12/scale = Vector3(1, 1, 1)
|
|
bones/14/position = Vector3(0.005, 0.005, -1.7336413e-21)
|
|
bones/14/rotation = Quaternion(0.8961373, 0.033810798, 0.43093914, -0.10043051)
|
|
bones/14/scale = Vector3(1, 0.99999994, 1)
|
|
bones/15/position = Vector3(-1.3005262e-15, 0.0050000004, -6.938894e-18)
|
|
bones/15/rotation = Quaternion(1.0371126e-08, -6.748454e-09, 0.9316012, 0.36348197)
|
|
bones/15/scale = Vector3(1, 1, 1)
|
|
bones/16/position = Vector3(7.632945e-11, 0.007071071, 6.938894e-18)
|
|
bones/16/rotation = Quaternion(0.0037409808, -0.10074904, -0.18467231, 0.9776154)
|
|
bones/16/scale = Vector3(0.99999994, 0.9999999, 1)
|
|
bones/18/position = Vector3(-0.005, 0.005, -1.7303326e-21)
|
|
bones/18/rotation = Quaternion(0.6575101, 0.16476046, -0.1328446, -0.7231091)
|
|
bones/18/scale = Vector3(1, 0.99999994, 1)
|
|
bones/19/position = Vector3(-1.3005262e-15, 0.0050000004, -6.938894e-18)
|
|
bones/19/rotation = Quaternion(-2.1579417e-08, -3.5349842e-08, -0.2771271, 0.9608333)
|
|
bones/19/scale = Vector3(1, 1, 1)
|
|
bones/20/position = Vector3(-2.2286711e-10, 0.007071072, 0)
|
|
bones/20/rotation = Quaternion(-0.10949359, -0.472547, -0.13018106, 0.86473316)
|
|
bones/20/scale = Vector3(1, 0.9999999, 1)
|
|
bones/22/position = Vector3(0.010811842, -0.0085772155, 0.0026515652)
|
|
bones/22/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08)
|
|
bones/22/scale = Vector3(1, 1, 1)
|
|
bones/24/position = Vector3(-0.011000002, 0.0050000013, 0.0070000007)
|
|
bones/24/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08)
|
|
bones/24/scale = Vector3(1, 1, 1)
|
|
bones/26/position = Vector3(0.0025000002, 0.005, 0.0045)
|
|
bones/26/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08)
|
|
bones/26/scale = Vector3(1, 1, 1)
|
|
bones/28/position = Vector3(-0.0025, 0.005, 0.0045)
|
|
bones/28/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08)
|
|
bones/28/scale = Vector3(1, 1, 1)
|
|
bones/30/position = Vector3(0.002, 0.012192632, -0.012331131)
|
|
bones/32/position = Vector3(-0.002, 0.012192632, -0.012331131)
|
|
bones/34/position = Vector3(0.002, 0.0031428207, -0.022681827)
|
|
bones/34/scale = Vector3(1, 1, 1)
|
|
bones/36/position = Vector3(-0.002, -0.00568604, -0.02264523)
|
|
bones/36/rotation = Quaternion(0, 0, 0, 1)
|
|
|
|
[node name="look_at_modifier_3d" type="LookAtModifier3D" parent="SoldierM/Soldier/Skeleton3D" index="1" unique_id=1054155740]
|
|
target_node = NodePath("../../../../look_at_root/look_at")
|
|
bone_name = "HEAD"
|
|
bone = 11
|
|
forward_axis = 5
|
|
origin_from = 2
|
|
origin_external_node = NodePath("../../../../look_at_root")
|
|
|
|
[node name="look_at_modifier_3d2" type="LookAtModifier3D" parent="SoldierM/Soldier/Skeleton3D" index="2" unique_id=916451501]
|
|
transform = Transform3D(1, -2.2737368e-13, 0, 2.2737368e-13, 1, 0, -1.3552527e-20, 0, 1, 0, 0, 0)
|
|
target_node = NodePath("../../../../look_at_root/look_at")
|
|
bone_name = "UA.R"
|
|
bone = 14
|
|
forward_axis = 1
|
|
relative = true
|
|
origin_from = 2
|
|
origin_external_node = NodePath("../../../../look_at_root")
|
|
|
|
[node name="look_at_modifier_3d3" type="LookAtModifier3D" parent="SoldierM/Soldier/Skeleton3D" index="3" unique_id=1721786929]
|
|
transform = Transform3D(1, -6.82121e-13, 0, 6.82121e-13, 1, 0, -4.065758e-20, 0, 1, 0, 0, 0)
|
|
target_node = NodePath("../../../../look_at_root/look_at")
|
|
bone_name = "UA.L"
|
|
bone = 18
|
|
forward_axis = 2
|
|
primary_rotation_axis = 2
|
|
relative = true
|
|
origin_from = 2
|
|
origin_external_node = NodePath("../../../../look_at_root")
|
|
|
|
[node name="bone_attachment_3d" type="BoneAttachment3D" parent="." unique_id=1964353847]
|
|
transform = Transform3D(-35.56741, 3.792272, -93.38403, -83.20849, 44.2147, 33.48737, 42.559406, 89.614044, -12.570532, -0.4718982, 3.3932464, 0.73897976)
|
|
bone_name = "HAND.R_end"
|
|
bone_idx = 17
|
|
use_external_skeleton = true
|
|
external_skeleton = NodePath("../SoldierM/Soldier/Skeleton3D")
|
|
|
|
[node name="hand" type="Node3D" parent="bone_attachment_3d" unique_id=171636900]
|
|
transform = Transform3D(0.0039180024, -0.013382489, -0.0055279233, 0.00012702314, 0.005758277, -0.013850107, 0.014478719, 0.0035708423, 0.0016173583, 0.003051471, -0.0019010007, -0.002960747)
|
|
|
|
[node name="animation_tree" type="AnimationTree" parent="." unique_id=1221968603]
|
|
root_node = NodePath("../SoldierM")
|
|
tree_root = SubResource("AnimationNodeBlendTree_kgpx5")
|
|
anim_player = NodePath("../SoldierM/AnimationPlayer")
|
|
parameters/Movement/blend_position = Vector2(0, 0)
|
|
|
|
[node name="look_at_root" type="Node3D" parent="." unique_id=107308061]
|
|
transform = Transform3D(1, 0, 0, 0, 1.0000001, 0, 0, 0, 1.0000001, 0, 3.7622375, 0)
|
|
|
|
[node name="look_at" type="Node3D" parent="look_at_root" unique_id=1308525699]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.698)
|
|
|
|
[editable path="SoldierM"]
|