I've gotten custom music to work. I take it you've used the
playmusic "mysong"
as the code in the script?
Below worked for me in my mission:
class CfgMusic
{
// List of music tracks (.ogg files without the .ogg extension)
tracks[] = {kashmir, adagio};
// Class definition needed for each music track
class kashmir
{
// Name to display in mission editor
name = "kashmir";
// Music path, volume, pitch
sound[] = {\music\kashmir.ogg, db + 0, 1.0};
};
class adagio
{
// Name to display in mission editor
name = "adagio";
// Music path, volume, pitch
sound[] = {\music\adagio.ogg, db + 100, 1.0};
};
};