|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
[gd_scene load_steps=27 format=3 uid="uid://cjat5u6nsihgw"]
|
|
|
|
|
[gd_scene load_steps=28 format=3 uid="uid://cjat5u6nsihgw"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvn48xcmsmkrb" path="res://game/zones/zone_base.tscn" id="1_sk0kv"]
|
|
|
|
|
[ext_resource type="Material" uid="uid://csepeix2yvih" path="res://assets/prototype_materials/grass.tres" id="2_uryyw"]
|
|
|
|
@@ -8,72 +8,75 @@
|
|
|
|
|
[ext_resource type="Environment" uid="uid://er867l7dl10j" path="res://default_env.tres" id="8_82q6b"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://elfxvp7ojn1s" path="res://game/zones/outside/extinguishers.gd" id="8_cuabg"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bhdq6md7l8avi" path="res://assets/psx-fire-extinguisher/source/extinguisher_model.tscn" id="9_twjr1"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bn6uprm55d3tt" path="res://game/game_state.tscn" id="10_7d1xl"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_cuabg"]
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_61qgm"]
|
|
|
|
|
animation = &"Grip"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_j0qyq"]
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_7d1xl"]
|
|
|
|
|
animation = &"Grip"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_2oy5v"]
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_cuabg"]
|
|
|
|
|
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_vljgg"]
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_j0qyq"]
|
|
|
|
|
animation = &"Grip 5"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_tk2pl"]
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_2oy5v"]
|
|
|
|
|
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_twjr1"]
|
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_vljgg"]
|
|
|
|
|
graph_offset = Vector2(-536, 11)
|
|
|
|
|
nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_cuabg")
|
|
|
|
|
nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_61qgm")
|
|
|
|
|
nodes/ClosedHand1/position = Vector2(-600, 300)
|
|
|
|
|
nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_j0qyq")
|
|
|
|
|
nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_7d1xl")
|
|
|
|
|
nodes/ClosedHand2/position = Vector2(-360, 300)
|
|
|
|
|
nodes/Grip/node = SubResource("AnimationNodeBlend2_2oy5v")
|
|
|
|
|
nodes/Grip/node = SubResource("AnimationNodeBlend2_cuabg")
|
|
|
|
|
nodes/Grip/position = Vector2(0, 20)
|
|
|
|
|
nodes/OpenHand/node = SubResource("AnimationNodeAnimation_vljgg")
|
|
|
|
|
nodes/OpenHand/node = SubResource("AnimationNodeAnimation_j0qyq")
|
|
|
|
|
nodes/OpenHand/position = Vector2(-600, 100)
|
|
|
|
|
nodes/Trigger/node = SubResource("AnimationNodeBlend2_tk2pl")
|
|
|
|
|
nodes/Trigger/node = SubResource("AnimationNodeBlend2_2oy5v")
|
|
|
|
|
nodes/Trigger/position = Vector2(-360, 20)
|
|
|
|
|
node_connections = [&"output", 0, &"Grip", &"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_u7c0g"]
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_tk2pl"]
|
|
|
|
|
animation = &"Grip"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_gfaum"]
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_twjr1"]
|
|
|
|
|
animation = &"Grip"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_mpg1a"]
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_u7c0g"]
|
|
|
|
|
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_airyt"]
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_gfaum"]
|
|
|
|
|
animation = &"Grip 5"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_qeajv"]
|
|
|
|
|
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_mpg1a"]
|
|
|
|
|
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_rejpy"]
|
|
|
|
|
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_airyt"]
|
|
|
|
|
graph_offset = Vector2(-552.664, 107.301)
|
|
|
|
|
nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_u7c0g")
|
|
|
|
|
nodes/ClosedHand1/node = SubResource("AnimationNodeAnimation_tk2pl")
|
|
|
|
|
nodes/ClosedHand1/position = Vector2(-600, 300)
|
|
|
|
|
nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_gfaum")
|
|
|
|
|
nodes/ClosedHand2/node = SubResource("AnimationNodeAnimation_twjr1")
|
|
|
|
|
nodes/ClosedHand2/position = Vector2(-360, 300)
|
|
|
|
|
nodes/Grip/node = SubResource("AnimationNodeBlend2_mpg1a")
|
|
|
|
|
nodes/Grip/node = SubResource("AnimationNodeBlend2_u7c0g")
|
|
|
|
|
nodes/Grip/position = Vector2(0, 40)
|
|
|
|
|
nodes/OpenHand/node = SubResource("AnimationNodeAnimation_airyt")
|
|
|
|
|
nodes/OpenHand/node = SubResource("AnimationNodeAnimation_gfaum")
|
|
|
|
|
nodes/OpenHand/position = Vector2(-600, 100)
|
|
|
|
|
nodes/Trigger/node = SubResource("AnimationNodeBlend2_qeajv")
|
|
|
|
|
nodes/Trigger/node = SubResource("AnimationNodeBlend2_mpg1a")
|
|
|
|
|
nodes/Trigger/position = Vector2(-360, 40)
|
|
|
|
|
node_connections = [&"output", 0, &"Grip", &"Grip", 0, &"Trigger", &"Grip", 1, &"ClosedHand2", &"Trigger", 0, &"OpenHand", &"Trigger", 1, &"ClosedHand1"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_0144s"]
|
|
|
|
|
material = ExtResource("2_uryyw")
|
|
|
|
|
flip_faces = true
|
|
|
|
|
size = Vector2(20, 20)
|
|
|
|
|
orientation = 1
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ivc2m"]
|
|
|
|
|
size = Vector3(20, 1, 20)
|
|
|
|
@@ -124,9 +127,11 @@ transform = Transform3D(0.5408296, 0.8408128, -0.023173608, -0.08262672, 0.08052
|
|
|
|
|
|
|
|
|
|
[node name="AnimationTree" parent="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand" index="1"]
|
|
|
|
|
root_node = NodePath("../Hand_Nails_low_L")
|
|
|
|
|
tree_root = SubResource("AnimationNodeBlendTree_twjr1")
|
|
|
|
|
tree_root = SubResource("AnimationNodeBlendTree_vljgg")
|
|
|
|
|
|
|
|
|
|
[node name="WristUI" parent="XROrigin3D/LeftHand/CollisionHandLeft" index="7"]
|
|
|
|
|
alpha_scissor_threshold = 0.25
|
|
|
|
|
filter = true
|
|
|
|
|
scene_properties_keys = PackedStringArray("zone_wrist_ui.gd")
|
|
|
|
|
|
|
|
|
|
[node name="Skeleton3D" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand/Hand_Nails_low_R/Armature" index="0"]
|
|
|
|
@@ -155,7 +160,7 @@ transform = Transform3D(0.5408295, -0.8408129, 0.023173586, 0.08262676, 0.080524
|
|
|
|
|
|
|
|
|
|
[node name="AnimationTree" parent="XROrigin3D/RightHand/CollisionHandRight/RightHand" index="1"]
|
|
|
|
|
root_node = NodePath("../Hand_Nails_low_R")
|
|
|
|
|
tree_root = SubResource("AnimationNodeBlendTree_rejpy")
|
|
|
|
|
tree_root = SubResource("AnimationNodeBlendTree_airyt")
|
|
|
|
|
|
|
|
|
|
[node name="LeftPocket" parent="XROrigin3D/PlayerBody" index="0"]
|
|
|
|
|
visible = false
|
|
|
|
@@ -172,9 +177,10 @@ environment = ExtResource("8_82q6b")
|
|
|
|
|
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"]
|
|
|
|
|
transform = Transform3D(3.7236218, 0, 0, 0, 1, 0, 0, 0, 2.4912121, 0, 0, 0)
|
|
|
|
|
|
|
|
|
|
[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)
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -1, 8.742278e-08, 0, -8.742278e-08, -1, 0, 0, 0)
|
|
|
|
|
mesh = SubResource("QuadMesh_0144s")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Ground" index="1"]
|
|
|
|
@@ -182,7 +188,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
|
|
|
|
shape = SubResource("BoxShape3D_ivc2m")
|
|
|
|
|
|
|
|
|
|
[node name="Boundary1" type="StaticBody3D" parent="World" index="3"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -10)
|
|
|
|
|
transform = Transform3D(3.7236218, 0, 0, 0, 1, 0, 0, 0, 2.4912121, 0, 2, -24.91212)
|
|
|
|
|
|
|
|
|
|
[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)
|
|
|
|
@@ -192,7 +198,7 @@ mesh = SubResource("QuadMesh_mq77n")
|
|
|
|
|
shape = SubResource("BoxShape3D_cvifd")
|
|
|
|
|
|
|
|
|
|
[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)
|
|
|
|
|
transform = Transform3D(1.0816557e-07, 0, -3.7236223, 0, 1, 0, -2.4745393, 0, -1.6276474e-07, 37.236217, 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)
|
|
|
|
@@ -202,7 +208,7 @@ mesh = SubResource("QuadMesh_mq77n")
|
|
|
|
|
shape = SubResource("BoxShape3D_cvifd")
|
|
|
|
|
|
|
|
|
|
[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)
|
|
|
|
|
transform = Transform3D(-3.723622, 0, 2.1778871e-07, 0, 1, 0, -3.2552947e-07, 0, -2.491212, 0, 2, 24.91212)
|
|
|
|
|
|
|
|
|
|
[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)
|
|
|
|
@@ -212,7 +218,7 @@ mesh = SubResource("QuadMesh_mq77n")
|
|
|
|
|
shape = SubResource("BoxShape3D_cvifd")
|
|
|
|
|
|
|
|
|
|
[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)
|
|
|
|
|
transform = Transform3D(-3.2449609e-07, 0, 3.7236238, 0, 1, 0, 2.474538, 0, 4.8829367e-07, -37.236217, 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)
|
|
|
|
@@ -222,7 +228,7 @@ mesh = SubResource("QuadMesh_mq77n")
|
|
|
|
|
shape = SubResource("BoxShape3D_cvifd")
|
|
|
|
|
|
|
|
|
|
[node name="Grass1" type="Node3D" parent="World" index="7"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.0414963, 0.05, 0)
|
|
|
|
|
script = ExtResource("4_v2d8i")
|
|
|
|
|
extend = Vector3(10, 0, 10)
|
|
|
|
|
instance_count = 3000
|
|
|
|
@@ -230,11 +236,15 @@ mesh = SubResource("QuadMesh_pt6e2")
|
|
|
|
|
material_override = SubResource("StandardMaterial3D_srm7c")
|
|
|
|
|
|
|
|
|
|
[node name="extinguishers" type="Node3D" parent="World" index="8"]
|
|
|
|
|
transform = Transform3D(0.38699996, 1.8626451e-09, 0, -1.8626451e-09, 0.387, -1.8626451e-09, 1.4901161e-08, -9.313226e-10, 0.38699996, 0, 0.06884384, -2.2083645)
|
|
|
|
|
transform = Transform3D(1, 4.813037e-09, -3.8504297e-08, -4.813037e-09, 1, 2.4065188e-09, 3.8504297e-08, -2.4065185e-09, 1, 0, 0.06884384, -2.2083645)
|
|
|
|
|
script = ExtResource("8_cuabg")
|
|
|
|
|
|
|
|
|
|
[node name="extinguisher_model" parent="World/extinguishers" index="0" instance=ExtResource("9_twjr1")]
|
|
|
|
|
transform = Transform3D(0.78, -3.754169e-09, 3.0033352e-08, 3.754169e-09, 0.78, -1.8770845e-09, -3.0033352e-08, 1.8770847e-09, 0.78, 0, 0, 0)
|
|
|
|
|
transform = Transform3D(1, -4.813037e-09, 3.85043e-08, 4.813037e-09, 1, -2.4065188e-09, -3.85043e-08, 2.406519e-09, 1, 0, 0, 0)
|
|
|
|
|
|
|
|
|
|
[node name="GameState" parent="World" index="9" instance=ExtResource("10_7d1xl")]
|
|
|
|
|
|
|
|
|
|
[connection signal="numberOfFiresSignal" from="." to="World/GameState" method="_on_outside_zone_number_of_fires_signal"]
|
|
|
|
|
|
|
|
|
|
[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand"]
|
|
|
|
|
[editable path="XROrigin3D/LeftHand/CollisionHandLeft/LeftHand/Hand_Nails_low_L"]
|
|
|
|
|