Jump to content

--LKK.Burnix--

Member
  • Content Count

    18
  • Joined

  • Last visited

  • Medals

Posts posted by --LKK.Burnix--


  1. Hi there,

    I´ve made my musicaddon for my campaign.

    Now i wanna make an addon, where is an config.cpp with this:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches

    {

    class ca_music_random

    {

    units[] = {};

    weapons[] = { };

    worlds[] = { };

    requiredVersion = 1.30;

    };

    };

    class UserActions {

    class ca_music_random

    {

    displayName="( PLAY RANDOM MUSIC )";

    position="";

    radius=1.0;

    condition="true";

    statement="this exec ""ca_music\random.sqs"";";

    };

    }

    Okay, the random music script has I made. Now I wanna know, why my Unit (in Single- Multiplayer) doesn´t become this action.

    So, everytime, everywhere!

    Anyone understand me?


  2. Coool! Now it works!

    I have insert this:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

    class CfgMusic

    {

    tracks[]={ caTheme, caPeace, caOntheRun, xcaHeavyInasion };

    Thanks for support!


  3. Now It looks like this:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches

    {

    class ca_music

    {

    units[] = {};

    weapons[] = { };

    worlds[] = { };

    requiredVersion = 1.00;

    };

    };

    class CfgMusic

    {

    class caTheme

    {

    name="CA 1 - Theme";

    sound[]={\ca_music\caTheme.ogg,1.000000,1.000000};

    };

    class caPeace

    {

    name="CA 2 - Peace";

    sound[]={\ca_music\caPeace.ogg,1.000000,1.000000};

    };

    class caOntheRun

    {

    name="CA 3 - On the Run";

    sound[]={\ca_music\caOntheRun.ogg,1.000000,1.000000};

    };

    class caHeavyInasion

    {

    name="CA 4 - Heavy Invasion";

    sound[]={\ca_music\caHeavyInvasion.ogg,1.000000,1.000000};

    };

    };

    But it dont work...


  4. No, but now I have insert this:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

    class CfgPatches

    {

      class your_unique_addon_name

      {

          units[] = {};

          weapons[] = { };

          worlds[] = { };

          requiredVersion = 1.00;

      };

    };

    Then I made the PBO and packed this into Addons folder. But again it found no music  sad_o.gif

    Here now the full config.cpp:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

    class CfgPatches

    {

    class ca_music

    {

    units[] = {};

    weapons[] = { };

    worlds[] = { };

    requiredVersion = 1.00;

    };

    };

    class CfgMusic

    {

    access=1;

    class caTheme

    {

    name="CA 1 - Theme";

    sound[]={"caTheme.ogg",1.000000,1.000000};

    };

    class caPeace

    {

    name="CA 2 - Peace";

    sound[]={"caPeace.ogg",1.000000,1.000000};

    };

    class caOntheRun

    {

    name="CA 3 - On the Run";

    sound[]={"caOntheRun.ogg",1.000000,1.000000};

    };

    class caHeavyInasion

    {

    name="CA 4 - Heavy Invasion";

    sound[]={"caOntheRun.ogg",1.000000,1.000000};

    };

    };

    mad_o.gif


  5. Sorry, but OFP couldn´t find my music.

    I have a folder: There are my four music files, then here the config.cpp:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

    class CfgMusic

    {

    access=1;

    class caTheme

    {

    name="CA 1 - Theme";

    sound[]={"caTheme.ogg",1.000000,1.000000};

    };

    class caPeace

    {

    name="CA 2 - Peace";

    sound[]={"caPeace.ogg",1.000000,1.000000};

    };

    class caOntheRun

    {

    name="CA 3 - On the Run";

    sound[]={"caOntheRun.ogg",1.000000,1.000000};

    };

    class caHeavyInasion

    {

    name="CA 4 - Heavy Invasion";

    sound[]={"caOntheRun.ogg",1.000000,1.000000};

    };

    };

    Is that right?

    And yes, it´s a PBO file, and no folder in my Addons folder.

    sad_o.gif


  6. I think you don't understand.

    When my campaign is done, I pack all the music files into the PBO. I only want to know how to describe the music files into OFP.

    @theavonlady

    Sorry, if I can understand Amore, I want use that. But.. you know what I mean wink_o.gif


  7. I have again my problem, my campaign is to large. 50MB without addons. I have include music into every mission.

    Is it possible do make an Addon, and now I mean not Amore, wich include my music into the OFP? Like I can chose it in the Mission Editor at the effects menu.

    I have unpacked in the DTA folder the music.pbo

    But I find just .ogg files! And now config or anything else.

    How has BIS include this?

    Please help me. And please not Amore!


  8. Hi, im German, but I try to translate.

    Is it possible to make a addon, wich insert music in OFP?

    I make a campaign, wich have many music. I hate that, to build in the music in every mission. So, the music should be aviable in every mission.

    Please help!

    ( I know, my english is terrible... tounge_o.gif )

×