Unsafe shootage
This commit is contained in:
parent
cc26793ab6
commit
a046ae5288
8 changed files with 27 additions and 2 deletions
|
|
@ -1,9 +1,10 @@
|
|||
[gd_scene load_steps=14 format=3 uid="uid://dpsr6ug3pkb40"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://dpsr6ug3pkb40"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://3dphlay25fih" path="res://scripts/player/player.gd" id="1_g2els"]
|
||||
[ext_resource type="Script" uid="uid://dalwlndejfdhm" path="res://scripts/player/crosshair.gd" id="3_dqkch"]
|
||||
[ext_resource type="Script" uid="uid://bjhbdh6xsjgnn" path="res://scripts/player/player_camera.gd" id="3_qhqgy"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3hg4ux4j76j2" path="res://models/molikman_hands.glb" id="4_dqkch"]
|
||||
[ext_resource type="Script" uid="uid://6c14qse4vnra" path="res://scripts/player/player_raycast.gd" id="4_fjrip"]
|
||||
[ext_resource type="Script" uid="uid://bmecgup3kcua7" path="res://scripts/weapon_system/system.gd" id="4_qlg0r"]
|
||||
[ext_resource type="Script" uid="uid://c76n6qgu6o4hn" path="res://scripts/weapon_system/gun.gd" id="6_tuyoq"]
|
||||
|
||||
|
|
@ -199,6 +200,11 @@ bones/0/position = Vector3(-0.22279283, 0.7100338, -0.19202478)
|
|||
bones/0/rotation = Quaternion(-0.006717509, 0.6971531, 0.71686494, -0.0060944925)
|
||||
bones/1/position = Vector3(5.972106e-08, 0.06469955, 0.06380712)
|
||||
|
||||
[node name="RayCast3D" type="RayCast3D" parent="Camera3D"]
|
||||
target_position = Vector3(0, 0, -1000)
|
||||
collision_mask = 2
|
||||
script = ExtResource("4_fjrip")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_qlg0r")
|
||||
|
|
@ -247,11 +253,13 @@ script = ExtResource("4_qlg0r")
|
|||
default_pistol = NodePath("StartingPistol")
|
||||
animation_player = NodePath("../Camera3D/molikman_hands/AnimationPlayer")
|
||||
|
||||
[node name="StartingPistol" type="Node" parent="WeaponSystem"]
|
||||
[node name="StartingPistol" type="Node" parent="WeaponSystem" node_paths=PackedStringArray("raycast")]
|
||||
script = ExtResource("6_tuyoq")
|
||||
max_ammo = 10
|
||||
semi_auto = true
|
||||
damage = 25
|
||||
firerate = 0.1
|
||||
prefix = "baked_sp"
|
||||
raycast = NodePath("../../Camera3D/RayCast3D")
|
||||
|
||||
[editable path="Camera3D/molikman_hands"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue