Audio system rework

This commit is contained in:
Rendo 2025-12-12 00:13:22 +05:00
commit 347a990421
21 changed files with 173 additions and 29 deletions

View file

@ -0,0 +1,10 @@
extends MultiplayerAudio3D
class_name TeamAmplifiedAudio3D
@export var team_target: Player
@export var team_linear: float = 0.5
func _ready() -> void:
if Lobby.get_team() == team_target.team:
volume_linear = team_linear