Omen101 0 Posted June 2, 2007 Hey, ive made my custom song into a description.ext file but im stumped on where to put it and how to activate it and make it play ingame ive tried searching for this but couldnt find anything. Thx in advance Share this post Link to post Share on other sites
snkman 351 Posted June 2, 2007 Okay your description.ext should have a code look's like that: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgMusic { tracks[]={track01}; class track01 { name = "track01"; sound[] = {\music\track01.ogg, db+8, 1.0}; }; }; Now in this example in your mission folder you've got a folder called "music" in this folder is the sound file called "track01.ogg" Now only thing you have to do in game is to create a trigger, select the side which should activate the trigger, set it to activated once or multiple then go to Effects, Music and select the music "track01". Or you can use it in a script with: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player say "track01" Share this post Link to post Share on other sites
GoreZiad 0 Posted June 29, 2007 How do you put a song into description.ext?! Nice! Thanks in advance. Share this post Link to post Share on other sites
Balschoiw 0 Posted June 29, 2007 Erm... <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgMusic { tracks[]={track01}; class track01 { name = "track01"; sound[] = {\music\track01.ogg, db+8, 1.0}; }; }; Make sure you create a subfolder "music" in your mission folder and place the music called "track01.ogg" there. Share this post Link to post Share on other sites
GoreZiad 0 Posted June 29, 2007 Thanks man. But it doesn't work? I can put my track as a trigger, but it won't play? There's no sound. Share this post Link to post Share on other sites
Balschoiw 0 Posted June 29, 2007 Then there is probably something wrong with the music file itself. It has to be 128kbps, 16 bit, stereo, Encoding - Constant Bitrate, ogg-file. For regular sounds like voice samples, event sounds or such use Frequency 44100 hz, 16 bit, mono, Bit Rate in ranges from 80 - 112kbps, ogg-file, constant Bitrate and embedd them with class CfgSounds in the description.ext. You can download out a really comprehensive Tutorial on embedding sound and music in your mission here from OFPEC That should answer all of your questions. Share this post Link to post Share on other sites
GoreZiad 0 Posted June 29, 2007 Thanks you. I tried alot of times, but I finally got it to work. By the way, that bug in your sig is annoying me At first, I thought it was something on my screen, trying to take it of Thanks again man. Share this post Link to post Share on other sites
Balschoiw 0 Posted June 29, 2007 Quote[/b] ]By the way, that bug in your sig is annoying me It´s not a bug, it´s a feature Share this post Link to post Share on other sites
ck-claw 1 Posted June 29, 2007 Quote[/b] ]By the way, that bug in your sig is annoying me It´s not a bug, it´s a feature Lol! Thats what i say to anyone who moans about Arma! Share this post Link to post Share on other sites
Guest Posted June 29, 2007 Quote[/b] ]Quote[/b] ]By the way, that bug in your sig is annoying me It´s not a bug, it´s a feature  Well, this feature of you foced me to buy a new screen. Arma features made me buy a new PC already......from now on I will ignore feautes, they tend to make me poor. Quote[/b] ]You can download out a really comprehensive Tutorial on embedding sound and music in your mission here from OFPEC Thanks very much for this link. This is a very nice tut explaining what there is to know about getting sounds in your mission [edit] Fixed my quote mess Share this post Link to post Share on other sites