OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: farthur on 31 Jan 2004, 18:32:04

Title: no sound
Post by: farthur on 31 Jan 2004, 18:32:04
when i trie to put my own sound i my mission i dont hear a thing
this is my discription.ext


class CfgMusic
{
  tracks[]=
  {
      sugar
  };
 
  class sugar
  {
      name = "sugar";
      sound[] = {\music\sugar.ogg, db+30, 1.0};
  };

 :'( :'( what is wrong :'( :'(
Title: Re:no sound
Post by: deaddog on 31 Jan 2004, 19:31:47
This info looks right, which means your problem can be any number of places.

Did you record the music in 16 bit, stereo?

Is the music file in the missionname\music folder

Do you have a music folder?

Is your music volume turned up?

How are you playing the music?  Through a trigger or the playmusic command.

Did you reload the mission in the editor after you added ,or made changes to, the description.ext file?

As you can see, the list goes on and on :)
Title: Re:no sound
Post by: farthur on 31 Jan 2004, 20:55:13
i now know what i did wrong i didn't put a music folder i my missons folder that was my mistake