OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Messiah 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
-
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.
-
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
-
I think it goes in the description.ext
onBriefingGear = "soundclass"
but I ain't sure, I got it to work once but never again. ???
-
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?
-
Define your sound in the description.ext like any other sound
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.
-
aaaaah, briliant.
so then to get sound in like notes it would be...
OnNotesGear "yoursound"
???
thanx for the help.
-
ya, from comref:
onBriefingGear "sound"
onBriefingGroup "sound"
onBriefingNotes "sound"
onBriefingPlan "sound"
plan is the main briefing. :)
-
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... ::)
-
oooh cheers
thats great stuff - and yes, it does seem a bit too easy ;D
-
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