WIP: Some updates
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=58 format=4 uid="uid://wu6qyd0aqeib"]
|
||||
[gd_scene load_steps=59 format=4 uid="uid://wu6qyd0aqeib"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/weapon/generic_weapon_controller.gd" id="1_h1xyo"]
|
||||
[ext_resource type="PackedScene" uid="uid://bjyltbtx45cqs" path="res://scenes/weapon/misc/bullet_trace_distance.tscn" id="3_5ff4y"]
|
||||
[ext_resource type="PackedScene" uid="uid://dab7jttp7ywfh" path="res://scenes/weapon/guns/ak/gun.tscn" id="3_q7t3c"]
|
||||
[ext_resource type="AudioStream" uid="uid://prh2ip5vkpyu" path="res://assets/audio/weapon/generic_gun_sound.mp3" id="4_v0f30"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tg27p"]
|
||||
|
||||
@ -640,7 +641,7 @@ _data = {
|
||||
[node name="WithHands" type="Node3D"]
|
||||
script = ExtResource("1_h1xyo")
|
||||
damage = 50
|
||||
cooldown = 1.0
|
||||
cooldown = 0.15
|
||||
mag_capacity = 30
|
||||
|
||||
[node name="HandsMount" type="Node3D" parent="."]
|
||||
@ -872,4 +873,7 @@ process_callback = 0
|
||||
wait_time = 10.0
|
||||
one_shot = true
|
||||
|
||||
[node name="Sound" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = ExtResource("4_v0f30")
|
||||
|
||||
[connection signal="timeout" from="CooldownTimer" to="." method="_on_cooldown_timer_timeout"]
|
||||
|
Reference in New Issue
Block a user