Jump to content
Sign in to follow this  
Rabbit35

Unspecified Error While Packing Small Unit Config

Recommended Posts

While trying to use addon builder to pack a small test mod to try and set up some factions for a larger mod, I keep getting the following error 

 

Build failed. Result code=1

CfgConvert task failed.

Config : some input after EndOfFile.

Error reading config file 'C:\Users\Jack\Desktop\wc\config.cpp'

 

This is the config I'm trying to pack

class CfgPatches {
	class WC_WWII {
		units[] = {"B_WC_AB_Soldier", "B_WC_wdl_Soldier"};
		weapons[] = {"U_WC_US_wdl_uniform1"};
		requiredVersion = 1.4;
		requiredAddons = {"A3_Data_F", "A3_Weapons_F", "A3_Characters_F", "A3_Characters_F_BLUFOR"};
	};
};

class CfgFactionClasses {
	class WC_USA_ARMY_EU {
		displayName = "US Army (European Front)";
		priority = 2;
		side = "TWest";
	};
	
	class WC_GER_WER_EU {
		displayName = "Deutsche Wehrmacht (European Front)";
		priority = 2;
		side = "TEast"
	};
};

class CfgVehicleClasses {
	class WC_inf_AB {
		displayName = "Men (Airborne)";
	};
	
	class WC_inf_wdl {
		displayName = "Men";
	};
};

class CfgVehicles {
	class B_Soldier_F;
	class B_WC_AB_Soldier : B_Soldier_F {
		_generalMacro = "B_WC_AB_Soldier";
		scope = public;
		displayName = "Rifleman (M1)";
		author = "War Chronicles Team";
		faction = WC_USA_ARMY_EU;
		vehicleClass = WC_inf_AB;
		nakedUniform = "U_BasicBody";
		uniformClass = "U_WC_US_wdl_uniform1";
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"Rabbit\data\camo_woodland.paa"};
	};
	
	class B_WC_wdl_Soldier : B_Soldier_F {
		_generalMacro = "B_WC_wdl_Soldier";
		scope = public;
		displayName = "Rifleman (M1)";
		author = "War Chronicles Team";
		faction = WC_USA_ARMY_EU;
		vehicleClass = WC_inf_wdl;
		nakedUniform = "U_BasicBody";
		uniformClass = "U_WC_US_wdl_uniform1";
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"Rabbit\data\camo_woodland.paa"};
	};
};

class CfgWeapons {
	class U_I_CombatUniform;
	class U_WC_US_wdl_uniform1: U_I_CombatUniform 
	{
		scope = 2;
		author = "War Chronicles Team";
		displayname = "TFS woodland";
		hiddenSelectionsTextures[] = {"Rabbit\data\camo_woodland.paa"};
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "woodland";
			containerClass = "Supply50";
			mass = 50;
			hiddenSelections[] = {"Camo"};
		};
	};
};

any ideas what might be causing this?  any help whatsoever would be appreciated

Share this post


Link to post
Share on other sites

Solved, one square bracket missing from requiredAddons

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  

×