Home   Help Search Login Register  

Author Topic: So i got my .ogg file?....  (Read 3630 times)

0 Members and 1 Guest are viewing this topic.

SharkDog

  • Guest
So i got my .ogg file?....
« on: 14 Oct 2002, 22:19:48 »
Ok so i got my .ogg file and i want to test it in game.
Were do i put it in my mission so i can choose it from the music bar in the triggers.

Plz help, i really need to know.
thx in advance.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:So i got my .ogg file?....
« Reply #1 on: 14 Oct 2002, 22:24:55 »
you should go and post this in the 'sounds and cutscenes' board  :P

check the editors depot or use the search function - im very very very sure this has been asked many times before and you should try and look for it.
Proud Member of the Volunteer Commando Battalion

SharkDog

  • Guest
Re:So i got my .ogg file?....
« Reply #2 on: 14 Oct 2002, 22:50:39 »
Thats what i have done thats how i discovered that i have to make an .ogg file but then it says: copy this to the right subfile in you mission, bu I mean  :o :o wich f**king subfile or other stuff.

Plz i need help, i couldnt find it, il search more now but i doubt i will find what im searching for.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:So i got my .ogg file?....
« Reply #3 on: 14 Oct 2002, 23:06:15 »
ok, well heres a very bref description of what to do...

now the subfiles for sounds are basically folders in the mission folder...

so create a folder called Music and a folder called Sound in the actual mission folder. This is where you put yor ogg.

Now to make it play in the editor u shud go grab a example of a description.ext file from the editors depot - this is needed to 'tell' the game there's a custom sound that needs to be added to the trigger effects list.
Proud Member of the Volunteer Commando Battalion

SharkDog

  • Guest
Re:So i got my .ogg file?....
« Reply #4 on: 14 Oct 2002, 23:21:17 »
I cant find an example.

but thank you for helping me out further.

Kaliyuga

  • Guest
Re:So i got my .ogg file?....
« Reply #5 on: 15 Oct 2002, 05:42:49 »
class CfgMusic
{
      tracks[]={music};
 
      class music
      {
            name = "";
            sound[] = {\Music\WhiteZombie.ogg,db+30, 1.0};
      };
 class music1
      {
            name = "";
            sound[] = {\music\People of the Sun.ogg, db+30,  
1.0};
      };
 
};


 Put that in your description.ext  and replace the "WhiteZombie" and "People of the Sun" with the names of your .ogg files.

Then.. in a trigger use this syntax to play the first song:

playmusic "music"

or this:   playmusic "music1"
 to play the second ;)

SharkDog

  • Guest
Re:So i got my .ogg file?....
« Reply #6 on: 15 Oct 2002, 11:54:04 »
I really thank you for helping me all, but i'm affraid i need your help again.

I coppied and pasted your description.ext it looks like this

class CfgMusic
{
      tracks[]={music};

      class music
      {
            name = "";
            sound[] = {\Music\barber.ogg,db+30, 1.0};
      };
class music1
      {
            name = "";
            sound[] = {\music\barber.ogg, db+30,  
1.0};
      };

};

maby its because i use 1 song and not 2, i don't know but if this is good, plz tell me were i save this description.ext.
Just in my mission folder?

and were in the trigger do i put this playmusic "music"

My song i want to put in is Samuel barbers modern strings, its 1.61 mb.

SharkDog

  • Guest
Re:So i got my .ogg file?....
« Reply #7 on: 15 Oct 2002, 11:59:53 »
i treid more, and in the editor i then says couldn't find music
plz help :-\

Kaliyuga

  • Guest
Re:So i got my .ogg file?....
« Reply #8 on: 15 Oct 2002, 12:29:55 »
so create a folder called Music and a folder called Sound in the actual mission folder. This is where you put yor ogg

Just caught this bit... and this might be your sticking point...

You only need to make one folder.... named music  inside your mission folder.. where the description.ext and everything goes

Then.. place yer .ogg file in there...
 I'm guessing the sound folder would be for any .wss files?? (but that's another story ;)  )

Also... you are telling OFP that both music and music1 are the same file.. this could be another problem with your description.ext  (you have barber.ogg listed twice) ... just change the name of music1  to barber1 or you can even delete that part if you want.....  

Then.. the description.ext is saved in your mission folder as well...  

You place the syntax for calling the music in the activation field of a trigger/waypoint  

playmusic "music"

that should be it....  


SharkDog

  • Guest
Re:So i got my .ogg file?....
« Reply #9 on: 15 Oct 2002, 13:03:38 »
Sigh tried it all, i dont know what im doing wrong, doesnt anyone know an example mission were you just put your own .ogg in and only change the words in description.ext, otherwise nevermind.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:So i got my .ogg file?....
« Reply #10 on: 15 Oct 2002, 14:44:00 »
sorry, but i was correct the first time  ;)

music folder cntains sounds that will be played like music - so over the sfx and global sounds.

sounds folder is for any sound that is specific to a place or unit - like talking.

the description file DOES NOT go in these folders - it is placed into the main mission folder.

try and fill in the 'name' section - this is the name the music is given in the editor effects list. and, well, make sure you have spelt it all correctly.
Proud Member of the Volunteer Commando Battalion

SharkDog

  • Guest
Re:So i got my .ogg file?....
« Reply #11 on: 15 Oct 2002, 16:04:37 »
hmm i still can't get it to work...
are there any example missions? wich i can check out

Kaliyuga

  • Guest
Re:So i got my .ogg file?....
« Reply #12 on: 15 Oct 2002, 20:22:26 »


[attachment deleted by admin]

SharkDog

  • Guest
Re:So i got my .ogg file?....
« Reply #13 on: 15 Oct 2002, 20:43:49 »
OK thx to you i have came a step further, i  don't get the message: canot find Music music.
so i guess the music just is playing, but i put my boxes on the highest volume but i didn't hear a thing

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:So i got my .ogg file?....
« Reply #14 on: 16 Oct 2002, 01:43:02 »
sometimes that happens...

can be for several reasons...

the common ones (i find) is that you have placed the sound part of the description.ext at the bottom of the list - dunno why, but if the sound isnt playing then this can help if you place it at the top

or

the .ogg u have is not compatible with ofp - to say its not at 44100 Hz or other such reasons.

Proud Member of the Volunteer Commando Battalion