Can someone help me ? is this script for a vest Okay ?
class CfgPatches
{
class 101VestsandPatches
{
units[] = {};
weapons[] = {Vests};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Characters_F"};
};
class cfgWeapons
{
class ItemCore;
class VestItem;
class Vest_Camo_Base: ItemCore
{
class ItemInfo;
};
class 101stCarrierGl: Vest_Camo_Base
{
scope = 2;
displayName = "101st Gl platecarrier";
author = "DiegoAlejandro";
picture = "\A3\characters_f_mark\Data\UI\icon_carrier_gl_rig_grn.paa";
model = "A3\Characters_F\BLUFOR\equip_b_carrier_gl_rig";
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"101Vests\Data\101st_Platecarrier_GL.paa"};
class ItemInfo: VestItem {
uniformModel = "A3\Characters_F\BLUFOR\equip_b_carrier_gl_rig";
containerClass = "Supply120";
mass = 100;
hiddenSelections[] = {"camo"};
class HitpointsProtectionInfo {
class Chest {
HitpointName = "HitChest";
armor = 78;
PassThrough = 0.6;
};
class Diaphragm {
HitpointName = "HitDiaphragm";
armor = 78;
PassThrough = 0.6;
};
class Abdomen {
hitpointName = "HitAbdomen";
armor = 16;
passThrough = 0.3;
};
class Body {
hitpointName = "HitBody";
passThrough = 0.6;
};
class Neck
{
hitpointName = "HitNeck";
armor = 8;
passThrough = 0.5;
};
class Pelvis
{
hitpointName = "HitPelvis";
armor = 16;
passThrough = 0.3;
};
class Arms
{
hitpointName = "HitArms";
armor = 8;
passThrough = 0.5;
};
};
};
};