ronen rond 15 Posted May 16, 2016 Hey guys i looking for some help im making a vest with a custom p3d and im trying to give it some protection but with no luck mass = 15; armor = "1000"; passThrough = 2; im usingthe uni vest Vest_Camo_Base Share this post Link to post Share on other sites
Jackal326 1182 Posted May 16, 2016 Hey guys i looking for some help im making a vest with a custom p3d and im trying to give it some protection but with no luck mass = 15; armor = "1000"; passThrough = 2; im usingthe uni vest Vest_Camo_Base That code would have worked if you'd made the vest 2 years ago. However, times have changed and so has the way PPE is coded: Check the 'Armoured Vest' section of the link. Share this post Link to post Share on other sites
ronen rond 15 Posted May 16, 2016 Something like this class CfgPatches { class 4_IB { requiredAddons[] = {"A3_Characters_F"}; requiredVersion = 1.0; units[] = {}; weapons[] = {}; }; }; class cfgWeapons { class ItemCore; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class V_vest_new: Vest_Camo_Base { author = "Splendid Modder"; scope = 2; displayName = "New Vest"; picture = "\A3\characters_f\Data\UI\icon_V_BandollierB_CA.paa"; model = "vest\VEST.p3d"; hiddenSelectionsTextures[] = {"vest\data\VEST.paa"}; class ItemInfo: ItemInfo { uniformModel = "vest\VEST.p3d"; containerClass = Supply80; mass = 15; class HitpointsProtectionInfo { class Neck { hitpointName = "HitNeck"; // reference to the hit point class defined in the man base class armor = 8; // addition to armor of referenced hitpoint passThrough = 0.5; // multiplier of base passThrough defined in referenced hitpoint }; class Arms { hitpointName = "HitArms"; armor = 8; passThrough = 0.5; }; class Chest { hitpointName = "HitChest"; armor = 24; passThrough = 0.1; }; class Diaphragm { hitpointName = "HitDiaphragm"; armor = 24; passThrough = 0.1; }; class Abdomen { hitpointName = "HitAbdomen"; armor = 24; passThrough = 0.1; }; class Body { hitpointName = "HitBody"; passThrough = 0.1; }; }; }; }; Share this post Link to post Share on other sites
ronen rond 15 Posted May 24, 2016 i still can't get it to work can anyone help me please Share this post Link to post Share on other sites
Von Quest 1163 Posted May 25, 2016 What exactly won't work? Narrow it down. Is it in the game even? Let's start there... Share this post Link to post Share on other sites