I was trying to create a music addon, here's what I did:
I created a 'bhd.pbo' which included one ogg filed called bhd.ogg that was put in 'music' subfolder. Then i wrote this config:
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
class CfgPatches
{
class BHD
{
units[] = {};
weapons[] = {};
requiredVersion = 1.01;
};
};
class CfgMusic
{
acces=1
tracks[]=
{
BHD
};
class BHD
{
name = "Leave No Man Behind"
sound[] = {\bhd\music\BHD.ogg, db+50, 1.};
};
};
However wit no relult
Anyone has a clue how to create a music addon or if it's possible at all?