Jump to content
Sign in to follow this  
TheJokerMan

Sound and stuff

Recommended Posts

banghead.gif hello all! i cant get my sound/.lip files to work right and i dont know whats wrong. ive made missions before and they all work fine and i thought i was doing everything the same but it still wont work, could you take a look at this and see if you find something out of place?

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgSounds

{

sounds[] =

{

sound1, sound2, sound3, sound4, sound5

};

class sound1

{

name = "sound1";

sound[] = {"sound1.ogg", 1, 1.0};

titles[] = { };

};

class sound2

{

name = "sound2";

sound[] = {"sound2.ogg", 1, 1.0};

titles[] = { };

};

class sound3

{

name = "sound3";

sound[] = {"sound3.ogg", 1, 1.0};

titles[] = { };

};

class sound4

{

name = "sound4";

sound[] = {"sound4.ogg", 1, 1.0};

titles[] = { };

};

class sound5

{

name = "sound5";

sound[] = {"sound5.ogg", 1, 1.0};

titles[] = { };

};

};

class CfgMusic

{

tracks[]=

{

track1, track2, track3

};

class track1

{

name = "track1";

sound[] = {\music\track1.ogg, db+0, 1.0};

};

class track2

{

name = "track2";

sound[] = {\music\track2.ogg, db+0, 1.0};

};

class track3

{

name = "track3";

sound[] = {\music\track3.ogg, db+0, 1.0};

};

};

so i recorded some sounds at (mono, 44100hz, 16bits) then i made the .lip files, then i converted them to (.ogg, mono, 16000hz) so i go into editor and type<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">man1 say sound1 and nothing happens... does anyone know whats up? thx thumbs-up.gif

Share this post


Link to post
Share on other sites

The db's in the description confused_o.gif .

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgSounds

{

sounds[] = {meow};

class meow

{

name = "meow";

sound[] = {"\sounds\meow.ogg",db+25, 1.0};

titles[] = {};

};

};

Im not sure here but mess with the db's to see if it works smile_o.gif .

edit:

Your music cfg seems ok, im not positive but i think you need to put your sounds and lips in their own folder too.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×