It gives me this error File: music\config.cpp, line 21: /CfgMusic/: 'o' encountered instead of '{'
Here you have the code.
#include "BIS_AddonInfo.hpp"
class CfgPatches
{
class WWII
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
class Prueba
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
class CfgMusicClasses
{
class WWII
{
displayName = "Musica WWII";
};
class Prueba
{
displayName = "Prueba";
};
};
class CfgMusic
{
class Band of Brothers
{
name = "Main Theme Band of Brothers";
sound[] = {"\music\Band_of_Brothers__Main_theme_Soundtrack.ogg",1,1};
theme = "Lead";
duration = "145";
musicClass = "WWII";
};
class The Pacific
{
name = "Main Theme The Pacific";
sound[] = {"\music\The_Pacific_soundtrack_main_theme.ogg",1,1};
theme = "Lead";
duration = "178";
musicClass = "Prueba";
};
};