feat: added drone sound effect to enemies
This commit is contained in:
parent
52cd856992
commit
3b94a7e0f3
7 changed files with 44 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://0fykl1mw3c12"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://0fykl1mw3c12"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bnr6lab7heo8e" path="res://objects/character_model_base.tscn" id="1_i7aop"]
|
||||
[ext_resource type="AudioStream" uid="uid://b5evvhyrhybkf" path="res://sounds/drone.ogg" id="2_8cpm2"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3tduq"]
|
||||
radius = 0.370388
|
||||
|
|
@ -102,4 +103,14 @@ shape = SubResource("CapsuleShape3D_3tduq")
|
|||
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="DroneSound" type="AudioStreamPlayer3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("2_8cpm2")
|
||||
attenuation_model = 2
|
||||
volume_db = 1.0
|
||||
unit_size = 27.02
|
||||
autoplay = true
|
||||
max_distance = 13.36
|
||||
panning_strength = 0.17
|
||||
|
||||
[editable path="CharacterModel"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue