ACC PR: https://github.com/rheit/acc/pull/64
Example file: https://www.dropbox.com/s/hs622re9eykoz ... n.pk3?dl=1 (each player is locally playing a raining sound loop, which is only ever heard by himself and not by any other players, so for example, 2 or more players won't cause sound build-up because only 1 copy of the sound is heard on the player's machine)
This adds a "local" parameter to A_PlaySound and ACS Playsound which would make the sound behave exactly like if it were played with [wiki]LocalAmbientSound[/wiki]. "Local" in this context means:
Code: Select all
//============================================================================
//
// AActor :: CheckLocalView
//
// Returns true if this actor is local for the player. Here, local means the
// player is either looking out this actor's eyes, or this actor is the player
// and the player is looking out the eyes of something non-"sentient."
//
//============================================================================
Spoiler: old crap
