143 lines
7.6 KiB
Plaintext
143 lines
7.6 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", "skeleton_modifier")]
|
|
hand_attachment = NodePath("bone_attachment_3d/hand")
|
|
animation_tree = NodePath("animation_tree")
|
|
skeleton = NodePath("SoldierM/Soldier/Skeleton3D")
|
|
raygun = ExtResource("1_a50o4")
|
|
skeleton_modifier = NodePath("SoldierM/Soldier/Skeleton3D/soldier_skeleton_modifier")
|
|
|
|
[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.7044769, 0, 0, 0.709727)
|
|
bones/1/scale = Vector3(1, 1, 1)
|
|
bones/2/position = Vector3(0.002, 3.469447e-18, -1.4901118e-10)
|
|
bones/2/rotation = Quaternion(0.9504327, 2.1033886e-08, 2.357445e-08, -0.31093037)
|
|
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.9992136, 1.7910667e-08, 1.8908183e-08, 0.039652776)
|
|
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.16860254, -0.13138649, 0.021690987, 0.9766475)
|
|
bones/10/scale = Vector3(1, 1, 1)
|
|
bones/11/position = Vector3(6.8186457e-17, 0.008, 0.001)
|
|
bones/11/rotation = Quaternion(0.011738047, 2.356739e-05, -0.003212238, 0.999926)
|
|
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.8844465, 0.032357745, 0.43648675, -0.16182332)
|
|
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.0181552e-08, -7.03121e-09, 0.92124933, 0.38897285)
|
|
bones/15/scale = Vector3(1, 1, 1)
|
|
bones/16/position = Vector3(7.632945e-11, 0.007071071, 6.938894e-18)
|
|
bones/16/rotation = Quaternion(0.025212372, -0.04779956, -0.18591446, 0.9810787)
|
|
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.64759296, 0.20328435, -0.1040828, -0.7269564)
|
|
bones/18/scale = Vector3(1, 0.99999994, 1)
|
|
bones/19/position = Vector3(-1.3005262e-15, 0.0050000004, -6.938894e-18)
|
|
bones/19/rotation = Quaternion(-1.8158344e-08, -3.722307e-08, -0.18551208, 0.98264205)
|
|
bones/19/scale = Vector3(1, 1, 1)
|
|
bones/20/position = Vector3(-2.2286711e-10, 0.007071072, 0)
|
|
bones/20/rotation = Quaternion(-0.1351793, -0.45971006, -0.16690832, 0.86170465)
|
|
bones/20/scale = Vector3(1, 0.9999999, 1)
|
|
bones/22/position = Vector3(0.012072118, -0.0085772155, 0.0023066779)
|
|
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="soldier_skeleton_modifier" type="SoldierSkeletonModifier" parent="SoldierM/Soldier/Skeleton3D" index="1" unique_id=248671730]
|
|
transform = Transform3D(1, -2.2737368e-13, 0, 2.2737368e-13, 1, 0, -1.3552527e-20, 0, 1, 0.007936426, -0.022856388, 0.010735709)
|
|
|
|
[node name="bone_attachment_3d" type="BoneAttachment3D" parent="." unique_id=1964353847]
|
|
transform = Transform3D(-16.315157, 39.74509, -90.300285, -95.4447, 16.81778, 24.646877, 24.982435, 90.208015, 35.19075, -0.20875436, 3.1938982, 0.68449914)
|
|
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.0009882095, -0.014535081, -0.0035712845, -0.0056050573, 0.0029592454, -0.0135950465, 0.0138782775, 0.0022301476, -0.0052363835, 0.0019110721, -0.0009642476, -0.000241803)
|
|
|
|
[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)
|
|
|
|
[editable path="SoldierM"]
|