[gd_scene load_steps=41 format=3 uid="uid://bgoo1lbt28na"] [ext_resource type="PackedScene" uid="uid://bhanbx2dyhv2d" path="res://Models/grape_man.glb" id="1_fh5yr"] [ext_resource type="Script" path="res://Models/grape_man.gd" id="2_ksje8"] [ext_resource type="AudioStream" uid="uid://csboqs15k3vps" path="res://Sounds/dropgrunt.ogg" id="3_c648b"] [ext_resource type="AudioStream" uid="uid://baocyd0p3jcku" path="res://Sounds/pickup_grunt.ogg" id="4_nvurj"] [ext_resource type="AudioStream" uid="uid://b80t5xqckjoqk" path="res://Sounds/heartychuckle.ogg" id="5_b32re"] [ext_resource type="AudioStream" uid="uid://0mhkf1ls1wcn" path="res://Sounds/sadsound.ogg" id="6_qe4bi"] [sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_a0vxm"] filters = ["rig/Skeleton3D:forearm.L", "rig/Skeleton3D:forearm.R", "rig/Skeleton3D:head", "rig/Skeleton3D:upper_arm.L", "rig/Skeleton3D:upper_arm.R"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_s8uqe"] animation = &"UpperBodyIdle" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_4ft7i"] animation = &"Idle" [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_ojr1k"] graph_offset = Vector2(-74, 44) nodes/Add2/node = SubResource("AnimationNodeAdd2_a0vxm") nodes/Add2/position = Vector2(160, 80) nodes/Animation/node = SubResource("AnimationNodeAnimation_4ft7i") nodes/Animation/position = Vector2(0, 80) "nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_s8uqe") "nodes/Animation 2/position" = Vector2(0, 220) node_connections = [&"output", 0, &"Add2", &"Add2", 0, &"Animation", &"Add2", 1, &"Animation 2"] [sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_4gk6k"] filters = ["rig/Skeleton3D:forearm.L", "rig/Skeleton3D:forearm.R", "rig/Skeleton3D:head", "rig/Skeleton3D:upper_arm.L", "rig/Skeleton3D:upper_arm.R"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_alnh1"] animation = &"UpperBodyHolding" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_mbatu"] animation = &"Idle" [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_v72vt"] graph_offset = Vector2(-205.16, 19.99) nodes/Add2/node = SubResource("AnimationNodeAdd2_4gk6k") nodes/Add2/position = Vector2(260, 100) nodes/Animation/node = SubResource("AnimationNodeAnimation_mbatu") nodes/Animation/position = Vector2(60, 100) "nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_alnh1") "nodes/Animation 2/position" = Vector2(20, 220) nodes/output/position = Vector2(460, 140) node_connections = [&"output", 0, &"Add2", &"Add2", 0, &"Animation", &"Add2", 1, &"Animation 2"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_rrdxi"] animation = &"Pickup" [sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_rd6bn"] filters = ["rig/Skeleton3D:forearm.L", "rig/Skeleton3D:forearm.R", "rig/Skeleton3D:head", "rig/Skeleton3D:upper_arm.L", "rig/Skeleton3D:upper_arm.R"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_7s7tg"] animation = &"UpperBodyIdle" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ir63n"] animation = &"Walk" [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_6rmmo"] graph_offset = Vector2(-384.186, 6.2577) nodes/Add2/node = SubResource("AnimationNodeAdd2_rd6bn") nodes/Add2/position = Vector2(140, 80) nodes/Animation/node = SubResource("AnimationNodeAnimation_ir63n") nodes/Animation/position = Vector2(-40, 60) "nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_7s7tg") "nodes/Animation 2/position" = Vector2(-100, 180) node_connections = [&"output", 0, &"Add2", &"Add2", 0, &"Animation", &"Add2", 1, &"Animation 2"] [sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_sv87c"] filters = ["rig/Skeleton3D:forearm.L", "rig/Skeleton3D:forearm.R", "rig/Skeleton3D:head", "rig/Skeleton3D:upper_arm.L", "rig/Skeleton3D:upper_arm.R"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_y7bu0"] animation = &"Walk" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_t2s01"] animation = &"UpperBodyHolding" [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_kalnq"] graph_offset = Vector2(-260.079, -48.5605) nodes/Add2/node = SubResource("AnimationNodeAdd2_sv87c") nodes/Add2/position = Vector2(120, 40) nodes/Animation/node = SubResource("AnimationNodeAnimation_t2s01") nodes/Animation/position = Vector2(-120, 160) "nodes/Animation 2/node" = SubResource("AnimationNodeAnimation_y7bu0") "nodes/Animation 2/position" = Vector2(-70.4947, 47.7517) node_connections = [&"output", 0, &"Add2", &"Add2", 0, &"Animation 2", &"Add2", 1, &"Animation"] [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_8sw6d"] advance_mode = 2 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_71rn8"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_cp7lp"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_27n2r"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_v26jl"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_u0rau"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_1hqga"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_uekhs"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_652wi"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_sdgve"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_otprv"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_fbwhh"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_4rq7a"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_oange"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_et4tx"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_y2dr5"] xfade_time = 0.3 [sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_6mfdu"] states/IdleEmpty/node = SubResource("AnimationNodeBlendTree_ojr1k") states/IdleEmpty/position = Vector2(315, 186) states/IdleHold/node = SubResource("AnimationNodeBlendTree_v72vt") states/IdleHold/position = Vector2(592, 349) states/Pickup/node = SubResource("AnimationNodeAnimation_rrdxi") states/Pickup/position = Vector2(734, 117) states/WalkEmpty/node = SubResource("AnimationNodeBlendTree_6rmmo") states/WalkEmpty/position = Vector2(548, 208) states/WalkHold/node = SubResource("AnimationNodeBlendTree_kalnq") states/WalkHold/position = Vector2(351, 323) transitions = ["Start", "IdleEmpty", SubResource("AnimationNodeStateMachineTransition_8sw6d"), "IdleEmpty", "WalkHold", SubResource("AnimationNodeStateMachineTransition_71rn8"), "WalkHold", "IdleEmpty", SubResource("AnimationNodeStateMachineTransition_cp7lp"), "WalkEmpty", "IdleEmpty", SubResource("AnimationNodeStateMachineTransition_27n2r"), "IdleEmpty", "WalkEmpty", SubResource("AnimationNodeStateMachineTransition_v26jl"), "IdleHold", "WalkHold", SubResource("AnimationNodeStateMachineTransition_u0rau"), "IdleHold", "WalkEmpty", SubResource("AnimationNodeStateMachineTransition_1hqga"), "WalkEmpty", "IdleHold", SubResource("AnimationNodeStateMachineTransition_uekhs"), "WalkHold", "IdleHold", SubResource("AnimationNodeStateMachineTransition_652wi"), "IdleEmpty", "Pickup", SubResource("AnimationNodeStateMachineTransition_sdgve"), "Pickup", "IdleEmpty", SubResource("AnimationNodeStateMachineTransition_otprv"), "IdleEmpty", "IdleHold", SubResource("AnimationNodeStateMachineTransition_fbwhh"), "IdleHold", "IdleEmpty", SubResource("AnimationNodeStateMachineTransition_4rq7a"), "WalkHold", "WalkEmpty", SubResource("AnimationNodeStateMachineTransition_oange"), "WalkEmpty", "WalkHold", SubResource("AnimationNodeStateMachineTransition_et4tx"), "Pickup", "IdleHold", SubResource("AnimationNodeStateMachineTransition_y2dr5")] graph_offset = Vector2(3, 172) [node name="grape_man" instance=ExtResource("1_fh5yr")] transform = Transform3D(0.065, 0, 0, 0, 0.065, 0, 0, 0, 0.065, 0, 0, 0) script = ExtResource("2_ksje8") [node name="Skeleton3D" parent="rig" index="0"] bones/0/rotation = Quaternion(0.103747, 0, 0, 0.994604) bones/1/rotation = Quaternion(-0.0891896, 1.18734e-07, -1.06322e-08, 0.996015) bones/2/rotation = Quaternion(0.0133933, -1.19199e-07, 1.5966e-09, 0.99991) bones/3/rotation = Quaternion(-0.00997737, 0.100365, -0.694951, 0.711948) bones/4/rotation = Quaternion(0.0687327, -0.0343696, -0.655545, 0.751236) bones/4/scale = Vector3(1, 1, 1) bones/5/rotation = Quaternion(-0.00997737, -0.100365, 0.694951, 0.711948) bones/6/rotation = Quaternion(0.0687327, 0.0343696, 0.655545, 0.751236) bones/6/scale = Vector3(1, 1, 1) bones/7/rotation = Quaternion(0.0142813, -6.34259e-18, -4.44044e-16, 0.999898) bones/10/rotation = Quaternion(0.105246, 0.0039338, -0.0113526, 0.994374) bones/15/rotation = Quaternion(0.105246, -0.0039338, 0.0113526, 0.994374) [node name="OmniLight3D" type="OmniLight3D" parent="." index="2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.289473, 8.26292, 4.26359) [node name="AnimationTree" type="AnimationTree" parent="." index="3"] tree_root = SubResource("AnimationNodeStateMachine_6mfdu") anim_player = NodePath("../AnimationPlayer") active = true parameters/IdleEmpty/Add2/add_amount = 1.0 parameters/IdleHold/Add2/add_amount = 1.0 parameters/WalkEmpty/Add2/add_amount = 1.0 parameters/WalkHold/Add2/add_amount = 1.0 [node name="drop" type="AudioStreamPlayer" parent="." index="4"] stream = ExtResource("3_c648b") [node name="pickup" type="AudioStreamPlayer" parent="." index="5"] stream = ExtResource("4_nvurj") [node name="chuckle" type="AudioStreamPlayer" parent="." index="6"] stream = ExtResource("5_b32re") [node name="sad" type="AudioStreamPlayer" parent="." index="7"] stream = ExtResource("6_qe4bi") [node name="woohoo" type="AudioStreamPlayer" parent="." index="8"] stream = ExtResource("6_qe4bi")