Home   Help Search Login Register  

Author Topic: play sound work or not  (Read 791 times)

0 Members and 1 Guest are viewing this topic.

The Cat

  • Guest
play sound work or not
« on: 25 Nov 2002, 02:26:38 »
Can you get the to work? When I have converted my wav to ogg and put it in a file called sound. Then I created a trigger and place in the activation it will not play. I have also even change the side to east and it still will not play.

I notice it on the official conref Play sound

I'm sure that someone can help out there. Thanks. ;)
 :-[

The Cat

  • Guest
Re:play sound work or not
« Reply #1 on: 25 Nov 2002, 02:32:19 »
Okay I mess up I new you see so take the P$%S if you want.

Can you get the play sound to work? When I have converted my wav to ogg and put it in a file called sound. Then I created a trigger and place in the activation calling it playsound "help.ogg" but it will not play. I have also even change the side to east and it still will not play.

I notice it on the official conref Play sound

I'm sure that someone can help out there. Thanks.
 

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:play sound work or not
« Reply #2 on: 25 Nov 2002, 14:32:44 »
you need a description.ext file with this in

class CfgSounds
     {
     sounds[] = { help};

     class help
     {
          name = "help";
          sound[] = {"help.ogg", db +10, 1.0};
          titles[] =
          {
               0, $STRM_help
          };
     };
     };



then use playsound "help"

The Cat

  • Guest
Black Feather
« Reply #3 on: 25 Nov 2002, 20:01:48 »
thank you for your help Black Feather.

I will give it a go as its my first time in trying to do a ogg sound. CHEERS. ;)

pertti49

  • Guest
Re:play sound work or not
« Reply #4 on: 28 Nov 2002, 17:13:03 »
I made a sound folder and put in my "battle".ogg file and also description.ext (what was given earlier in this topic"file ofcource change name "battle" to all points and my soundfile name is battle, made trigger and put playsound"battle.ogg"Start the game and ill get message "sound battle.ogg not found"?
greetings:pertti49

The Cat

  • Guest
Re:pertti49
« Reply #5 on: 28 Nov 2002, 19:30:59 »
TO pertti49,

I agree there did this can it still can't find my sound I think that the PlaySound will not work even so it was in the ConREf maybe some one might know also playMusic will not work Never mind

All the best Simon