Author Topic: Problem with sounds file  (Read 488 times)

Usually when I create .ogg loops, I test it out on a single player server before posting on the forums. I created a sounds file and tested it out on BL, the sounds didn't appear when I went did OnActivate > Self > PlaySound >. I got the server.cs file, but nothing happens still. Any suggestions on what I can do?

Sound files are .wav and music loops are .ogg.
Your using the music format for a sound file.

Also, sound files are packaged like an addon. Id suggest looking at an existing sound profile to see how its done.

You can still loop .Wav files using audio descriptions.

Here is an audio description template to get you started:

Code: [Select]
datablock AudioDescription(ExampleAudio3D)
{
   volume   = 0.5; // how loud you want this?
   isLooping= True; // looping or nah?
   is3D     = true; //3D or nah, if its 3D it will fade out?
   ReferenceDistance= 3.0; //Distance untill sound starts fading
   MaxDistance= 10.0;// distance untill sound fades out
};

remember that distance is measured in Tourque units