I am having a problem writing config for a new model
enum {
DESTRUCTENGINE = 2,
DESTRUCTDEFAULT = 6,
DESTRUCTWRECK = 7,
DESTRUCTTREE = 3,
DESTRUCTTENT = 4,
DESTRUCTNO = 0,
DESTRUCTMAN = 5,
DESTRUCTBUILDING = 1,
};
class CfgPatches {
class DZ_Characters_Vests {
units[] = {"TacticalVest", "UKAssVest"};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"DZ_Characters"};
};
};
class CfgVehicles {
class Clothing_Base; // External class reference
class PlateCarrierVest
class PlateCarrierVest_Ahegao : PlateCarrierVest {
scope = 2;
displayName = "$STR_CfgVehicles_PlateCarrierBlank0";
descriptionShort = "$STR_CfgVehicles_PlateCarrierBlank1";
model = "\DZ\characters\vests\plate_carrier_g.p3d";
inventorySlot[] = {"Vest"};
itemInfo[] = {"Clothing", "Vest"};
attachments[] = {"VestHolster", "VestPouch", "VestGrenadeA", "VestGrenadeB", "VestGrenadeC", "VestGrenadeD"};
weight = 12000;
itemSize[] = {4, 4};
varWetMax = 0.49;
heatIsolation = 0.8;
repairableWithKits[] = {3};
repairCosts[] = {25.0};
class ClothingTypes {
male = "\DZ\characters\vests\plate_carrier_m.p3d";
female = "\DZ\characters\vests\plate_carrier_f.p3d";
};
class DamageSystem {
class GlobalHealth {
class Health {
hitpoints = 100;
healthLevels[] = {{1.0, {"DZ\characters\vests\Data\BallisticVest.rvmat"}}, {0.7, {"DZ\characters\vests\Data\BallisticVest.rvmat"}}, {0.5, {"DZ\characters\vests\Data\BallisticVest_damage.rvmat"}}, {0.3, {"DZ\characters\vests\Data\BallisticVest_damage.rvmat"}}, {0.0, {"DZ\characters\vests\Data\BallisticVest_destruct.rvmat"}}};
};
};
class GlobalArmor {
class Projectile {
class Health {
damage = 0.5;
};
class Blood {
damage = 0;
};
class Shock {
damage = 0.26;
};
};
class Melee {
class Health {
damage = 0.25;
};
class Blood {
damage = 0.0;
};
class Shock {
damage = 0.25;
};
};
class Infected {
class Health {
damage = 0.25;
};
class Blood {
damage = 0.0;
};
class Shock {
damage = 0.25;
};
};
class FragGrenade {
class Health {
damage = 0.5;
};
class Blood {
damage = 0;
};
class Shock {
damage = 0.26;
};
};
};
};
class AnimEvents {
class SoundWeapon {
class pickUpItem {
soundSet = "SmershVest_pickup_SoundSet";
id = 797;
};
class drop {
soundset = "SmershVest_drop_SoundSet";
id = 898;
};
};
};
};
class Ahegao : PlateCarrierVest_Ahegao {
scope = 2;
displayName = "vest_ahegao";
visibilityModifier = 0.95;
hiddenSelectionsTextures[] = {"plate_anime\data\ahegao_plate.paa", "plate_anime\data\ahegao_plate.paa", "plate_anime\data\ahegao_plate.paa"};
};
};