[gd_scene load_steps=9 format=3 uid="uid://ctu0cdqcefrwg"] [ext_resource type="Script" path="res://scripts/player/player.gd" id="1_1tqna"] [ext_resource type="Script" path="res://scripts/player/cameraController.gd" id="1_v2q4i"] [ext_resource type="PackedScene" uid="uid://c2x0xjb2ypfpq" path="res://content/rifle/weapon.tscn" id="3_5cmgy"] [ext_resource type="Script" path="res://scripts/player/weapon.gd" id="4_nfpgt"] [ext_resource type="PackedScene" uid="uid://bnwuklgcmgyw8" path="res://content/muzzleflash/muzzleflash.tscn" id="5_v58ob"] [ext_resource type="Script" path="res://demo/agents/scripts/health.gd" id="6_ixo02"] [ext_resource type="PackedScene" uid="uid://bwnlcxfwxyj7j" path="res://content/ui/UI.tscn" id="7_qi8fi"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_w4dyg"] margin = 0.332 [node name="Player" type="CharacterBody3D"] axis_lock_angular_x = true axis_lock_angular_z = true script = ExtResource("1_1tqna") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CylinderShape3D_w4dyg") [node name="Camera3D" type="Camera3D" parent="CollisionShape3D" node_paths=PackedStringArray("PlayerNode")] transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0.68094, 0) keep_aspect = 0 fov = 66.5 script = ExtResource("1_v2q4i") PlayerNode = NodePath("../..") [node name="Weapon" parent="CollisionShape3D/Camera3D" node_paths=PackedStringArray("Origin", "BulletOrigin") instance=ExtResource("3_5cmgy")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0655423, 0) script = ExtResource("4_nfpgt") MuzzleFlash = ExtResource("5_v58ob") Origin = NodePath("LVA4_Armature/Skeleton3D/BoneAttachment3D/Plane/Muzzle") BulletOrigin = NodePath("..") [node name="Skeleton3D" parent="CollisionShape3D/Camera3D/Weapon/LVA4_Armature" index="0"] bones/6/rotation = Quaternion(0.697021, -0.0271559, 0.0376544, 0.715546) bones/6/scale = Vector3(1.01704, 0.970755, 1.01744) bones/9/rotation = Quaternion(0.597208, 0.088759, -0.0953634, 0.791436) bones/9/scale = Vector3(0.894297, 1.25036, 0.894302) bones/13/rotation = Quaternion(-0.28923, -0.582728, 0.583821, 0.485724) bones/14/rotation = Quaternion(0.848078, 0.123778, -0.0283134, 0.514433) bones/15/rotation = Quaternion(-0.283662, -0.0771209, 0.0117335, 0.955746) bones/17/rotation = Quaternion(-0.0979801, -0.0112315, 0.138692, 0.985413) bones/18/rotation = Quaternion(0.00285996, -0.0771369, -0.0955664, 0.992426) bones/19/rotation = Quaternion(-0.014737, 0.0372155, -0.0126211, 0.999119) bones/23/rotation = Quaternion(0.0470606, 0.0222304, 0.674114, 0.736791) bones/24/rotation = Quaternion(-0.0161525, -0.0078105, 0.43526, 0.900126) bones/28/rotation = Quaternion(0.102228, 0.0657092, 0.694722, 0.708938) bones/29/rotation = Quaternion(-0.0349312, -0.0131626, -0.00239495, 0.9993) bones/33/rotation = Quaternion(0.0718133, 0.0329945, 0.409986, 0.908661) bones/37/rotation = Quaternion(-0.0719948, 0.0990852, 0.535014, 0.835918) bones/38/rotation = Quaternion(0.0321199, 0.0582583, 0.363318, 0.929287) bones/40/rotation = Quaternion(0.01367, -0.0189025, -0.00240104, 0.999725) bones/42/rotation = Quaternion(0.0135558, -0.0612161, -0.00297769, 0.998028) bones/44/rotation = Quaternion(0.0136076, -0.0431957, -0.00273264, 0.99897) bones/46/rotation = Quaternion(0.8627, 0.184653, -0.263834, -0.389927) bones/48/rotation = Quaternion(0.0136698, -0.0189026, -0.00240123, 0.999725) bones/50/rotation = Quaternion(-0.0240003, -0.0270186, 0.0231118, 0.99908) bones/52/rotation = Quaternion(9.57289e-08, -0.102194, 2.38743e-08, 0.994764) bones/55/rotation = Quaternion(-0.00863172, 0.430989, -0.779795, 0.453977) bones/56/rotation = Quaternion(0.568329, -0.124676, -0.024049, 0.812945) bones/57/rotation = Quaternion(-0.202555, -0.0372334, 0.118361, 0.971378) bones/59/position = Vector3(5.26137e-06, 0.00062688, 4.61328e-06) bones/59/rotation = Quaternion(-0.0921515, 0.0504243, 0.195935, 0.974974) bones/60/rotation = Quaternion(-0.0504229, 0.0584449, -0.605684, 0.791952) bones/61/rotation = Quaternion(0.0114703, -0.0383484, -0.608711, 0.792382) bones/64/position = Vector3(-1.39906e-05, 0.000607789, 8.67999e-07) bones/64/rotation = Quaternion(-0.0560437, 0.00556503, 0.0915036, 0.994211) bones/65/rotation = Quaternion(0.0483554, -0.0192523, -0.71875, 0.693318) bones/66/rotation = Quaternion(-0.0173623, 0.00452312, -0.601864, 0.798397) bones/69/position = Vector3(1.30467e-06, 0.000602322, -2.7101e-06) bones/69/rotation = Quaternion(0.0409456, -0.0210825, 0.0696472, 0.996508) bones/70/rotation = Quaternion(0.0377608, -0.115509, -0.0908998, 0.988417) bones/71/rotation = Quaternion(-0.0354375, -0.0117314, -0.626531, 0.778502) bones/74/position = Vector3(-8.65025e-06, 0.000669554, 2.38656e-05) bones/74/rotation = Quaternion(0.0945839, -0.108202, 0.236727, 0.960889) bones/75/rotation = Quaternion(0.0550313, -0.0567217, -0.0538148, 0.995419) bones/76/rotation = Quaternion(-0.0284048, -0.0472237, -0.149045, 0.987294) bones/78/position = Vector3(-8.86769e-05, 0.000149522, 3.81398e-05) bones/79/rotation = Quaternion(-0.24679, -0.068873, -0.208296, 0.943909) bones/80/rotation = Quaternion(0.0181542, -0.258237, 0.0705999, 0.963327) bones/82/rotation = Quaternion(0.0137306, -0.00845511, 0.00202618, 0.999868) bones/84/rotation = Quaternion(0.0137638, -0.0259837, 0.00178515, 0.999566) bones/86/rotation = Quaternion(0.0137486, -0.017656, 0.00189981, 0.999748) bones/90/rotation = Quaternion(0.0137304, -0.00845505, 0.0020264, 0.999868) bones/92/rotation = Quaternion(-0.0246213, -0.000215826, -0.0224486, 0.999445) bones/94/rotation = Quaternion(2.79802e-09, 0.0449708, 4.00876e-08, 0.998988) bones/96/position = Vector3(0.00148682, 0.00419669, -0.00257247) bones/96/rotation = Quaternion(-0.664802, 0.0151952, 0.13056, 0.735365) bones/98/position = Vector3(0.000566952, 0.00437002, -0.00361386) bones/98/rotation = Quaternion(-0.686633, -0.158208, -0.166366, 0.689803) [node name="BoneAttachment3D" parent="CollisionShape3D/Camera3D/Weapon/LVA4_Armature/Skeleton3D" index="1"] transform = Transform3D(0.965405, -0.212387, -0.151277, 0.196116, 0.973749, -0.115552, 0.171848, 0.0818871, 0.981714, 0.00148609, 0.00257259, -0.00101604) [node name="Muzzle" parent="CollisionShape3D/Camera3D/Weapon/LVA4_Armature/Skeleton3D/BoneAttachment3D/Plane" index="0"] transform = Transform3D(0.00256023, 0.00111408, -0.00109729, 0.000993761, 0.00046617, 0.00279197, 0.00120734, -0.00274618, 2.87907e-05, -0.00118721, 0.00250132, 0.000390777) [node name="CooldownTimer" type="Timer" parent="CollisionShape3D/Camera3D/Weapon"] wait_time = 0.3 one_shot = true [node name="Health" type="Node" parent="."] script = ExtResource("6_ixo02") max_health = 5.0 [node name="Ui" parent="." instance=ExtResource("7_qi8fi")] [editable path="CollisionShape3D/Camera3D/Weapon"]