[gd_scene load_steps=34 format=3 uid="uid://h71bqvvu0lcn"] [ext_resource type="PackedScene" uid="uid://cvn48xcmsmkrb" path="res://game/zones/zone_base.tscn" id="1_30op8"] [ext_resource type="Material" uid="uid://cqs6que52ytcg" path="res://assets/prototype_materials/dry_grass.tres" id="2_2nr20"] [ext_resource type="Environment" uid="uid://er867l7dl10j" path="res://default_env.tres" id="2_a5ktn"] [ext_resource type="Script" path="res://components/helpers/scatter.gd" id="3_dvyu5"] [ext_resource type="Resource" uid="uid://cpugbtukttkfj" path="res://game/zones/house_back_yard/house_back_yard_zone_info.tres" id="3_m4v83"] [ext_resource type="Material" uid="uid://c386ygo86nqfc" path="res://assets/prototype_materials/wood_brown.tres" id="4_j3su2"] [ext_resource type="Material" uid="uid://b1o2xnr4gi6r4" path="res://assets/prototype_materials/sandstone.tres" id="5_gh4so"] [ext_resource type="Material" uid="uid://cjylinr1vdjcw" path="res://assets/prototype_materials/dark_brown.tres" id="5_goc1s"] [ext_resource type="PackedScene" uid="uid://vm423o6hdlya" path="res://components/helpers/zone_switch_area.tscn" id="6_tlcot"] [ext_resource type="PackedScene" uid="uid://chch4r7wddwdj" path="res://game/objects/storage/storage_box.tscn" id="10_20abo"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_o8xit"] animation = &"Grip" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ajt4g"] animation = &"Grip" [sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_2beyu"] filter_enabled = true filters = ["Armature/Skeleton3D:Little_Distal_L", "Armature/Skeleton3D:Little_Intermediate_L", "Armature/Skeleton3D:Little_Metacarpal_L", "Armature/Skeleton3D:Little_Proximal_L", "Armature/Skeleton3D:Middle_Distal_L", "Armature/Skeleton3D:Middle_Intermediate_L", "Armature/Skeleton3D:Middle_Metacarpal_L", "Armature/Skeleton3D:Middle_Proximal_L", "Armature/Skeleton3D:Ring_Distal_L", "Armature/Skeleton3D:Ring_Intermediate_L", "Armature/Skeleton3D:Ring_Metacarpal_L", "Armature/Skeleton3D:Ring_Proximal_L", "Armature/Skeleton3D:Thumb_Distal_L", "Armature/Skeleton3D:Thumb_Metacarpal_L", "Armature/Skeleton3D:Thumb_Proximal_L", "Armature/Skeleton:Little_Distal_L", "Armature/Skeleton:Little_Intermediate_L", "Armature/Skeleton:Little_Proximal_L", "Armature/Skeleton:Middle_Distal_L", "Armature/Skeleton:Middle_Intermediate_L", "Armature/Skeleton:Middle_Proximal_L", "Armature/Skeleton:Ring_Distal_L", "Armature/Skeleton:Ring_Intermediate_L", "Armature/Skeleton:Ring_Proximal_L", "Armature/Skeleton:Thumb_Distal_L", "Armature/Skeleton:Thumb_Proximal_L"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_030p5"] animation = &"Grip 5" [sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_acps2"] filter_enabled = true filters = ["Armature/Skeleton3D:Index_Distal_L", "Armature/Skeleton3D:Index_Intermediate_L", "Armature/Skeleton3D:Index_Metacarpal_L", "Armature/Skeleton3D:Index_Proximal_L", "Armature/Skeleton:Index_Distal_L", "Armature/Skeleton:Index_Intermediate_L", "Armature/Skeleton:Index_Proximal_L"] [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_b0o74"] graph_offset = Vector2(-536, 11) nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_o8xit") nodes/ClosedHand1/position = Vector2(-600, 300) nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_ajt4g") nodes/ClosedHand2/position = Vector2(-360, 300) nodes/Grip/node = SubResource("AnimationNodeBlend2_2beyu") nodes/Grip/position = Vector2(0, 20) nodes/OpenHand/node = SubResource("AnimationNodeAnimation_030p5") nodes/OpenHand/position = Vector2(-600, 100) nodes/Trigger/node = SubResource("AnimationNodeBlend2_acps2") nodes/Trigger/position = Vector2(-360, 20) node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_6bs3a"] animation = &"Grip" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_fol2p"] animation = &"Grip" [sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_rlq5j"] filter_enabled = true filters = ["Armature/Skeleton3D:Little_Distal_R", "Armature/Skeleton3D:Little_Intermediate_R", "Armature/Skeleton3D:Little_Metacarpal_R", "Armature/Skeleton3D:Little_Proximal_R", "Armature/Skeleton3D:Middle_Distal_R", "Armature/Skeleton3D:Middle_Intermediate_R", "Armature/Skeleton3D:Middle_Metacarpal_R", "Armature/Skeleton3D:Middle_Proximal_R", "Armature/Skeleton3D:Ring_Distal_R", "Armature/Skeleton3D:Ring_Intermediate_R", "Armature/Skeleton3D:Ring_Metacarpal_R", "Armature/Skeleton3D:Ring_Proximal_R", "Armature/Skeleton3D:Thumb_Distal_R", "Armature/Skeleton3D:Thumb_Metacarpal_R", "Armature/Skeleton3D:Thumb_Proximal_R", "Armature/Skeleton:Little_Distal_R", "Armature/Skeleton:Little_Intermediate_R", "Armature/Skeleton:Little_Proximal_R", "Armature/Skeleton:Middle_Distal_R", "Armature/Skeleton:Middle_Intermediate_R", "Armature/Skeleton:Middle_Proximal_R", "Armature/Skeleton:Ring_Distal_R", "Armature/Skeleton:Ring_Intermediate_R", "Armature/Skeleton:Ring_Proximal_R", "Armature/Skeleton:Thumb_Distal_R", "Armature/Skeleton:Thumb_Proximal_R"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_6rona"] animation = &"Grip 5" [sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_4yg54"] filter_enabled = true filters = ["Armature/Skeleton3D:Index_Distal_R", "Armature/Skeleton3D:Index_Intermediate_R", "Armature/Skeleton3D:Index_Metacarpal_R", "Armature/Skeleton3D:Index_Proximal_R", "Armature/Skeleton:Index_Distal_R", "Armature/Skeleton:Index_Intermediate_R", "Armature/Skeleton:Index_Proximal_R"] [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_d5g1d"] graph_offset = Vector2(-552.664, 107.301) nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_6bs3a") nodes/ClosedHand1/position = Vector2(-600, 300) nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_fol2p") nodes/ClosedHand2/position = Vector2(-360, 300) nodes/Grip/node = SubResource("AnimationNodeBlend2_rlq5j") nodes/Grip/position = Vector2(0, 40) nodes/OpenHand/node = SubResource("AnimationNodeAnimation_6rona") nodes/OpenHand/position = Vector2(-600, 100) nodes/Trigger/node = SubResource("AnimationNodeBlend2_4yg54") nodes/Trigger/position = Vector2(-360, 40) node_connections = [&"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1", &"output", 0, &"Grip"] [sub_resource type="QuadMesh" id="QuadMesh_tg51c"] material = ExtResource("2_2nr20") size = Vector2(20, 20) [sub_resource type="BoxShape3D" id="BoxShape3D_uk6lx"] size = Vector3(20, 1, 20) [sub_resource type="QuadMesh" id="QuadMesh_iva63"] material = ExtResource("2_2nr20") size = Vector2(20, 4) [sub_resource type="BoxShape3D" id="BoxShape3D_db0th"] size = Vector3(20, 4, 1) [sub_resource type="SphereMesh" id="SphereMesh_mdvnb"] material = ExtResource("5_gh4so") radius = 2.0 height = 3.0 radial_segments = 7 rings = 4 [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_on5hg"] points = PackedVector3Array(-0.82556, -0.463684, -1.71374, -0.82556, 0.463391, -1.71374, 0.825197, -0.463684, -1.71374, -0.510075, -1.21368, -1.05931, -1.14613, -1.21368, -0.26188, -1.85442, -0.463684, -0.423277, -0.510075, 1.21339, -1.05931, 0.825197, 0.463391, -1.71374, -1.85442, 0.463391, -0.423277, -1.14613, 1.21339, -0.26188, 1.85442, 0.463391, -0.423277, 1.85406, -0.463684, -0.423277, 1.14576, -1.21368, -0.26188, 0.509712, -1.21368, -1.05931, 0, -1.5, -0.000317931, -1.48739, -0.463684, 1.18574, -0.919225, -1.21368, 0.732693, 0, 1.5, -0.000317931, 0.509712, 1.21339, -1.05931, 1.14576, 1.21339, -0.26188, -1.48739, 0.463391, 1.18574, -0.919225, 1.21339, 0.732693, 0.918862, 1.21339, 0.732693, 1.48702, 0.463391, 1.18574, 1.48702, -0.463684, 1.18574, 0.918862, -1.21368, 0.732693, 0, -1.21368, 1.17547, 0, -0.463684, 1.90176, 0, 0.463391, 1.90211, 0, 1.21339, 1.17547) [sub_resource type="QuadMesh" id="QuadMesh_lmjaa"] size = Vector2(0.02, 0.1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k6snm"] cull_mode = 2 albedo_color = Color(0.619608, 0.635294, 0.419608, 1) [sub_resource type="BoxMesh" id="BoxMesh_tq4y1"] material = ExtResource("5_goc1s") size = Vector3(1, 3, 0.2) [sub_resource type="BoxShape3D" id="BoxShape3D_dvkw1"] size = Vector3(1, 3, 0.1) [sub_resource type="BoxShape3D" id="BoxShape3D_g8b71"] size = Vector3(1, 3, 0.2) [node name="HouseBackYard" instance=ExtResource("1_30op8")] zone_info = ExtResource("3_m4v83") [node name="Skeleton3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature" index="0"] bones/1/rotation = Quaternion(0.323537, -2.56577e-05, -0.0272204, 0.945824) bones/2/rotation = Quaternion(-0.0904441, -0.0415175, -0.166293, 0.981042) bones/3/rotation = Quaternion(-0.0466199, 0.020971, 0.0103276, 0.998639) bones/5/rotation = Quaternion(-0.00128455, -0.0116081, -0.0168259, 0.99979) bones/6/rotation = Quaternion(0.102925, -0.00993208, -0.00794417, 0.994608) bones/7/rotation = Quaternion(-0.012859, -0.0236108, -0.323258, 0.945929) bones/8/rotation = Quaternion(0.0120575, -0.00929194, -0.247472, 0.968775) bones/10/rotation = Quaternion(-0.0357539, -0.000400032, 0.00636764, 0.99934) bones/11/rotation = Quaternion(-0.00264964, -0.00114471, -0.125992, 0.992027) bones/12/rotation = Quaternion(0.0394225, 0.00193393, -0.228074, 0.972843) bones/13/rotation = Quaternion(-0.0123395, -0.00881294, -0.280669, 0.959685) bones/15/rotation = Quaternion(-0.0702656, 0.0101908, -0.0243307, 0.99718) bones/16/rotation = Quaternion(-0.0320634, -0.00223624, -0.0686366, 0.997124) bones/17/rotation = Quaternion(0.0253452, 0.00812462, -0.249005, 0.968136) bones/18/rotation = Quaternion(0.00252232, 0.00788073, -0.243204, 0.96994) bones/20/rotation = Quaternion(-0.0917369, 0.0203027, -0.010183, 0.995524) bones/21/rotation = Quaternion(-0.0625182, -0.00022572, -0.115393, 0.991351) bones/22/rotation = Quaternion(0.0585786, 0.0216483, -0.269905, 0.96086) bones/23/rotation = Quaternion(0.00687177, -0.00357275, -0.211953, 0.977249) [node name="BoneAttachment3D" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L/Armature/Skeleton3D" index="1"] transform = Transform3D(0.54083, 0.840813, -0.0231736, -0.0826267, 0.0805243, 0.993322, 0.837064, -0.535303, 0.113023, 0.039902, 0.0402828, -0.150096) [node name="AnimationTree" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand" index="1"] tree_root = SubResource("AnimationNodeBlendTree_b0o74") [node name="Skeleton3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature" index="0"] bones/1/rotation = Quaternion(0.323537, 2.56577e-05, 0.0272204, 0.945824) bones/2/rotation = Quaternion(-0.0904441, 0.0415175, 0.166293, 0.981042) bones/3/rotation = Quaternion(-0.0466199, -0.020971, -0.0103276, 0.998639) bones/5/rotation = Quaternion(-0.00128455, 0.0116081, 0.0168259, 0.99979) bones/6/rotation = Quaternion(0.102925, 0.00993208, 0.00794419, 0.994608) bones/7/rotation = Quaternion(-0.012859, 0.0236108, 0.323258, 0.945929) bones/8/rotation = Quaternion(0.0120575, 0.00929193, 0.247472, 0.968775) bones/10/rotation = Quaternion(-0.0357539, 0.000400032, -0.00636763, 0.99934) bones/11/rotation = Quaternion(-0.00264964, 0.00114471, 0.125992, 0.992027) bones/12/rotation = Quaternion(0.0394225, -0.00193393, 0.228074, 0.972843) bones/13/rotation = Quaternion(-0.0123395, 0.00881294, 0.280669, 0.959685) bones/15/rotation = Quaternion(-0.0702656, -0.0101908, 0.0243307, 0.99718) bones/16/rotation = Quaternion(-0.0320634, 0.00223624, 0.0686366, 0.997124) bones/17/rotation = Quaternion(0.0253452, -0.00812462, 0.249005, 0.968136) bones/18/rotation = Quaternion(0.00252233, -0.00788073, 0.243204, 0.96994) bones/20/rotation = Quaternion(-0.0917369, -0.0203027, 0.010183, 0.995524) bones/21/rotation = Quaternion(-0.0625182, 0.000225721, 0.115393, 0.991351) bones/22/rotation = Quaternion(0.0585786, -0.0216483, 0.269905, 0.96086) bones/23/rotation = Quaternion(0.00687177, 0.00357275, 0.211953, 0.977249) [node name="BoneAttachment3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature/Skeleton3D" index="1"] transform = Transform3D(0.540829, -0.840813, 0.0231736, 0.0826268, 0.0805242, 0.993322, -0.837064, -0.535303, 0.113024, -0.039902, 0.0402828, -0.150096) [node name="AnimationTree" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand" index="1"] tree_root = SubResource("AnimationNodeBlendTree_d5g1d") [node name="World" type="Node3D" parent="." index="1"] [node name="WorldEnvironment" type="WorldEnvironment" parent="World" index="0"] environment = ExtResource("2_a5ktn") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="World" index="1"] transform = Transform3D(-0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, 0.5, -0.5, 0, 8, 0) [node name="Ground" type="StaticBody3D" parent="World" index="2"] [node name="MeshInstance3D" type="MeshInstance3D" parent="World/Ground" index="0"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) mesh = SubResource("QuadMesh_tg51c") [node name="CollisionShape3D" type="CollisionShape3D" parent="World/Ground" index="1"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) shape = SubResource("BoxShape3D_uk6lx") [node name="Boundary1" type="StaticBody3D" parent="World" index="3"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -10) [node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary1" index="0"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) mesh = SubResource("QuadMesh_iva63") [node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary1" index="1"] shape = SubResource("BoxShape3D_db0th") [node name="Boundary2" type="StaticBody3D" parent="World" index="4"] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 10, 2, 0) [node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary2" index="0"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) mesh = SubResource("QuadMesh_iva63") [node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary2" index="1"] shape = SubResource("BoxShape3D_db0th") [node name="Boundary3" type="StaticBody3D" parent="World" index="5"] transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 2, 10) [node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary3" index="0"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) mesh = SubResource("QuadMesh_iva63") [node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary3" index="1"] shape = SubResource("BoxShape3D_db0th") [node name="Boundary4" type="StaticBody3D" parent="World" index="6"] transform = Transform3D(1.31134e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134e-07, -10, 2, 0) [node name="MeshInstance3D" type="MeshInstance3D" parent="World/Boundary4" index="0"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.5) mesh = SubResource("QuadMesh_iva63") [node name="CollisionShape3D" type="CollisionShape3D" parent="World/Boundary4" index="1"] shape = SubResource("BoxShape3D_db0th") [node name="Stone1" type="StaticBody3D" parent="World" index="7"] transform = Transform3D(0.965926, -0.258819, 0, 0.25, 0.933013, 0.258819, -0.0669873, -0.25, 0.965926, -7, -0.2, -7) [node name="MeshInstance3D" type="MeshInstance3D" parent="World/Stone1" index="0"] mesh = SubResource("SphereMesh_mdvnb") [node name="CollisionShape3D" type="CollisionShape3D" parent="World/Stone1" index="1"] shape = SubResource("ConvexPolygonShape3D_on5hg") [node name="Stone2" type="StaticBody3D" parent="World" index="8"] transform = Transform3D(-0.0669873, -0.25, 0.965926, 0.25, 0.933013, 0.258819, -0.965926, 0.258819, -4.60787e-08, 7, -0.6, -7) [node name="MeshInstance3D" type="MeshInstance3D" parent="World/Stone2" index="0"] mesh = SubResource("SphereMesh_mdvnb") [node name="CollisionShape3D" type="CollisionShape3D" parent="World/Stone2" index="1"] shape = SubResource("ConvexPolygonShape3D_on5hg") [node name="Grass1" type="Node3D" parent="World" index="9"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0) script = ExtResource("3_dvyu5") extend = Vector3(10, 0, 10) instance_count = 3000 mesh = SubResource("QuadMesh_lmjaa") material_override = SubResource("StandardMaterial3D_k6snm") [node name="HouseEntrance" type="Node3D" parent="." index="2"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 8.6) [node name="Exterior" type="CSGPolygon3D" parent="HouseEntrance" index="0"] use_collision = true polygon = PackedVector2Array(-3, 0, -3, 3, 0, 5, 3, 3, 3, 0, 0.5, 0, 0.5, 3, -0.5, 3, -0.5, 0) material = ExtResource("4_j3su2") [node name="Door" type="StaticBody3D" parent="HouseEntrance" index="1"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, -0.5) [node name="MeshInstance3D" type="MeshInstance3D" parent="HouseEntrance/Door" index="0"] mesh = SubResource("BoxMesh_tq4y1") [node name="CollisionShape3D" type="CollisionShape3D" parent="HouseEntrance/Door" index="1"] shape = SubResource("BoxShape3D_dvkw1") [node name="EnterHouse" parent="." index="3" instance=ExtResource("6_tlcot")] zone_scene = "res://game/zones/house_interior/house_interior_zone.tscn" spawn_node_name = "FromBackYard" [node name="CollisionShape3D" type="CollisionShape3D" parent="EnterHouse" index="0"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 8.7) shape = SubResource("BoxShape3D_g8b71") [node name="FromHouseInterior" type="Marker3D" parent="." index="4"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 7.6) [node name="StorageBox" parent="." index="5" instance=ExtResource("10_20abo")] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 4, 0, 9) [editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand"] [editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L"] [editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand"] [editable path="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R"]