Home   Help Search Login Register  

Author Topic: briefing sounds  (Read 684 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
briefing sounds
« on: 25 Mar 2005, 09:12:02 »
ok i have defined the sounds that i want to play on my briefing in the description.ext as a sound file in a sound folder is that right or should it be a enviromental sound or sfx
anyway then i call it in the description.ext like this

Code: [Select]
onBriefingGear = "sound1";
onBriefingGroup = "sound2";
onBriefingNotes = "sound3";
onBriefingPlan "sound4";
rest of file here

so thats what i put its what the com ref says to put but it doesnt seem to play the sound there only like second long files of like guns gettinng cocked for the gear and things
but am i doing anything wrong there


Offline 456820

  • Contributing Member
  • **
Re:briefing sounds
« Reply #1 on: 25 Mar 2005, 09:17:07 »
and how can you have it so its every time you cilck on the tags at the top of the page so its not just click on it once and you cant get the sound again

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:briefing sounds
« Reply #2 on: 25 Mar 2005, 10:06:51 »
Just use normal sound files, but I think you are using the wrong file

Quote
anyway then i call it in the description.ext like this

Code:onBriefingGear = "sound1";
onBriefingGroup = "sound2";
onBriefingNotes = "sound3";
onBriefingPlan "sound4";
rest of file here


That code should be in init.sqs not in description.ext

description.ext should have:
   class sound1
   {
      name = "";
      sound[] = {"\sound\sound1.ogg", 0.3, 1};
      titles[] = {};
   };

etc.

Quote
and how can you have it so its every time you cilck on the tags at the top of the page so its not just click on it once and you cant get the sound again
You can't.  The sound is one time only.
« Last Edit: 25 Mar 2005, 10:10:29 by THobson »

Offline 456820

  • Contributing Member
  • **
Re:briefing sounds
« Reply #3 on: 25 Mar 2005, 10:14:11 »
how do you mean by wrong sound file do you mean it should not be defined as sound
and i have converted it to an .ogg

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:briefing sounds
« Reply #4 on: 25 Mar 2005, 10:22:00 »
Not wrong sound files.  Wrong text files.  You said you put the instructions in description.ext,  I said that is wrong, they should be in init.sqs
« Last Edit: 25 Mar 2005, 10:22:15 by THobson »

Offline 456820

  • Contributing Member
  • **
Re:briefing sounds
« Reply #5 on: 25 Mar 2005, 10:22:49 »
oh ok thanks i will try that right now

Offline 456820

  • Contributing Member
  • **
Re:briefing sounds
« Reply #6 on: 25 Mar 2005, 10:41:09 »
ok it only worked for the plan but when i clicked on any other links it just played the normal page turning sound ofp provides

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:briefing sounds
« Reply #7 on: 25 Mar 2005, 11:18:30 »
If you de-pbo my Abandones Armies mission you will see how I did it.
« Last Edit: 25 Mar 2005, 11:18:39 by THobson »

Offline 456820

  • Contributing Member
  • **
Re:briefing sounds
« Reply #8 on: 25 Mar 2005, 11:40:26 »
yep ive got it working not sure what was wrong but its working
thanks eeryone for your help