2023-08-19 18:18:34 -06:00
|
|
|
[gd_scene load_steps=40 format=3 uid="uid://bgoo1lbt28na"]
|
2023-08-19 01:31:24 -06:00
|
|
|
|
|
|
|
[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"]
|
2023-08-19 18:18:34 -06:00
|
|
|
[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"]
|
2023-08-19 01:31:24 -06:00
|
|
|
|
2023-08-19 14:49:36 -06:00
|
|
|
[sub_resource type="AnimationNodeAdd2" id="AnimationNodeAdd2_a0vxm"]
|
2023-08-19 23:07:52 -06:00
|
|
|
filter_enabled = true
|
2023-08-19 14:49:36 -06:00
|
|
|
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"]
|
2023-08-19 23:07:52 -06:00
|
|
|
graph_offset = Vector2(-312, -69)
|
2023-08-19 14:49:36 -06:00
|
|
|
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"]
|
2023-08-19 23:07:52 -06:00
|
|
|
filter_enabled = true
|
2023-08-19 14:49:36 -06:00
|
|
|
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"]
|
2023-08-19 23:07:52 -06:00
|
|
|
filter_enabled = true
|
2023-08-19 14:49:36 -06:00
|
|
|
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"]
|
2023-08-19 23:07:52 -06:00
|
|
|
graph_offset = Vector2(-358.186, -79.7423)
|
2023-08-19 14:49:36 -06:00
|
|
|
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"]
|
2023-08-19 23:07:52 -06:00
|
|
|
filter_enabled = true
|
2023-08-19 14:49:36 -06:00
|
|
|
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")
|
2023-08-19 15:42:56 -06:00
|
|
|
states/Pickup/position = Vector2(734, 117)
|
2023-08-19 14:49:36 -06:00
|
|
|
states/WalkEmpty/node = SubResource("AnimationNodeBlendTree_6rmmo")
|
2023-08-19 15:42:56 -06:00
|
|
|
states/WalkEmpty/position = Vector2(548, 208)
|
2023-08-19 14:49:36 -06:00
|
|
|
states/WalkHold/node = SubResource("AnimationNodeBlendTree_kalnq")
|
|
|
|
states/WalkHold/position = Vector2(351, 323)
|
2023-08-19 15:42:56 -06:00
|
|
|
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")]
|
2023-08-19 23:07:52 -06:00
|
|
|
graph_offset = Vector2(26, 89)
|
2023-08-19 14:49:36 -06:00
|
|
|
|
2023-08-19 01:31:24 -06:00
|
|
|
[node name="grape_man" instance=ExtResource("1_fh5yr")]
|
2023-08-19 11:06:05 -06:00
|
|
|
transform = Transform3D(0.065, 0, 0, 0, 0.065, 0, 0, 0, 0.065, 0, 0, 0)
|
2023-08-19 01:31:24 -06:00
|
|
|
script = ExtResource("2_ksje8")
|
|
|
|
|
|
|
|
[node name="Skeleton3D" parent="rig" index="0"]
|
2023-08-19 23:07:52 -06:00
|
|
|
bones/0/rotation = Quaternion(0.0890031, 0, 0, 0.996031)
|
2023-08-19 14:49:36 -06:00
|
|
|
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)
|
2023-08-19 12:27:23 -06:00
|
|
|
bones/4/rotation = Quaternion(0.0687327, -0.0343696, -0.655545, 0.751236)
|
2023-08-19 14:49:36 -06:00
|
|
|
bones/4/scale = Vector3(1, 1, 1)
|
|
|
|
bones/5/rotation = Quaternion(-0.00997737, -0.100365, 0.694951, 0.711948)
|
2023-08-19 12:27:23 -06:00
|
|
|
bones/6/rotation = Quaternion(0.0687327, 0.0343696, 0.655545, 0.751236)
|
2023-08-19 14:49:36 -06:00
|
|
|
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)
|
2023-08-19 01:31:24 -06:00
|
|
|
|
2023-08-19 20:18:07 -06:00
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="." index="2"]
|
2023-08-19 10:45:09 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.289473, 8.26292, 4.26359)
|
2023-08-19 14:49:36 -06:00
|
|
|
|
2023-08-19 20:18:07 -06:00
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." index="3"]
|
2023-08-19 14:49:36 -06:00
|
|
|
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
|
2023-08-19 18:18:34 -06:00
|
|
|
|
2023-08-19 20:18:07 -06:00
|
|
|
[node name="drop" type="AudioStreamPlayer" parent="." index="4"]
|
2023-08-19 18:18:34 -06:00
|
|
|
stream = ExtResource("3_c648b")
|
|
|
|
|
2023-08-19 20:18:07 -06:00
|
|
|
[node name="pickup" type="AudioStreamPlayer" parent="." index="5"]
|
2023-08-19 18:18:34 -06:00
|
|
|
stream = ExtResource("4_nvurj")
|
|
|
|
|
2023-08-19 20:18:07 -06:00
|
|
|
[node name="chuckle" type="AudioStreamPlayer" parent="." index="6"]
|
2023-08-19 18:18:34 -06:00
|
|
|
stream = ExtResource("5_b32re")
|