Home   Help Search Login Register  

Author Topic: Help - Sound Addon  (Read 926 times)

0 Members and 1 Guest are viewing this topic.

Jenkins

  • Guest
Help - Sound Addon
« on: 08 Dec 2004, 02:33:37 »
Hello,

 I got a bunch of sounds togehter (War ambience) and converted them to .ogg, then placed them together in a folder, with a config file, hoping it'd work. It didn't.

 I want the sounds to be selectable through the trigger menu (Envrionment/Anyomnous, etc) but I have no idea how, and I need help. This is the config I have set up for it already.

Code: [Select]
class CfgPatches
{
class CfgSounds {
    access=1;

    class City Battle1
    {
        name="Battle 1-D";
       sound[]={"\WarSound\Sounds\city_battle1.ogg",0.100000,1.000000};
       titles[]={};
    };

    class CityBattle2
    {
        name="Battle 2-D";
       sound[]={"\WarSound\Sounds\city_battle2.ogg",0.100000,1.000000};
       titles[]={};
    };

    class CityBattle3
    {
        name="Battle 3-D";
       sound[]={"\WarSound\Sounds\city_battle3.ogg",0.100000,1.000000};
       titles[]={};
    };

    class CityBattle4
    {
        name="Battle 4-D";
       sound[]={"\WarSound\Sounds\city_battle4.ogg",0.100000,1.000000};
       titles[]={};
    };

    class CityBattle5
    {
        name="Battle 5-D";
       sound[]={"\WarSound\Sounds\city_battle5.ogg",0.100000,1.000000};
       titles[]={};
    };

    class CityBattle8
    {
        name="Battle 1-D";
       sound[]={"\WarSound\Sounds\city_battle8.ogg",0.100000,1.000000};
       titles[]={};
    };


6 Sounds total, inside a folder "WarSound", and then a folder inside that "Sounds." Any help would be greatly appreciated.

Edit - Forgot to mention I .pbo'd it and put it in my addons folder. I want it in .pbo form so I can send it to my friends.
« Last Edit: 08 Dec 2004, 02:36:02 by Jenkins »