OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bored_onion on 12 Aug 2005, 20:08:24

Title: Music in Briefing
Post by: bored_onion on 12 Aug 2005, 20:08:24
Hi,

I'm trying to figure out how to add music to a briefing. I've seen it done but I can't find the right command. Can someone point me in the right direction?

Cheers ;D
Title: Re:Music in Briefing
Post by: Trapper on 12 Aug 2005, 21:23:27
Must be these commands:

onBriefingGear sound
onBriefingGroup sound
onBriefingNotes sound
onBriefingPlan sound

Description:
    Define sound (voice) played first time when section Plan in briefing is selected.

Example:
    onBriefingPlan "PlanVoiceOver"

As far as I know the problem is that the sound is stopped/changed as soon as the player changes the briefing selection.
Title: Re:Music in Briefing
Post by: bored_onion on 12 Aug 2005, 21:43:14
Macguba managed it the "Un-Impossible Mission," I think. Maybe there's a way around such a problem.

At least I know where to look now.

Thanks a bunch.
Title: Re:Music in Briefing
Post by: THobson on 13 Aug 2005, 09:03:27
Quote
As far as I know the problem is that the sound is stopped/changed as soon as the player changes the briefing selection.
That is my experience also.
Title: Re:Music in Briefing
Post by: 456820 on 13 Aug 2005, 09:57:57
also
Quote
Macguba managed it the "Un-Impossible Mission," I think. Maybe there's a way around such a problem

i was actually just playing it just then and nope it still stops when i click on any other tab
Title: Re:Music in Briefing
Post by: bored_onion on 13 Aug 2005, 12:36:32
does it fade out or does it just disappear?
Title: Re:Music in Briefing
Post by: THobson on 13 Aug 2005, 12:57:51
If you click on one of the other tabs the sound turns off abruptly.
Title: Re:Music in Briefing
Post by: bored_onion on 13 Aug 2005, 13:37:57
yeah i just tested it...

well, a short track should be ok.

thanks for the help, guys ;D