Jump to content
Specky-21

Config For New Vest Not Working

Recommended Posts

So, recently, I've been working on a vest.  The issue is, is that the vest calls for assets that are part of another mod.  However, it just doesn't show up in arsenal.

 

Quote

class cfgWeapons
{
    class ItemCore;
    class Vest_Camo_Base: ItemCore
    {
        class ItemInfo;
    };
    class V_vest_new: Vest_Camo_Base
    {
            author = "Guitarist and Jester";
        scope = 2;
        displayName = "Schlong Armor of Justice";
        model = "\OPTRE_UNSC_Units\Army\armor.p3d";
        hiddenSelections[] = {"camo","camo2","camo3","camo4","camo5","A_KneesMarLeft","A_KneesMarRight","A_Ghillie","A_TacPad","AS_LargeLeft","AS_LargeRight","AS_MediumLeft","AS_MediumRight","AS_ODSTCQBLeft","AS_ODSTCQBRight","AS_ODSTSniperLeft","AS_ODSTSniperRight","AS_SmallLeft","AS_SmallRight","AP_AR","AP_BR","AP_Canteen","AP_GL","AP_Knife","AP_MGThigh","AP_AR","AP_Pack","AP_Pistol","AP_Rounds","AP_SG","AP_SMG","AP_Sniper","AP_Thigh","APO_BR","APO_Knife","APO_SMG","APO_Sniper"};
        picture = "-";
        hiddenSelectionsTextures[] = {"OPCAN_2\data\UNSC\ARM\vest_sand.paa","OPCAN_2\data\UNSC\ARM\armor_sand.paa","OPCAN_2\data\UNSC\ARM\legs_sand.paa","optre_unsc_units\army\data\ghillie_desert_co.paa","OPCAN_2\data\UNSC\ARM\ODST_Sand.paa"};
        class ItemInfo: ItemInfo
        {
            uniformModel = "\OPTRE_UNSC_Units\Army\armor.p3d";          
            containerClass = Supply80;     
            mass = 15;
            
            class HitpointsProtectionInfo //more info at: https://community.bistudio.com/wiki/Arma_3_Soldier_Protection
            {
                class Chest
                {
                     hitPointName = "HitChest";
                     armor = 16;
                     passThrough = 0.3;
                };
            };
        };
    };
};

 

Share this post


Link to post
Share on other sites

Your CfgPatches is missing. Your mod will not be loaded.

Share this post


Link to post
Share on other sites
class Vest_Nocamo_Base;
    class V_HarnessO_brn: Vest_NoCamo_Base
    
    {
        class ItemInfo;
    };
    class Opfor_harness_blk : V_HarnessO_brn // inherit from the base class
    {

try this example with your class.
the hidden selection is a bit weird

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

×