Home   Help Search Login Register  

Author Topic: what is wrong with this description file?  (Read 406 times)

0 Members and 1 Guest are viewing this topic.

Offline ryankaplan

  • Members
  • *
  • yeah...
what is wrong with this description file?
« on: 02 Jul 2004, 19:55:18 »
class CfgRadio
{
sounds[] = {abort,beachisclear,bicreply,nochance,negalpha};
class abort
{
name = "abort";
sound[] = {"abort.ogg",db+20, 1.0};
title = $STRM_abort;
};

class beachisclear
{
name = "beachisclear";
sound[] = {"beachisclear.ogg",db+20, 1.0};
title = $STRM_beachisclear;
};

class bicreply
{
name = "bicreply";
sound[] = {"bicreply.ogg", db+20, 1.0};
title = $STRM_bicreply;
};

class nochance
{
name = "nochance";
sound[] = {"nochance.ogg", db+20, 1.0};
title = $STRM_nochance;
};

class negalpha
{
name = "negalpha";
sound[] = {"negalpha.ogg", db+20, 1.0};
title = $STRM_negalpha;
};
};

class CfgSounds
{
sounds[] = {whatthefuck,ourmission};
class whatthefuck
{
name = "whatthefuck";
sound[] = {"whatthefuck.ogg", db+10, 1.0};
titles[] =
{
0, $STRM_whatthefuck;
};
};

class ourmission
{
name = "ourmission";
sound[] = {"ourmission.ogg", db+10, 1.1};
titles[] =
{
0, $STRM_ourmission;
};
};
};

class CfgMusic
{
tracks[]={spearheadsurprise};

class spearheadsurprise
{
name = "spearheadsurprise";
sound[] = {\music\spearheadsurprise.ogg, db+20, 1.0};
};
};



what the hell is wrong with it? it plays all the ones except the music and the negalpha. with negalpha it says it couldn't find the negalpha radiomessage and it doesn't give me any warnings with music it justt doesn't play it. every sound file is intact and in the right place (don't tell me to make sure) and also they are all in the format they are supposed to be.(Ogg,44100khz,mono,16bit,64kbs)so i tmust be the description file. i couldn't spot the mistake. can somebody help me?

Offline Blanco

  • Former Staff
  • ****
Re:what is wrong with this description file?
« Reply #1 on: 02 Jul 2004, 20:07:27 »
I don't see anything wrong with it, but I noticed before that the order ( of the soundclasses) is important.

First the class cfgSounds
then the radiocfg
then the musiccfg

I strongly recommend you to download DialogG. It's a very handy tool that creates the description.ext for you, you just have to locate you missionfolder with the SOUND-subfolder, select the soundtype (It supports speech, radio and music) , save & exit and you're done.

PS : You have to put all your Oggs in the SOUND folder or DialogG is not able to locate them!
 
« Last Edit: 02 Jul 2004, 20:09:37 by Blanco »
Search or search or search before you ask.

ponq

  • Guest
Re:what is wrong with this description file?
« Reply #2 on: 02 Jul 2004, 20:11:43 »
Are you sure you have the music turned on in the first place?

3 FadeMusic 1 would turn it on if it's off.