Home   Help Search Login Register  

Author Topic: Music won't work! Bah!  (Read 468 times)

0 Members and 1 Guest are viewing this topic.

Drozdov

  • Guest
Music won't work! Bah!
« on: 03 Sep 2003, 21:00:03 »
I can't get music to work! It either says my music files don't exist or just crashes to desktop. Grr! What's wrong with this description.ext?

Quote
class CfgIdentities
{
class MarekV
{
name = "Marek Volchovsky";
face = "faceR03";
glasses="None";
speaker = "Vladimir";
pitch = 1.05;
};
class MilenB
{
name = "Milen Balakov";
face = "face11";
glasses="None";
speaker = "ruslan";
pitch = 0.98;
};
class PetrL
{
name = "Petr Lubos";
face = "face42";
glasses="None";
speaker = "Aleksei";
pitch = 1.07;
};
class PavelJ
{
name = "Pavel Jankulovsky"
face = "face50"
glasses="None"
speaker = "Vadim"
Pitch = 1.01
};
class RichardJ
{
name = "Richard Johnson"
face = "face6"
glasses = "none"
speaker = "Ted"
Pitch = 1.00
};
class cfgMusic
{
tracks[] = { IfYouTolerateThis, Session, Numb};class IfYouTolerateThis
{ name = "IfYouTolerateThis";sound[] = {"IfYouTolerateThis.ogg", db-0, 1.0};};
class Session
{ name = "Session";sound[] = {"Session.ogg", db-0, 1.0};};
class Numb
{ name = "Numb";sound[] = {"Numb.ogg", db-0, 1.0};};
};
« Last Edit: 03 Sep 2003, 21:01:08 by Drozdov »

deaddog

  • Guest
Re:Music won't work! Bah!
« Reply #1 on: 03 Sep 2003, 21:06:16 »
You are missing a }; at the end of the cfgidentities class, right before the cfgmusic class.

Drozdov

  • Guest
Re:Music won't work! Bah!
« Reply #2 on: 03 Sep 2003, 21:11:34 »
I've tried it with another }; after the Identities thing... it does a CTD and says there's input after the end of the file  >:(.

deaddog

  • Guest
Re:Music won't work! Bah!
« Reply #3 on: 03 Sep 2003, 21:25:19 »
Well, that means it is still wrong.  You have to have the same number of { as }.  As it stands now, you only have 14 { and 13 }.  Notice where I put the new }, is that where you put it?

class CfgIdentities
{
class MarekV
{
name = "Marek Volchovsky";
face = "faceR03";
glasses="None";
speaker = "Vladimir";
pitch = 1.05;
};
class MilenB
{
name = "Milen Balakov";
face = "face11";
glasses="None";
speaker = "ruslan";
pitch = 0.98;
};
class PetrL
{
name = "Petr Lubos";
face = "face42";
glasses="None";
speaker = "Aleksei";
pitch = 1.07;
};
class PavelJ
{
name = "Pavel Jankulovsky"
face = "face50"
glasses="None"
speaker = "Vadim"
Pitch = 1.01
};
class RichardJ
{
name = "Richard Johnson"
face = "face6"
glasses = "none"
speaker = "Ted"
Pitch = 1.00
};

};   <<<<<<< here


class cfgMusic
{
tracks[] = { IfYouTolerateThis, Session, Numb};

class IfYouTolerateThis
{
name = "IfYouTolerateThis";
sound[] = {"IfYouTolerateThis.ogg", db-0, 1.0};
};

class Session
{
name = "Session";
sound[] = {"Session.ogg", db-0, 1.0};
};
class Numb
{
name = "Numb";
sound[] = {"Numb.ogg", db-0, 1.0};
};

};

I just noticed something else, the last two identity entries are missing the semi-colons.
« Last Edit: 03 Sep 2003, 21:27:10 by deaddog »

Drozdov

  • Guest
Re:Music won't work! Bah!
« Reply #4 on: 03 Sep 2003, 22:30:00 »
Ah that worked. I also was missing a }: at the end. But it really sounds bad... better re-convert them at higher quality...  ::)