[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.697459, -0.0272195, 0.0377435, 0.715112) bones/6/scale = Vector3(1.01704, 0.970755, 1.01744) bones/9/rotation = Quaternion(0.59753, 0.0883948, -0.0950469, 0.791272) bones/9/scale = Vector3(0.895205, 1.24851, 0.895209) bones/12/rotation = Quaternion(0.5, 0.5, 0.5, -0.5) bones/13/rotation = Quaternion(-0.288794, -0.583705, 0.584114, 0.484456) bones/14/rotation = Quaternion(0.847616, 0.123803, -0.0282024, 0.515193) bones/15/rotation = Quaternion(-0.281539, -0.0718473, 0.00808318, 0.956822) 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.0136756, -0.0172532, -0.0023784, 0.999755) bones/42/rotation = Quaternion(0.0135645, -0.0568211, -0.00291822, 0.998288) bones/44/rotation = Quaternion(0.0136133, -0.0399402, -0.00268841, 0.999106) bones/46/rotation = Quaternion(0.8627, 0.184653, -0.263834, -0.389927) bones/48/rotation = Quaternion(0.0136754, -0.0172533, -0.00237861, 0.999755) bones/50/rotation = Quaternion(-0.0240424, -0.0253808, 0.0230706, 0.999122) bones/52/rotation = Quaternion(9.57256e-08, -0.10147, 2.38067e-08, 0.994839) bones/54/rotation = Quaternion(0.5, -0.5, -0.5, -0.5) bones/55/rotation = Quaternion(-0.00966559, 0.431855, -0.779032, 0.454442) bones/56/rotation = Quaternion(0.569151, -0.1247, -0.023923, 0.81237) bones/57/rotation = Quaternion(-0.205716, -0.0320915, 0.116515, 0.971121) 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/78/rotation = Quaternion(0.293949, 0.638458, 0.159887, 0.69311) 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.013728, -0.00687772, 0.0020478, 0.99988) bones/84/rotation = Quaternion(0.0137617, -0.0217986, 0.00184283, 0.999666) bones/86/rotation = Quaternion(0.0137452, -0.0144382, 0.0019441, 0.999799) bones/88/rotation = Quaternion(0.8627, -0.184653, 0.263834, -0.389927) bones/90/rotation = Quaternion(0.0137278, -0.00687766, 0.00204802, 0.99988) bones/92/rotation = Quaternion(-0.0245858, 0.00136125, -0.0224883, 0.999444) bones/94/rotation = Quaternion(2.7712e-09, 0.0456322, 4.00834e-08, 0.998958) bones/96/position = Vector3(0.00148682, 0.00419669, -0.00257247) bones/96/rotation = Quaternion(-0.664692, 0.0194188, 0.125885, 0.736179) bones/98/position = Vector3(0.000566952, 0.00437002, -0.00361386) bones/98/rotation = Quaternion(-0.687624, -0.153843, -0.170745, 0.688732) [node name="BoneAttachment3D" parent="CollisionShape3D/Camera3D/Weapon/LVA4_Armature/Skeleton3D" index="1"] transform = Transform3D(0.967405, -0.211612, -0.139095, 0.196587, 0.973809, -0.114238, 0.159626, 0.0831701, 0.983668, 0.00147876, 0.00257324, -0.00102415) [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")] [node name="Enemy Target" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32602, 0) [editable path="CollisionShape3D/Camera3D/Weapon"]