Jump to content
Sign in to follow this  
hedcrusha

ingame music!

Recommended Posts

Hi just wondering if theres a script to enable me to add my own music to play through a whole mission changing the track once ones done?

Share this post


Link to post
Share on other sites

I believe its called Windows Media Player or <Insert your favorite music player here>.

It works wonders.

biggrin_o.gif

Share this post


Link to post
Share on other sites

Yes just run an MP3 player in the background...

if you are creating your own mission you can put it in by scripting and adding the music file somewhere and setting it off by triggers. havent got arma yet and havent scripted in OFP for ages, so i dunno the script...

Share this post


Link to post
Share on other sites

Change the MP3 into an ogg file.

Put the ogg file in a folder called music in your D:/ArmA Other Profiles/Username/Missions/musictestmission.sara folder.

Place a Description.ext file into the same folder with:

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

{

tracks[]={doyoureallywanttohurtme};

class doyoureallywanttohurtme

{

  name = "doyoureallywanttohurtme";

  sound[] = {"\music\doyoureallywanttohurtme.ogg", db+5, 1.0};

};

};

Open the editor, place a trigger goto effects, tracks and chose your favourite Boy George song in your mission.

Boy George rocks! banghead.gif

Share this post


Link to post
Share on other sites

well thanks for the help Dallas and Jack-UK.

But Dallas i dont have any boy george!! Will that be a problem to get this working??

LoL...just joshing with you!

Share this post


Link to post
Share on other sites

Well I guess any other artist will do just fine, probably even better.

Share this post


Link to post
Share on other sites

@ Dallas, I did what you said and went to effects on the trigger then tracks but it doesnt show my track that i have in there!

Ive gone wrong somewhere!!!!

Share this post


Link to post
Share on other sites

Nice thanks for that it realy helped me out. And all is working now biggrin_o.gif

Share this post


Link to post
Share on other sites

I tried this using mortar sounds on an invisible IED. The ied went off, but the music file didn't play. I see it in the track list, but it wont play.

Share this post


Link to post
Share on other sites

I added music to a static or mobile unit, and it sounds like its upfront or faint depending on the db i use, its never positional.

ps all other sounds are ok and working (3d audio position)

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  

×