Hi there
I'm trying to do a Music and Sound addon for me to use in missions but i can't get the config right because i suck at scripting.
Anyway... What i want is to have the sounds and music files in the editor list where all the other sounds are but how?
I have a folder named skinmez and two sub folders, music and sound. All the music files are in .ogg format and in the music folder and the sounds in the sound folder. Than i just .PBO:ed the whole thing but i think it has something to do with my config because i cant find the sounds or the music in the editor.
My config...
class CfgMusic
{
class ambbattle1
{
name = "ambbattle1";
sound[] = {\skinmez\Music\ambbattle1.ogg, db+10, 1.0};
};
class ambbattle2
{
name = "ambbattle2";
sound[] = {\skinmez\Music\ambbattle2.ogg, db+10, 1.0};
};
class ambbattle3
{
name = "ambbattle3";
sound[] = {\skinmez\Music\ambbattle3.ogg, db+10, 1.0};
};
class ambbattle4
{
name = "ambbattle4";
sound[] = {\skinmez\Music\ambbattle4.ogg, db+10, 1.0};
};
}
class CfgSound
{
class alert1
{
name = "alert1";
sound[] = {\skinmez\sound\alert1.ogg, db+10, 1.0};
};
class alert2
{
name = "alert2";
sound[] = {\skinmez\sound\alert2.ogg, db+10, 1.0};
};
class alert3
{
name = "alert3";
sound[] = {\skinmez\sound\alert3.ogg, db+10, 1.0};
};
class alert4
{
name = "alert4";
sound[] = {\skinmez\sound\alert4.ogg, db+10, 1.0};
};
class alert5
{
name = "alert5";
sound[] = {\skinmez\sound\alert5.ogg, db+10, 1.0};
};
class attack1
{
name = "attack1";
sound[] = {\skinmez\sound\attack1.ogg, db+10, 1.0};
};
class attack2
{
name = "attack2";
sound[] = {\skinmez\sound\attack2.ogg, db+10, 1.0};
};
class attack3
{
name = "attack3";
sound[] = {\skinmez\sound\attack3.ogg, db+10, 1.0};
};
class attack4
{
name = "attack4";
sound[] = {\skinmez\sound\attack4.ogg, db+10, 1.0};
};
class attack5
{
name = "attack5";
sound[] = {\skinmez\sound\attack5.ogg, db+10, 1.0};
};
class attack6
{
name = "attack6";
sound[] = {\skinmez\sound\attack6.ogg, db+10, 1.0};
};
class attack7
{
name = "attack7";
sound[] = {\skinmez\sound\attack7.ogg, db+10, 1.0};
};
class attack8
{
name = "attack8";
sound[] = {\skinmez\sound\attack8.ogg, db+10, 1.0};
};
class attack9
{
name = "attack9";
sound[] = {\skinmez\sound\attack9.ogg, db+10, 1.0};
};
class attack10
{
name = "attack10";
sound[] = {\skinmez\sound\attack10.ogg, db+10, 1.0};
};
class attackg1
{
name = "attackg1";
sound[] = {\skinmez\sound\attackg1.ogg, db+10, 1.0};
};
class attackg2
{
name = "attackg2";
sound[] = {\skinmez\sound\attackg2.ogg, db+10, 1.0};
};
class attackg3
{
name = "attackg3";
sound[] = {\skinmez\sound\attackg3.ogg, db+10, 1.0};
};
class attackg4
{
name = "attackg4";
sound[] = {\skinmez\sound\attackg4.ogg, db+10, 1.0};
};
class attackg5
{
name = "attackg5";
sound[] = {\skinmez\sound\attackg5.ogg, db+10, 1.0};
};
class attackg6
{
name = "attackg6";
sound[] = {\skinmez\sound\attackg6.ogg, db+10, 1.0};
};
class attackg7
{
name = "attackg7";
sound[] = {\skinmez\sound\attackg7.ogg, db+10, 1.0};
};
class attackg8
{
name = "attackg8";
sound[] = {\skinmez\sound\attackg8.ogg, db+10, 1.0};
};
class attackg9
{
name = "attackg9";
sound[] = {\skinmez\sound\attackg9.ogg, db+10, 1.0};
};
class attackg10
{
name = "attackg10";
sound[] = {\skinmez\sound\attackg10.ogg, db+10, 1.0};
};
class attackg11
{
name = "attackg11";
sound[] = {\skinmez\sound\attackg11.ogg, db+10, 1.0};
};
class attackg12
{
name = "attackg12";
sound[] = {\skinmez\sound\attackg12.ogg, db+10, 1.0};
};
class attackg13
{
name = "attackg13";
sound[] = {\skinmez\sound\attackg13.ogg, db+10, 1.0};
};
class attackg14
{
name = "attackg14";
sound[] = {\skinmez\sound\attackg14.ogg, db+10, 1.0};
};
class attackg15
{
name = "attackg15";
sound[] = {\skinmez\sound\attackg15.ogg, db+10, 1.0};
};
class attackg16
{
name = "attackg16";
sound[] = {\skinmez\sound\attackg16.ogg, db+10, 1.0};
};
class attackg17
{
name = "attackg17";
sound[] = {\skinmez\sound\attackg17.ogg, db+10, 1.0};
};
class attackg18
{
name = "attackg18";
sound[] = {\skinmez\sound\attackg18.ogg, db+10, 1.0};
};
class attackg19
{
name = "attackg19";
sound[] = {\skinmez\sound\attackg19.ogg, db+10, 1.0};
};
class attackg20
{
name = "attackg20";
sound[] = {\skinmez\sound\attackg20.ogg, db+10, 1.0};
};
class attackg21
{
name = "attackg21";
sound[] = {\skinmez\sound\attackg21.ogg, db+10, 1.0};
};
class attackg22
{
name = "attackg22";
sound[] = {\skinmez\sound\attackg22.ogg, db+10, 1.0};
};
class attackg23
{
name = "attackg23";
sound[] = {\skinmez\sound\attackg23.ogg, db+10, 1.0};
};
class attackg24
{
name = "attackg24";
sound[] = {\skinmez\sound\attackg24.ogg, db+10, 1.0};
};
class attackg25
{
name = "attackg25";
sound[] = {\skinmez\sound\attackg25.ogg, db+10, 1.0};
};
class attackg26
{
name = "attackg26";
sound[] = {\skinmez\sound\attackg26.ogg, db+10, 1.0};
};
class cover1
{
name = "cover1";
sound[] = {\skinmez\sound\cover1.ogg, db+10, 1.0};
};
class cover2
{
name = "cover2";
sound[] = {\skinmez\sound\cover2.ogg, db+10, 1.0};
};
class cover3
{
name = "cover3";
sound[] = {\skinmez\sound\cover3.ogg, db+10, 1.0};
};
class cover4
{
name = "cover4";
sound[] = {\skinmez\sound\cover4.ogg, db+10, 1.0};
};
class cover5
{
name = "cover5";
sound[] = {\skinmez\sound\cover5.ogg, db+10, 1.0};
};
class cover6
{
name = "cover6";
sound[] = {\skinmez\sound\cover6.ogg, db+10, 1.0};
};
class cover7
{
name = "cover7";
sound[] = {\skinmez\sound\cover7.ogg, db+10, 1.0};
};
class cover8
{
name = "cover8";
sound[] = {\skinmez\sound\cover8.ogg, db+10, 1.0};
};
class cover9
{
name = "cover9";
sound[] = {\skinmez\sound\cover9.ogg, db+10, 1.0};
};
class cover10
{
name = "cover10";
sound[] = {\skinmez\sound\cover10.ogg, db+10, 1.0};
};
class cover11
{
name = "cover11";
sound[] = {\skinmez\sound\cover11.ogg, db+10, 1.0};
};
class coverg1
{
name = "coverg1";
sound[] = {\skinmez\sound\coverg1.ogg, db+10, 1.0};
};
class coverg2
{
name = "coverg2";
sound[] = {\skinmez\sound\coverg2.ogg, db+10, 1.0};
};
class coverg3
{
name = "coverg3";
sound[] = {\skinmez\sound\coverg3.ogg, db+10, 1.0};
};
class coverg4
{
name = "coverg4";
sound[] = {\skinmez\sound\coverg4.ogg, db+10, 1.0};
};
class dir1
{
name = "dir1";
sound[] = {\skinmez\sound\dir1.ogg, db+10, 1.0};
};
class dir2
{
name = "dir2";
sound[] = {\skinmez\sound\dir2.ogg, db+10, 1.0};
};
class panic1
{
name = "panic1";
sound[] = {\skinmez\sound\panic1.ogg, db+10, 1.0};
};
}