OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: NightJay0044 on 07 Feb 2009, 07:48:42

Title: How to add music to your breifing
Post by: NightJay0044 on 07 Feb 2009, 07:48:42
Hi, I want to add my own custom music song to a breifing, just before the players clicks start mission. So they can have something to listen to..

I dont' understand how to do this, can someone help? Thanks...I can set it up in the description and stuff but I don't know understand how to make the sound so someone can hear it in the breifing..

Thanks a bunch.
Title: Re: How to add music to your breifing
Post by: savedbygrace on 07 Feb 2009, 09:53:28
Music and sound are not possible in the briefing in Arma like it was in OFP.
Title: Re: How to add music to your breifing
Post by: Wolfrug on 07 Feb 2009, 10:37:13
Are you sure? What about the onBriefing....line of commands?

onBriefingGear (http://www.ofpec.com/COMREF/index.php?action=details&id=235)
onBriefingGroup (http://www.ofpec.com/COMREF/index.php?action=details&id=236)
onBriefingNotes (http://www.ofpec.com/COMREF/index.php?action=details&id=237)
onBriefingPlan (http://www.ofpec.com/COMREF/index.php?action=details&id=238)
onBriefingTeamSwitch (http://www.ofpec.com/COMREF/index.php?action=details&id=666)

Seems kind of stupid to introduce a wholly new ArmA-only command to do with teamswitching if it doesn't work, wouldn't you think?  :dunno:

Anyway, I'm not even entirely sure where you're supposed to put those (init.sqf?), but if you haven't tried already, try again!

Wolfrug out.
Title: Re: How to add music to your breifing
Post by: Worldeater on 07 Feb 2009, 12:38:30
The onBriefing... commands work fine. They have to be added to the init.sqf.
Title: Re: How to add music to your breifing
Post by: savedbygrace on 07 Feb 2009, 14:49:45
Hmm, Forgive me for speaking half informed guys. I did check on this subject over a year ago and I did try and accomplish it as they were used in OFP but I had no luck. I also checked the BIS forums for advice but nothing was helpful. If these commands do however work for ARMA, then I too would like to know how they are used.
Again, sorry for inserting my foot in my mouth, I should have checked again before posting.
Title: Re: How to add music to your breifing
Post by: Worldeater on 07 Feb 2009, 19:17:54
I didn't even know these commands exist until an hour after Wolfrug posted them. Using my mighty google skills I then found out where to put them. The real problem however was getting the %@&# CfgSounds section correct in description.ext...