swatstar98 0 Posted September 6, 2017 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"; }; }; Share this post Link to post Share on other sites
Von Quest 1163 Posted September 7, 2017 Classnames need to be one word, no spaces. Band_of_Brothers You also have a double underscore in the filepath. Share this post Link to post Share on other sites