grinding_tool_attached.tscn 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [gd_scene load_steps=11 format=3 uid="uid://m38l4lmo1t7p"]
  2. [ext_resource type="PackedScene" uid="uid://dk4bn1g4rpdnl" path="res://entities/player/playertools/grinding_tool_attached.glb" id="1_nfa00"]
  3. [ext_resource type="Material" uid="uid://st2d73wbhj7" path="res://entities/objects/tools/PlayerTools01.material" id="2_gkb3i"]
  4. [ext_resource type="AudioStream" uid="uid://cdxsvyod6itnt" path="res://sfx/ncl_grinding.ogg" id="3_oheow"]
  5. [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_7wsos"]
  6. animation = &"GR_Idle"
  7. [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_hntq5"]
  8. animation = &"GR"
  9. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_pxiby"]
  10. advance_mode = 2
  11. advance_condition = &"start"
  12. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_48vmn"]
  13. advance_mode = 2
  14. advance_condition = &"start"
  15. [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_81rte"]
  16. switch_mode = 2
  17. advance_mode = 2
  18. [sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_b5vn0"]
  19. states/GR_Idle/node = SubResource("AnimationNodeAnimation_7wsos")
  20. states/GR_Idle/position = Vector2(491, 52)
  21. states/GR_Loop/node = SubResource("AnimationNodeAnimation_hntq5")
  22. states/GR_Loop/position = Vector2(466, 129)
  23. transitions = ["Start", "GR_Idle", SubResource("AnimationNodeStateMachineTransition_pxiby"), "GR_Idle", "GR_Loop", SubResource("AnimationNodeStateMachineTransition_48vmn"), "GR_Loop", "GR_Idle", SubResource("AnimationNodeStateMachineTransition_81rte")]
  24. graph_offset = Vector2(88, -29)
  25. [sub_resource type="AnimationNodeStateMachinePlayback" id="AnimationNodeStateMachinePlayback_mtfgb"]
  26. [node name="grinding_tool_attached" instance=ExtResource("1_nfa00")]
  27. [node name="Skeleton3D" parent="Grinding_Tool_Attached_Arm" index="0"]
  28. bones/1/rotation = Quaternion(0.5, 0.5, -0.5, -0.5)
  29. bones/2/rotation = Quaternion(0.5, -0.5, 0.5, -0.5)
  30. [node name="Grinding_Tool_Attached" parent="Grinding_Tool_Attached_Arm/Skeleton3D" index="0"]
  31. surface_material_override/0 = ExtResource("2_gkb3i")
  32. [node name="AnimationPlayer" parent="." index="1"]
  33. autoplay = "GR_Idle"
  34. [node name="AnimationTree" type="AnimationTree" parent="." index="2"]
  35. tree_root = SubResource("AnimationNodeStateMachine_b5vn0")
  36. anim_player = NodePath("../AnimationPlayer")
  37. active = true
  38. parameters/playback = SubResource("AnimationNodeStateMachinePlayback_mtfgb")
  39. parameters/conditions/start = false
  40. [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." index="3"]
  41. stream = ExtResource("3_oheow")
  42. attenuation_model = 3
  43. volume_db = -1.608