Page MenuHomeFeedback Tracker

playSound3D not respecting speed of sound
Closed, ResolvedPublic


If you execute playSound3D globally (so local = false) on a client, where the position of the sound is about 330 m away, the client will hear the sound delayed by about 1 second. This is expected and wanted.
However, all other clients will hear the sound immediately, regardless of their position.


Operating System
Windows 11 x64
Operating System Version
22H2, Build 22621.2428
Steps To Reproduce
  1. Make a mission, connect two clients.
  2. Give one Zeus access and move the camera further away.
  3. Run playSound3D ["A3\Sounds_F\weapons\Grenades\handgrenade_drops\handg_drop_Metal_1.wss", objNull, false, getPosASL player, 5, 1, 1000, 0, false].

Maximum distance does not make a difference.

Additional Information

There is a workaround:

[["A3\Sounds_F\weapons\Grenades\handgrenade_drops\handg_drop_Metal_1.wss", objNull, false, getPosASL player, 5, 1, 1000, 0, true]] remoteExecCall ["playSound3D", 0]

It does the job, but it would be nice to have the command work properly.

Event Timeline

johnb43 created this task.Nov 6 2023, 10:38 PM

Please test from Revision: 151133

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Nov 7 2023, 12:08 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

I can confirm this has been fixed in profiling branch 2.14.151142.

Thank you very much!

BIS_fnc_KK closed this task as Resolved.Nov 9 2023, 12:29 AM
dedmen set Ref Ticket to AIII-56063.Dec 7 2023, 6:22 PM