Radar ping taunt sound + per-SoundEffect spatialize opt-in

MatchManager: new Radar Ping Sound property; MsgRadarPing now goes to
all clients (spawnBlips flag keeps blips hunter-only), sound plays 3D
at each pinged hider. Distance-based stagger (speed of sound + 35 ms
min gap) prevents phase cancellation when multiple hiders ping.

SoundEffect: new spatialize toggle (per asset, applied only to 3D
instances -> Steam Audio HRTF); removed unused fade field.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Fable 5 committed 2026-07-11 23:11:39 +02:00
1 parent a36f398b94
commit 0172a1e834
4 files changed
+99 -35

No files matched your search

+3 -3
View File
@@ -20,13 +20,13 @@ namespace Prototype
public Vector2? distanceRange;
public Vector2 GetDistanceRange() => distanceRange ?? new(30, 200);
public Vector2? fade;
public Vector2 GetFade() => fade ?? new();
public bool? destroyOnLoad;
public bool ShouldDestroyOnLoad() => destroyOnLoad ?? true;
public float? delay;
public float GetDelay() => delay ?? 0;
public bool? spatialize;
public bool GetSpatialize() => spatialize ?? false;
}
}