remove sfx attenuation

This commit is contained in:
Teatov 2025-08-07 23:55:22 +10:00
parent 106a8611be
commit 07c28548b2
2 changed files with 3 additions and 11 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=20 format=3 uid="uid://bryima34hc3yp"]
[gd_scene load_steps=19 format=3 uid="uid://bryima34hc3yp"]
[ext_resource type="Script" uid="uid://cl0asbgqd3anu" path="res://scripts/game_key.gd" id="1_sypr4"]
[ext_resource type="AudioStream" uid="uid://bq0ikue882kg6" path="res://assets/sfx/keyboard/typing/press_01.wav" id="2_cqjrw"]
@ -39,8 +39,6 @@ stream_4/stream = ExtResource("13_tj68p")
stream_5/stream = ExtResource("14_kt0yx")
stream_6/stream = ExtResource("15_w7o33")
[sub_resource type="AudioStreamPolyphonic" id="AudioStreamPolyphonic_6rsff"]
[node name="GameKey" type="Node3D" node_paths=PackedStringArray("player_pos_marker", "_skeleton_primary", "_skeleton_secondary", "_nub_mesh", "_upper_left_label", "_upper_right_label", "_lower_left_label", "_lower_right_label", "_center_label", "_press_light", "_adjacency_light", "_sfx_player")]
script = ExtResource("1_sypr4")
player_pos_marker = NodePath("PlayerPosMarker")
@ -54,7 +52,7 @@ _lower_right_label = NodePath("Labels/LowerRightAttachment/LowerRightLabel")
_center_label = NodePath("Labels/CenterLabel")
_press_light = NodePath("Effects/PressLight")
_adjacency_light = NodePath("Effects/AdjacencyLight")
_sfx_player = NodePath("SFXPlayer")
_sfx_player = NodePath("")
_press_sfx = SubResource("AudioStreamRandomizer_agrko")
_release_sfx = SubResource("AudioStreamRandomizer_ch32x")
@ -177,11 +175,5 @@ omni_range = 0.6
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
gizmo_extents = 0.2
[node name="SFXPlayer" type="AudioStreamPlayer3D" parent="."]
stream = SubResource("AudioStreamPolyphonic_6rsff")
volume_db = -15.0
bus = &"SFX"
attenuation_filter_cutoff_hz = 20500.0
[editable path="Model"]
[editable path="ModelSecondary"]

View File

@ -29,7 +29,7 @@ _layout_swap_sfx = SubResource("AudioStreamRandomizer_hylia")
[node name="SFXPlayer" type="AudioStreamPlayer3D" parent="."]
stream = SubResource("AudioStreamPolyphonic_3k4ps")
volume_db = -15.0
attenuation_model = 3
autoplay = true
bus = &"SFX"
attenuation_filter_cutoff_hz = 20500.0