Jump to content
Sign in to follow this  
stayfrosty24

Need Help with config file

Recommended Posts

Hi all,

I'm trying to create a addon for retextured vests. I tried in with one vest but it isn't working.

Can anybody help me or point me in the right direction?

class CfgPatches
{
class A3_Vests_F
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	author[] = {"SF24"};
	requiredAddons[] = {"A3_Characters_F"};
};
};

class CfgWeapons
{
class Vest_Camo_Base;
class Vest_NoCamo_Base;
class ItemInfo;

class V_TacVest_mtp : Vest_NoCamo_Base;
{
	author = "StayFrosty24";
	_generalMacro = "V_TacVest_mtp";
	scope = 2;
	displayname = "Tactical Vest (MTP)";
	picture = "\A3_Vests_F\Data\UI\icon_V_TacVest_mtp_ca.paa";
	model = "\A3\Characters_F\Common\equip_tacticalvest";
	hiddenSelections[] = {"\A3_Vests_F\Data\tacticalvest_mtp_co.paa"};

	class ItemInfo : ItemInfo
	{
		uniformModel = "\A3\Characters_F\Common\equip_tacticalvest";
		containerClass = "Supply100";
		mass = 40;
		armor = 20;
		passThrough = 1;
	};
};
};

EDIT:

After many hours of trying i fixed it. I forgot the hiddenSelections[]={"Camo"}; line.

Edited by StayFrosty24

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  

×