so,
since userscreated music in-mission use by a description.ext does not accept the fademusic command correctely, I tried to make an addon.
First, I tried to make an object that plays the sound, but that wasn't satisfartory.
Then I simply replaced one of the music files, by changing the path in the config.bin to my .ogg file. and adding my file to the Music.pbo. But that means not using that Bis music file and is no good in a mission i want to publish.
So now I'm trying to do an addon to add a new music file below the existing files in the trigger effects menu.
Although I tried all day to use snYpir's tut to do it, I did not find out how to do that. The decripted config.bin adds Bis music as follows and thats what my config.ccp is:
class CfgMusic
{
access=1
tracks[]={"SwingKids1"};
class SwingKids1
{
name = "SwingKids";
sound[] = {"\Music\SwingKids2.ogg",1.000000,1.000000};
};
};
Now, I dont know if I need the class CfgPatsches.
Can it be done anyway?