pull_tool_attached.tscn 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [gd_scene load_steps=14 format=3 uid="uid://dgchngvqkam5r"]
  2. [ext_resource type="PackedScene" uid="uid://5t5dpi46ntb1" path="res://entities/player/playertools/pull_tool_attached.glb" id="1_oiuab"]
  3. [ext_resource type="Material" uid="uid://st2d73wbhj7" path="res://entities/objects/tools/PlayerTools01.material" id="2_b5iso"]
  4. [ext_resource type="Script" path="res://entities/player/playertools/pull_tool_attached.gd" id="2_p3wik"]
  5. [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_po5y7"]
  6. animation = &"Pull_End"
  7. [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_v75yx"]
  8. animation = &"Pull_Idle"
  9. [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_r0yw2"]
  10. animation = &"Pull_Start"
  11. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_a8bxw"]
  12. advance_mode = 2
  13. advance_condition = &"start"
  14. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_ces08"]
  15. advance_mode = 2
  16. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_1uxye"]
  17. switch_mode = 2
  18. advance_mode = 2
  19. advance_condition = &"end"
  20. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_3c50n"]
  21. switch_mode = 2
  22. advance_mode = 2
  23. advance_condition = &"start"
  24. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_w55td"]
  25. advance_mode = 2
  26. advance_condition = &"end"
  27. [sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_l6tah"]
  28. states/End/position = Vector2(725, 89)
  29. states/Pull_End/node = SubResource("AnimationNodeAnimation_po5y7")
  30. states/Pull_End/position = Vector2(467, 146)
  31. states/Pull_Idle/node = SubResource("AnimationNodeAnimation_v75yx")
  32. states/Pull_Idle/position = Vector2(263, 58)
  33. states/Pull_Start/node = SubResource("AnimationNodeAnimation_r0yw2")
  34. states/Pull_Start/position = Vector2(467, 58)
  35. states/Start/position = Vector2(142, 61)
  36. transitions = ["Pull_Idle", "Pull_Start", SubResource("AnimationNodeStateMachineTransition_a8bxw"), "Start", "Pull_Idle", SubResource("AnimationNodeStateMachineTransition_ces08"), "Pull_Start", "Pull_End", SubResource("AnimationNodeStateMachineTransition_1uxye"), "Pull_End", "Pull_Start", SubResource("AnimationNodeStateMachineTransition_3c50n"), "Pull_Idle", "Pull_End", SubResource("AnimationNodeStateMachineTransition_w55td")]
  37. graph_offset = Vector2(2, 2)
  38. [sub_resource type="AnimationNodeStateMachinePlayback" id="AnimationNodeStateMachinePlayback_2l3aa"]
  39. [node name="pull_tool_attached" instance=ExtResource("1_oiuab")]
  40. script = ExtResource("2_p3wik")
  41. [node name="Pull_Tool_Attached" parent="Pull_Tool_Attached_Arm/Skeleton3D" index="0"]
  42. surface_material_override/0 = ExtResource("2_b5iso")
  43. [node name="AnimationPlayer" parent="." index="1"]
  44. autoplay = "Pull_Idle"
  45. [node name="AnimationTree" type="AnimationTree" parent="." index="2"]
  46. tree_root = SubResource("AnimationNodeStateMachine_l6tah")
  47. anim_player = NodePath("../AnimationPlayer")
  48. active = true
  49. parameters/playback = SubResource("AnimationNodeStateMachinePlayback_2l3aa")
  50. parameters/conditions/end = false
  51. parameters/conditions/start = false