Game Development Community

No weapon sounds

by Henrik Hasell · in Technical Issues · 06/15/2010 (8:32 am) · 0 replies

Hi there.
I made a sound profile for one of my weapons that looked like this:

datablock SFXProfile(SniperReloadSound)
{
filename = "~/data/sound/gun_generic/sniperReload.ogg";
description = AudioClose3d;
preload = true;
};

It used to work fine, then I added another sound to my weapon's datablocks and the sound stopped working. I'm not sure that was the cause though, i've removed the sound since and it STILL dosen't play. This is the second time i've had this problem.

Also, if i tell an SFXemitter to play "~/data/sound/gun_generic/sniperReload.ogg" it does. However If I tell it to play SniperReloadSound i get silence.

Help me please.

About the author

Recent Threads