1- [gd_scene load_steps =47 format =2 ]
1+ [gd_scene load_steps =49 format =2 ]
22
33[ext_resource path ="res://player/player.gd" type ="Script" id =1 ]
44[ext_resource path ="res://player/model/player.glb" type ="PackedScene" id =2 ]
@@ -96,7 +96,7 @@ autorestart_random_delay = 1.0
9696[sub_resource type ="AnimationNodeTransition" id =18 ]
9797resource_local_to_scene = true
9898input_count = 4
99- xfade_time = 0.15
99+ xfade_time = 0.2
100100input_0/name = "strafe"
101101input_0/auto_advance = false
102102input_1/name = "walk"
@@ -139,6 +139,8 @@ blend_point_3/pos = Vector2( 0, 1 )
139139blend_point_4/node = SubResource ( 23 )
140140blend_point_4/pos = Vector2 ( 0 , 0 )
141141
142+ [sub_resource type ="AnimationNodeTimeScale" id =37 ]
143+
142144[sub_resource type ="AnimationNodeAnimation" id =25 ]
143145resource_local_to_scene = true
144146animation = "Idle-cycle"
@@ -169,9 +171,11 @@ min_space = Vector2( 0, 0 )
169171x_label = "speed"
170172y_label = "gun"
171173
174+ [sub_resource type ="AnimationNodeTimeScale" id =36 ]
175+
172176[sub_resource type ="AnimationNodeBlendTree" id =30 ]
173177resource_local_to_scene = true
174- graph_offset = Vector2 ( 1 , 85 )
178+ graph_offset = Vector2 ( -789 , -157 )
175179nodes/aim/node = SubResource ( 9 )
176180nodes/aim/position = Vector2 ( 380 , 120 )
177181nodes/aimdown/node = SubResource ( 10 )
@@ -192,12 +196,16 @@ nodes/land/node = SubResource( 17 )
192196nodes/land/position = Vector2 ( 120 , 180 )
193197nodes/output/position = Vector2 ( 840 , 120 )
194198nodes/state/node = SubResource ( 18 )
195- nodes/state/position = Vector2 ( -120 , 120 )
199+ nodes/state/position = Vector2 ( -80 , 100 )
196200nodes/strafe/node = SubResource ( 24 )
197- nodes/strafe/position = Vector2 ( -400 , -120 )
201+ nodes/strafe/position = Vector2 ( -440 , -120 )
202+ nodes/strafe_speed/node = SubResource ( 37 )
203+ nodes/strafe_speed/position = Vector2 ( -260 , -100 )
198204nodes/walk/node = SubResource ( 29 )
199- nodes/walk/position = Vector2 ( -400 , 40 )
200- node_connections = [ "state" , 0 , "strafe" , "state" , 1 , "walk" , "state" , 2 , "jumpup" , "state" , 3 , "jumpdown" , "output" , 0 , "eye_blend" , "aim" , 0 , "aimdown" , "aim" , 1 , "land" , "aim" , 2 , "aimup" , "eye_blend" , 0 , "aim" , "eye_blend" , 1 , "eyes" , "land" , 0 , "state" , "land" , 1 , "hardland" ]
205+ nodes/walk/position = Vector2 ( -460 , 40 )
206+ nodes/walk_speed/node = SubResource ( 36 )
207+ nodes/walk_speed/position = Vector2 ( -280 , 60 )
208+ node_connections = [ "state" , 0 , "strafe_speed" , "state" , 1 , "walk_speed" , "state" , 2 , "jumpup" , "state" , 3 , "jumpdown" , "output" , 0 , "eye_blend" , "walk_speed" , 0 , "walk" , "aim" , 0 , "aimdown" , "aim" , 1 , "land" , "aim" , 2 , "aimup" , "eye_blend" , 0 , "aim" , "eye_blend" , 1 , "eyes" , "land" , 0 , "state" , "land" , 1 , "hardland" , "strafe_speed" , 0 , "strafe" ]
201209
202210[sub_resource type ="CapsuleShape" id =31 ]
203211radius = 0.5
@@ -274,7 +282,7 @@ transform = Transform( 0.803991, 0, 0, 0, 0.803991, 0, 0, 0, 0.803991, 0, 0, 0 )
274282bones/55/bound_children = [ NodePath ("GunBone" ) ]
275283
276284[node name ="GunBone" type ="BoneAttachment" parent ="PlayerModel/Robot_Skeleton/Skeleton" index ="5" ]
277- transform = Transform ( 0.92223 , -0.384448 , -0.0436694 , -0.0209561 , 0.0630829 , -0.997796 , 0.386401 , 0.920989 , 0.0501149 , -0.207099 , 1.39771 , 0.464718 )
285+ transform = Transform ( 0.923127 , -0.382575 , -0.041099 , -0.0231363 , 0.0514465 , -0.998416 , 0.384127 , 0.922491 , 0.0386362 , -0.205969 , 1.38162 , 0.508228 )
278286bone_name = "hand.R"
279287
280288[node name ="ShootFrom" type ="Position3D" parent ="PlayerModel/Robot_Skeleton/Skeleton/GunBone" ]
@@ -317,7 +325,9 @@ parameters/eye_blend/blend_amount = 1.0
317325parameters/land/active = false
318326parameters/state/current = 0
319327parameters/strafe/blend_position = Vector2 ( 0 , 0 )
328+ parameters/strafe_speed/scale = 1.2
320329parameters/walk/blend_position = Vector2 ( 0 , 0 )
330+ parameters/walk_speed/scale = 1.1
321331
322332[node name ="CapsuleShape" type ="CollisionShape" parent ="." ]
323333transform = Transform ( 1 , 0 , 0 , 0 , -4 .37114e-08, 1 , 0 , -1 , -4 .37114e-08, 0 , 1 , 0 )
0 commit comments