started work on gun switching, need to iron out kinks and set up weapon management script
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://dslxb3psx30vp"]
|
||||
[gd_scene load_steps=17 format=3 uid="uid://dslxb3psx30vp"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://svrb3n31mkag" path="res://assets/Models/gun.blend" id="1_frekg"]
|
||||
[ext_resource type="Script" path="res://scripts/gun.gd" id="2_63tea"]
|
||||
@@ -199,9 +199,6 @@ _data = {
|
||||
"sprint": SubResource("Animation_tikvk")
|
||||
}
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_spb41"]
|
||||
size = Vector3(0.136963, 0.230713, 1.03125)
|
||||
|
||||
[node name="Pistol" node_paths=PackedStringArray("flare_light", "anim_player", "barrel_raycast", "casing_ejector", "mag_ejector", "audio_fire", "audio_empty", "audio_reload") instance=ExtResource("1_frekg")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0145504, -0.0460228)
|
||||
script = ExtResource("2_63tea")
|
||||
@@ -245,15 +242,7 @@ target_position = Vector3(0, 0, -1)
|
||||
transform = Transform3D(0.999999, -0.000519563, 0.000908768, 0.000519589, 1, -2.83433e-05, -0.000908754, 2.88053e-05, 1, 0.085, 0.187, 0)
|
||||
target_position = Vector3(1, 0, 0)
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="." index="4"]
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.138702, -0.356865)
|
||||
shape = SubResource("BoxShape3D_spb41")
|
||||
|
||||
[node name="Audio" type="Node3D" parent="." index="5"]
|
||||
[node name="Audio" type="Node3D" parent="." index="4"]
|
||||
|
||||
[node name="Fire" type="AudioStreamPlayer3D" parent="Audio" index="0"]
|
||||
stream = ExtResource("8_jtjwm")
|
||||
@@ -269,7 +258,7 @@ stream = ExtResource("10_xn8pu")
|
||||
volume_db = 3.0
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="SpotLight3D" type="SpotLight3D" parent="." index="6"]
|
||||
[node name="SpotLight3D" type="SpotLight3D" parent="." index="5"]
|
||||
transform = Transform3D(-6.79394e-06, 0, 1.87678, 0, 1.87678, 0, -1.87677, 0, -6.79392e-06, -1.63231, 0, 5.90892e-06)
|
||||
light_color = Color(0.965385, 0.844179, 0.572893, 1)
|
||||
light_energy = 0.0
|
||||
|
||||
Reference in New Issue
Block a user