Home   Help Search Login Register  

Author Topic: How to call a ogg music-file from a pbo in Res\AddOns or AddOns folder?  (Read 723 times)

0 Members and 1 Guest are viewing this topic.

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
I would like to be able to call music files in the form of OGG-files from a PBO placed in Res\AddOns or AddOns folder in missions.. How is this possible (if it indeed is)? ???

Flapje

  • Guest
I included a description.ext, you can look into it. It's for 4 different sounds. I dont really feel like explaining it right now :) but you can look into it.


SharkDog

  • Guest
Clarify your question please....
« Last Edit: 13 Apr 2003, 00:21:04 by SharkDog »

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
right this works for me in a campaign

class CfgMusic
{
   tracks[]={example};

        class example
        {
           name = "example";
           sound[] = {\..\..\..\..\addons\pboname\musicname.ogg, db+0, 1.0};
        };
};

don't put pboname.pbo

If its a single mission I think the path would be this

\..\..\..\addons\pboname\musicname.ogg

Offline Jahve

  • Former Staff
  • ****
    • Jahwerks
right this works for me in a campaign

class CfgMusic
{
   tracks[]={example};

        class example
        {
           name = "example";
           sound[] = {\..\..\..\..\addons\pboname\musicname.ogg, db+0, 1.0};
        };
};

don't put pboname.pbo

If its a single mission I think the path would be this

\..\..\..\addons\pboname\musicname.ogg

im not stupid  ;)

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
 ;D sorry I've been here too long, I just give simple answers so anybody can follow it.