Home   Help Search Login Register  

Author Topic: sound in briefings?  (Read 2334 times)

0 Members and 1 Guest are viewing this topic.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
sound in briefings?
« on: 21 Aug 2002, 21:39:08 »
is it possible?

basically having some1 say summit in the briefing page would be funny (well the use i have for it will) so is it possible and .... ummmm.... how?

cheers
Proud Member of the Volunteer Commando Battalion

mikeb

  • Guest
Re:sound in briefings?
« Reply #1 on: 21 Aug 2002, 21:43:08 »
Something to do with

 OnBriefingGear "GEARVOICEOVER"

 and so on for the other parts of the briefing.

However, the official comref isn't clear on exactly what goes in the voiceover part (v1.75 only) be it soundfile.ogg or whatever.  I guess it must be, and just defined in the description.ext.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:sound in briefings?
« Reply #2 on: 21 Aug 2002, 21:48:06 »
thanx.... at least i now know its possible. i checked the com ref and its not very clear - as you said....

has any1 out there got an example?

cheers
Proud Member of the Volunteer Commando Battalion

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:sound in briefings?
« Reply #3 on: 21 Aug 2002, 22:50:37 »
I think it goes in the description.ext

onBriefingGear = "soundclass"

but I ain't sure, I got it to work once but never again.  ???

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:sound in briefings?
« Reply #4 on: 22 Aug 2002, 02:32:54 »
hmmmm.... loooked at the command referece and saw nothing about it (old com ref)

does any1 out there have a working example? and is it possible for the speech only to occur on a certain page of the briefing or if some1 clicks on a button?
Proud Member of the Volunteer Commando Battalion

Nagual

  • Guest
Re:sound in briefings?
« Reply #5 on: 22 Aug 2002, 03:59:07 »
Define your sound in the description.ext like any other sound
Code: [Select]
class CfgSounds
{
             sounds[] =
   { yoursound };
   
   class yoursound
   
   {
      name = "yoursound";
      sound[] = {"yoursound.ogg", 1, 1.0};
      titles[] = {   };
   };
};

then put the :

OnBriefingGear "yoursound"

in the init.sqs, thats it, you can have one for briefing, notes, gear selection and group info, it will play the first time each page is viewed.


Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:sound in briefings?
« Reply #6 on: 22 Aug 2002, 11:47:09 »
aaaaah, briliant.

so then to get sound in like notes it would be...

OnNotesGear "yoursound"

???

thanx for the help.
Proud Member of the Volunteer Commando Battalion

Nagual

  • Guest
Re:sound in briefings?
« Reply #7 on: 22 Aug 2002, 12:30:37 »
ya, from comref:

onBriefingGear "sound"
onBriefingGroup "sound"
onBriefingNotes "sound"
onBriefingPlan "sound"

plan is the main briefing. :)

Anmac

  • Guest
Re:sound in briefings?
« Reply #8 on: 22 Aug 2002, 13:36:43 »
Yep, the init file is the place.

I've used all four in my new mission.

Works like a charm.

Too easy... I will complain to BIS... ::)

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:sound in briefings?
« Reply #9 on: 22 Aug 2002, 16:51:16 »
oooh cheers

thats great stuff - and yes, it does seem a bit too easy  ;D
Proud Member of the Volunteer Commando Battalion

T.S.C.Plage

  • Guest
Re:sound in briefings?
« Reply #10 on: 22 Aug 2002, 16:57:20 »
Yeah, of course very nice and also easily done! ;D

Why have they done things like that in such an easy way and for other more important things you've to study a whole year?

Ok, trying to use this feature in my next mission briefing (overview?)

Greetz
Plage