Forum Jump :

Author Message


Posts: 1

Level: Member

Country: fi
In-game name:

#1 Posted at 2013-06-04 11:32        
I want to let object play a custom soundfile where only players around ~2k radius of that object can hear it. I'm using say3D but the problem is that I can't hear it. This is what I have in clientside files:
class CfgSounds {
		class timz_crashSiteExplosion {
		name = "timz_crashSiteExplosion";
		sound[] = {"\dayz_sfx\effects\timz_crashSiteExplosion.ogg", db+100, 1, 2500};
		titles[] = {0, ""};

Soundfile exists and is in \dayz_sfx\effects\ folder. You can download that file from here:
This is in serverside files:
_crash = createVehicle [_crashModel,_position, [], 0, "CAN_COLLIDE"];
_crash say3D "timz_crashSiteExplosion";

createVehicle spawns object and everything is working except say3D part. That doesn't generate any errors, neither in client or server .rpt file so I think that say3D doesn't play sound on all client but rather only on where script itself is executed - in this case the dedicated server. Is there any way to play this sound on clients also?