OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Commando on 03 Apr 2005, 21:11:10

Title: playing music in debriefing?
Post by: Commando on 03 Apr 2005, 21:11:10
anyone know if its possible to play a music track or sound in the debriefing screen like you can the (onBriefingPlan "soundfilehere")
command. I would like to play a very nice music track for player who can accomplish the mission  :D
Title: Re:playing music in debriefing?
Post by: Morglor9 on 04 Apr 2005, 06:27:24
ya. i would like to know how to do this. and how to play music during the briefing.
Title: Re:playing music in debriefing?
Post by: Commando on 05 Apr 2005, 04:28:11
its easy to play soundfile during briefing
you just make a description.ext file with sound class and then you make
a init.sqs file where this line is present
onBriefingPlan "yoursoundfilehere"
Title: Re:playing music in debriefing?
Post by: pazuzu on 05 Apr 2005, 23:30:17
Hmm, I thought I'd give this a try & I can't get it to work...

I got: onBriefingPlan "Sound1"  in my init.sqs file & I have my sounds classes in my description.ext but I dont hear the sound in briefing.

Does this work for multiplayer or just singleplayer?

Title: Re:playing music in debriefing?
Post by: Commando on 06 Apr 2005, 10:15:33
works in sp, maybe mp, haven't tried the mission in mp yet.
Title: Re:playing music in debriefing?
Post by: 456820 on 12 Apr 2005, 19:38:47
the exit.sqs file might work it is bascialy a init.sqs file just triggers at the end so you can put
playsound"soundname"
that might work but it might just stop at the debriefing but worth a try
Title: Re:playing music in debriefing?
Post by: Commando on 12 Apr 2005, 21:11:30
ok for the onbriefingplan , it doesn't work in MP ( i have tried it out a few times now ) been tested 10-20 times and it didn't work at all in mp games, only sp i guess.