Sxep 0 Posted September 10, 2003 Hi I want to include 2 songs into a mission. Now i get kicked out of the editor because of this. Quote[/b] ]class CfgMusic{ tracks[]={theme}; class theme { name = "scarytheme"; sound[] = {\music\themesong1.ogg, db+10, 1.0}; }; tracks[]={Running}; class Running { name = "Runningthunder"; sound[] = {\music\RunningThunder.ogg, db+10, 1.0}; }; }; class CfgSounds { sounds[] = { Whisper, Groan }; class whisper { name = "whisper"; sound[] = {"whispers.ogg", 1, 1.0}; titles[] = { }; }; }; }; can someone put it right so it should work? Share this post Link to post Share on other sites
Poet 0 Posted September 10, 2003 No expert by any stretch ... but I always reference the file by the same name i.e bob.ogg , class bob, name bob   etc... edit : actually on 2nd look, it does look a bit funky, try this : <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgMusic { tracks[]= { where }; class where { name = "where"; sound[] = {\music\where.ogg, db+0, 1.0}; }; }; Share this post Link to post Share on other sites
RED 0 Posted September 10, 2003 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgMusic { tracks[]={theme, Running}; class theme { name = "scarytheme"; sound[] = {\music\themesong1.ogg, db+10, 1.0}; }; class Running { name = "Runningthunder"; sound[] = {\music\RunningThunder.ogg, db+10, 1.0}; }; }; class CfgSounds { sounds[] = { Whisper, Groan }; class whisper { name = "whisper"; sound[] = {"whispers.ogg", 1, 1.0}; titles[] = { }; }; }; }; I think that will work, you just defined tracks twice. RED Share this post Link to post Share on other sites
Sxep 0 Posted September 11, 2003 Thank you both for the help..i´m trying it in 5 mins. Another question : how can i include them permanent into the game..through a pbo? I searched the web ..found nothing reall usefull. Share this post Link to post Share on other sites
theavonlady 2 Posted September 11, 2003 Another question : how can i include them permanent into the game..through a pbo? That's AMORE! Share this post Link to post Share on other sites
Sxep 0 Posted September 11, 2003 Thank you Avon but the DL at Filefront is down  Can someone gimmi another host? Share this post Link to post Share on other sites
Sxep 0 Posted September 11, 2003 Oh and thx Red it workes just fine! Share this post Link to post Share on other sites
theavonlady 2 Posted September 11, 2003 Thank you Avon but the DL at Filefront is down  Can someone gimmi another host? My AMORE files at the OFPEC Addons Depot. Share this post Link to post Share on other sites
Sxep 0 Posted September 11, 2003 Great thank you Avon Share this post Link to post Share on other sites