Hello, I'm new to modding, so far I've only managed to make a few patches.
Now I'm trying to make some custom vests, doing a retexture of the game vests. I come here, asking if there is any template for the config, because all the variants that I have tried have not worked.
So far I have tried different variations of this template, but none have worked for me.
Thanks if you reply 😉
class CfgPatches
{
class example_vest_config
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"A3_Characters_F_BLUFOR"};
};
};
class cfgWeapons
{
class Vest_Base;
class VestItem;
clas example_plateCarrier1_rgr : Vest_Base
{
scope = 2;
displayName = "Chaleco Alto Mando";
picture = "\A3\charaters_f\Data\UI\icon_V_plate_carrier_1_CA.paa";
model = "\A3\Characters_F\BLUFOR\equip_b_vestp02";
hiddenSelections[] = {"\Chalecos\alto_mando.paa"};
class ItemInfo : VestItem
{
uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02";
contaierClass = "Supply 150";
mass = 50;
armor = 5*0.5:
passThrough = 0.7;
hiddenSelections[] = {"camo"};
};
};
};