Jump to content

Sign in to follow this  
Rob

MUSIC HELP

Recommended Posts

is this all i have to add?

class CfgMusic

{

tracks[] = { alive };

class alive

{

name = "alive";

sound[] = {\music\alive.ogg, db-100, 1.0};

titles[] =

{

0, $STRM_alive

};

};

it doesn't com up in the tracks section when it should.. wot am i doin wrong?

Share this post


Link to post
Share on other sites

you don't need the 0, $STRM_alive

It's the indication of a spoken sentence.

Share this post


Link to post
Share on other sites

yeah but that wont affect it will it..

Share this post


Link to post
Share on other sites

If you check out the earlier post about sound files you will see that I finally figured out what to put... you can just cut and paste and submit your relevant titles... it works fine now!

Fenris

Share this post


Link to post
Share on other sites

well it doesn't... this is wot i put!

class CfgMusic

{

tracks[] = {Alive};

class Alive

{

name = "Alive";

sound[] = {\music\Alive.ogg, db, 1.0};

};

and there still aint no "alive" in my tracks menu of the trigger.

Share this post


Link to post
Share on other sites

Rob - check out the post titled how do I add custom sound... I've gone through it all with Lonesoldier

Basically you will need this in a description.ext file in the mission folder

class CfgMusic

{

tracks[] = {Axiom, Judith};

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

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

};

That is two songs titled Judith and Axiom so just alter that as you want.

You will also need a folder in the mission directory called music and in that you need to put your .ogg files. You have converted to .ogg haven't you... I bet you haven't! smile.gif

Go see what I said to lone about sorting this out... mail me if you are still getting stuck.

Fenris

Share this post


Link to post
Share on other sites

2 things... i aint a F**king dunce and secondly thats where i got it from.

Share this post


Link to post
Share on other sites

<span style='color:red'>I just bloody tried urs and it didn't work then i tried bloodmixers and that didn't work.... wot the F**K is goin on?</span>

this is his version:::---

<span style='color:blue'>class CfgMusic

{

tracks[]={Alive};

class Alive

{

name = "";

sound[] = {\music\Alive.ogg, db+10, 1.0};

};

};</span>

AAAAAAHHAHAHHHAHAHHH!!!

Share this post


Link to post
Share on other sites

I wasn't taking the piss, just the .ogg thing is a bit weird!

Both of those will work, but mine works perfectly... I know that sounds stupid but it took me best part of the day to get that sorted.

What is actually going wrong... the music is not appearing in the drop down box? If that is the case try a trigger with playmusic Alive in it (good choice btw) and see if it will play then. I had loads of trouble in that I could get the music to play but as soon as I went to the effects panel in the mission editor it crashed.

Just to clarify again (I'm not being patronising, but sometimes the best of us get stuff muddled) in your user/missions/mission_name folder you have a folder called music with your .ogg file in it. In the user/missions/mission_name folder NOT the music folder you have a plain text doc called description.ext with that text in it?

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from Rob on 12:18 pm on Nov. 17, 2001

<span style='color:red'>I just bloody tried urs and it didn't work then i tried bloodmixers and that didn't work.... wot the F**K is goin on?</span>

this is his version:::---

<span style='color:blue'>class CfgMusic

{

    tracks[]={Alive};

    class Alive

    {

    name = "";

    sound[] = {\music\Alive.ogg, db+10, 1.0};

    };

};</span>

AAAAAAHHAHAHHHAHAHHH!!!

<span id='postcolor'>

Because there is nothing between the quote marks I don't think that will show in drop down box... I think that is where it picks up the name to display. Though I may be wrong.

I can mail you my mission folder (minus the music) so you can see how it should be... that help?

Share this post


Link to post
Share on other sites

i have everything where they should be!!!!!!!!!!

it just doesn't wanna play the d*amn thing even when i use the playmusi "alive" command!!!!..

Share this post


Link to post
Share on other sites

its 44100 db, lin 16 and mono. thats wot it should be. its in the music folder and this is everything in my discription.ext file...

<span style='color:red'>

class CfgSounds

{

sounds[] = { heregoes, alive };

class heregoes

{

name = "heregoes";

sound[] = {"heregoes.ogg", db-100, 1.0};

titles[] =

{

0, $STRM_heregoes

};

};

class alive

{

name = "alive";

sound[] = {"alive.ogg", db-100, 1.0};

titles[] =

{

0, $STRM_alive

};

};

class CfgMusic

{

tracks[]={Alive};

class Alive

{

name = "Alive";

sound[] = {Alive.ogg, db+100, 1.0};

};

};

</span>

i even added it in the normal sound area to see if it wud work but it doesn't. most of the time it comes back and says "can't find ""alive""

Share this post


Link to post
Share on other sites

Alright, you don't need all that stuff in your .ext file. Put this.

class CfgMusic

{

tracks[] = {Alive};

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

};

don't put db-100 as that effects the volume.

Secondly, your music can be stereo though I doubt that will be causing you problems. I used stereo, 44000 hz, 96000 bitrate.

I am thinking that you've not converted to .ogg properly. I'm not trying to be condescending, just trying to help.

Share this post


Link to post
Share on other sites

I think that if "heregoes" is a sound effect you should have

class CfgMusic

{

tracks[] = {Alive};

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

};

class CfgSounds

{

sounds[] = {heregoes};

class heregoes{name = "heregoes";sound[] = {\sounds\heregoes.ogg, db, 1.0};};

};

in the .ext file. Lay it out like that as it makes it less confusing. Heregoes should be in a folder called sounds.

I think that should work...

(Edited by Fenris at 1:49 pm on Nov. 17, 2001)

Share this post


Link to post
Share on other sites

look man i thanku for all ur help but i have used ur solutions , i have converted it properly considering im using wavesurfer everyday. i have used the =100 and without the numbers in it. i have used ur way with the name and without the name. i have used bloodmixers one all the same fiddling round with it and it still dont work. i can't even get the bloody heregoes sound to work either. i know i have done everything right cuz i have used sounds in my missions loads of times... cuz it just be 1.30?

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  

×