Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: kr
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2012-08-19 04:45        
     
Hey, I have a problem with my own bgm.pbo.
I added some MW3 soundtracks.
well, I made my bgm folder, Music folder inside. Also, I created config.cpp
but when I launch Arma 2, It doesn't work!
with this error message : file bgm\config.cpp, line 15: /cfgMusic/: 'O' encountered instead of '{'



I don't know how can I make it.

Here is my config.cpp. please make this correct :(

sorry for my poor English.
<config.cpp>
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

#define private 0
#define protected 1
#define public 2

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

class CfgMusic
{
	tracks[]={01Call Of Duty_ MW3","02Russian Warfare","03Prague Hostilities","04I Stand Alone","05Hamburg Invasion","06Battle For New York","07Heroes","08Paris Siege","09Special Forces","10Russian Deliberations","11London Attack","12First Contact","13The Will Of A Single Man","14Subterranean Recon","15Scouting The Enemy","16Undersea Warfare_Somali Payback","17Warlords","18Manhattan Assault","19Arabian End Game","20MW3 End Credits","Blake Neely02The Medallion Calls","Green Day01Oh Love","The Hollywood Studio Symphony15He`s A Pirate","LMFAOParty Rock Anthem","Bueno ClinicSex Apeal","New DivideLinkin Prak","Sun 41Still waiting","Linkin ParkGiven up"};

	class 01Call Of Duty_ MW3
	{
		name = "MW3 - Call Of Duty_ MW3";
		sound[] = {"\BGM\music\01Call Of Duty_ MW3.ogg", db+0, 1.0};
	};
	class 02Russian Warfare
	{
		name = "MW3 - Russian Warfare";
		sound[] = {"\BGM\music\02Russian Warfare.ogg", db+0, 1.0};
	};
	class 03Prague Hostilities
	{
		name = "MW3 - Prague Hostilities";
		sound[] = {"\BGM\music\03Prague Hostilities.ogg", db+0, 1.0};
	};
	class 04I Stand Alone
	{
		name = "MW3 - I Stand Alone";
		sound[] = {"\BGM\music\04I Stand Alone.ogg", db+0, 1.0};
	};
	class 05Hamburg Invasion
	{
		name = "MW3 - Hamburg Invasion";
		sound[] = {"\BGM\music\05Hamburg Invasion.ogg", db+0, 1.0};
	};
	class 06Battle For New York
	{
		name = "MW3 - Battle For New York";
		sound[] = {"\BGM\music\06Battle For New York.ogg", db+0, 1.0};
	};
	class 07Heroes
	{
		name = "MW3 - Heroes";
		sound[] = {"\BGM\music\07Heroes.ogg", db+0, 1.0};
	};
	class 08Paris Siege
	{
		name = "MW3 - Paris Siege";
		sound[] = {"\BGM\music\08Paris Siege.ogg", db+0, 1.0};
	};
	class 09Special Forces
	{
		name = "MW3 - Special Forces";
		sound[] = {"\BGM\music\09Special Forces.ogg", db+0, 1.0};
	};
	class 10Russian Deliberations
	{
		name = "MW3 - Russian Deliberations";
		sound[] = {"\BGM\music\10Russian Deliberations.ogg", db+0, 1.0};
	};
	class 11London Attack
	{
		name = "MW3 - London Attack";
		sound[] = {"\BGM\music\11London Attack.ogg", db+0, 1.0};
	};
	class 12First Contact
	{
		name = "MW3 - First Contact";
		sound[] = {"\BGM\music\12First Contact.ogg", db+0, 1.0};
	};
	class 13The Will Of A Single Man
	{
		name = "MW3 - The Will Of A Single Man";
		sound[] = {"\BGM\music\13The Will Of A Single Man.ogg", db+0, 1.0};
	};
	class 14Subterranean Recon
	{
		name = "MW3 - Subterranean Recon";
		sound[] = {"\BGM\music\14Subterranean Recon.ogg", db+0, 1.0};
	};
	class 15Scouting The Enemy
	{
		name = "MW3 - Scouting The Enemy";
		sound[] = {"\BGM\music\15Scouting The Enemy.ogg", db+0, 1.0};
	};
	class 16Undersea Warfare_Somali Payback
	{
		name = "MW3 - Undersea Warfare_Somali Payback";
		sound[] = {"\BGM\music\16Undersea Warfare_Somali Payback.ogg", db+0, 1.0};
	};
	class 17Warlords
	{
		name = "MW3 - Warlords";
		sound[] = {"\BGM\music\17Warlords.ogg", db+0, 1.0};
	};
	class 18Manhattan Assault
	{
		name = "MW3 - Manhattan Assault";
		sound[] = {"\BGM\music\18Manhattan Assault.ogg", db+0, 1.0};
	};
	class 19Arabian End Game
	{
		name = "MW3 - Arabian End Game";
		sound[] = {"\BGM\music\19Arabian End Game.ogg", db+0, 1.0};
	};
	class 20MW3 End Credits
	{
		name = "MW3 - End Credits";
		sound[] = {"\BGM\music\20MW3 End Credits.ogg", db+0, 1.0};
	};
	class Green Day01Oh Love
	{
		name = "GreenDay - Oh Love";
		sound[] = {"\BGM\music\Green Day01Oh Love.ogg", db+0, 1.0};
	};
	class The Hollywood Studio Symphony15He`s A Pirate
	{
		name = "He is a pirate";
		sound[] = {"\BGM\music\The Hollywood Studio Symphony15He`s A Pirate.ogg", db+0, 1.0};
	};
	class Blake Neely02The Medallion Calls
	{
		name = "Medallion Calls";
		sound[] = {"\BGM\music\Blake Neely02The Medallion Calls.ogg", db+0, 1.0};
	};
};

This post was edited by Foxhound (2012-08-19 07:54, ago)


Author Message


Posts: 6
Rank:


Level: Member

Country: nl
Location: Leiden
Occupation:
Age: 28
In-game name: SMA.BULLD0G [RDF]

 
#2 Posted at 2012-09-25 17:23        
     
I had the same error, well not in the same config but with one of my classes.
I forgot to close it, check if you have something still open.. For so far i looked i can't see it.

Gr


Advertisement


Author Message

palyarmerc  

I live inside the editor


Posts: 753
Rank:


Level: Member

Country: uk
Location:
Occupation: *Retired from ArmA*
Age:
In-game name: Paly

 
#3 Posted at 2012-09-26 00:02        
     
This is an old post. Anyway...The error was here...a missing "

class CfgMusic
{
tracks[]={01Call Of Duty_ MW3",

....that's all folks....!

Author Message


Posts: 6
Rank:


Level: Member

Country: nl
Location: Leiden
Occupation:
Age: 28
In-game name: SMA.BULLD0G [RDF]

 
#4 Posted at 2012-09-26 12:30        
     
# palyarmerc : This is an old post. Anyway...The error was here...a missing "

class CfgMusic
{
tracks[]={01Call Of Duty_ MW3",

Wouw, that i didn't see that :-|






Tags: Addon, Config, Editing