Jump to content
Sign in to follow this  
combat-agent

Replacement Config

Recommended Posts

Im trying to replace one of the default units with a different model but am having troubles. When I pbo the file, it says "Config : some input after EndOfFile. Im using PBO view to pbo it up.

heres the cpp.

class CfgPatches {

class MERCRepl {
	units = {"FR_Assault_R"};
	weapons = {};
	requiredVersion = 1.560000;
	requiredAddons = {"CACharacters2", "CAWeapons", "CAWeapons_E","BB_Mercenary"};
};
};

class CfgVehicles {
/*extern*/ class BlackOpMercenary;

class FR_Assault_R: Mercenary_Default9a {
	scope = 2;
	accuracy = 1000;
	displayName = "BlackOp (no headgear)";
	vehicleClass = "BB_MercenaryB";
	identityTypes = "{"Head_USMC"}";
	model = "\bb_mercs_desert\noheadgear_blackop.p3d";
};
};

Share this post


Link to post
Share on other sites
class CfgPatches
{
class MERCRepl
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"CACharacters2","BB_Mercenary"};
};
};
class CfgVehicles
{
class FR_R;
class FR_Assault_R: FR_R
{
	identityTypes[] = {"Head_USMC"};
	model = "\bb_mercs_desert\noheadgear_blackop.p3d";
};
};

Edited by .kju [PvPscene]

Share this post


Link to post
Share on other sites

class CfgPatches
{
class MERCRepl
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons = {"CACharacters2","BB_Mercenary"};
};
};
class CfgVehicles
{
class FR_R;
class FR_Assault_R: FR_R
{
	identityTypes[] = {"Head_USMC"};
	model = "\bb_mercs_desert\noheadgear_blackop.p3d";
};
};

;)

Share this post


Link to post
Share on other sites

You missed another one :p

		requiredAddons[] = {"CACharacters2","BB_Mercenary"};

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  

×