Added attack voices

This commit is contained in:
Eduard Urbach 2024-02-16 12:15:43 +01:00
parent 4822e73477
commit 2a53a731db
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
3 changed files with 43 additions and 6 deletions

View File

@ -1,10 +1,24 @@
[gd_scene load_steps=3 format=3 uid="uid://bhy50ngwxib3i"]
[gd_scene load_steps=5 format=3 uid="uid://bhy50ngwxib3i"]
[ext_resource type="Script" path="res://skill/slash/slash.gd" id="1_dbiye"]
[ext_resource type="PackedScene" uid="uid://f1keiecsx5kw" path="res://skill/melee_area.tscn" id="2_q0v6t"]
[ext_resource type="AudioStream" uid="uid://cu5t5y3qadjd7" path="res://assets/audio/voices/swordwoman/swordwoman-special1-tempo-170.wav" id="3_uxa2s"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_rkutr"]
random_pitch = 1.05
random_volume_offset_db = 2.0
streams_count = 1
stream_0/stream = ExtResource("3_uxa2s")
stream_0/weight = 1.0
[node name="Slash" type="Node3D"]
script = ExtResource("1_dbiye")
[node name="Area" parent="." instance=ExtResource("2_q0v6t")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1.8)
[node name="Voice" type="AudioStreamPlayer3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
stream = SubResource("AudioStreamRandomizer_rkutr")
autoplay = true
bus = &"Voices"

View File

@ -1,10 +1,27 @@
[gd_scene load_steps=3 format=3 uid="uid://bhrlgrleih7d0"]
[gd_scene load_steps=6 format=3 uid="uid://bhrlgrleih7d0"]
[ext_resource type="Script" path="res://skill/spin/spin.gd" id="1_p5jmv"]
[ext_resource type="PackedScene" uid="uid://f1keiecsx5kw" path="res://skill/melee_area.tscn" id="2_fjxc1"]
[ext_resource type="AudioStream" uid="uid://t7ewt5tv8opw" path="res://assets/audio/voices/swordwoman/swordwoman-attack1.mp3" id="3_8hb6m"]
[ext_resource type="AudioStream" uid="uid://butmelbywp6iy" path="res://assets/audio/voices/swordwoman/swordwoman-attack2.mp3" id="4_j0bb6"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_bedvd"]
random_pitch = 1.05
random_volume_offset_db = 2.0
streams_count = 2
stream_0/stream = ExtResource("3_8hb6m")
stream_0/weight = 1.0
stream_1/stream = ExtResource("4_j0bb6")
stream_1/weight = 1.0
[node name="Spin" type="Node3D"]
script = ExtResource("1_p5jmv")
[node name="Area" parent="." instance=ExtResource("2_fjxc1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1.8)
[node name="Voice" type="AudioStreamPlayer3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
stream = SubResource("AudioStreamRandomizer_bedvd")
autoplay = true
bus = &"Voices"

View File

@ -8,7 +8,7 @@ bus/1/name = &"Music"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = -5
bus/1/volume_db = -5.0
bus/1/send = &"Master"
bus/2/name = &"Effects"
bus/2/solo = false
@ -16,12 +16,12 @@ bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = 0.0
bus/2/send = &"Master"
bus/3/name = &"Footsteps"
bus/3/name = &"Voices"
bus/3/solo = false
bus/3/mute = false
bus/3/bypass_fx = false
bus/3/volume_db = -4.5
bus/3/send = &"Effects"
bus/3/volume_db = -10.0741
bus/3/send = &"Master"
bus/4/name = &"Ambience"
bus/4/solo = false
bus/4/mute = false
@ -30,3 +30,9 @@ bus/4/volume_db = -25.0
bus/4/send = &"Master"
bus/4/effect/0/effect = SubResource("AudioEffectReverb_f5en5")
bus/4/effect/0/enabled = true
bus/5/name = &"Footsteps"
bus/5/solo = false
bus/5/mute = false
bus/5/bypass_fx = false
bus/5/volume_db = -4.5
bus/5/send = &"Effects"