Jump to content
Sign in to follow this  
SpecOp9

Config.cpp for music addons

Recommended Posts

Hello, I'm trying to make a simple .pbo file containing music, so that when you go in the editor you can locate the music via trigger.

I just require the config.cpp. Anybody know where to find one?

Nevermind, I was able to get the OFP music to ARMA addon. If you are doing a search and find this thread, for reference it is

class CfgPatches
{
class MusicAddonName
{
units[] = {};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {};
};
};


class CfgMusic  
{
class MainTheme
{
name = "Main Theme";
sound[] = {"\MusicAddonName\MainTheme.ogg",1,1 };
};

class EndTheme
{
name = "End Theme";
sound[] = {"\MusicAddonName\EndTheme.ogg",1,1 };
};

};

Just be sure to add an extra

};

at the very end of your list

Edited by SpecOp9
nvm

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×