OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SkyQuake on 07 May 2003, 04:19:34
-
Hey people.
I have a trigger thats placed far away from the player area. I want it to play a custom sound. Its a canonfireing sound. Problem is its only selectable as a Anonymus or Voice-class sound in the trigger. The result is that it sounds like its fired from inside your head and not from far away. I want to be able to select it in the trigger-class under effects, so i can get the same direction/fade effect from the ingame AK-47-sound.
My question basicly is, how do i define the sound in the description.ext so its selectable under Trigger-sound in the effects window? Is it possible or is there another way to do this?
Thanx in advance
SkyQuake
-
:-\ you need cfgsfx in your description.ext it goes like this
class CfgSfx
{
class example
{
sounds[]={"sound1"};
name="example";
sound1[]={"soundname",db+0,1, 1};
empty[]={"0"};
};
};
I think it only works with .wss files though so look in the editors depot for the converter.
-
Thanks very much. Ill try work it from your advice.
SkyQuake