Home   Help Search Login Register  

Author Topic: Custom sound as TriggerClass sound, possible?  (Read 440 times)

0 Members and 1 Guest are viewing this topic.

SkyQuake

  • Guest
Custom sound as TriggerClass sound, possible?
« 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

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Custom sound as TriggerClass sound, possible?
« Reply #1 on: 07 May 2003, 19:47:15 »
:-\ 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.

SkyQuake

  • Guest
Re:Custom sound as TriggerClass sound, possible?
« Reply #2 on: 08 May 2003, 08:30:36 »
Thanks very much. Ill try work it from your advice.

SkyQuake