Jump to content
Sign in to follow this  
Silver Slav

Invisible Uniform/Vest/Helmet Gear?

Recommended Posts

Hey guys, I've recently have decided to give modding a shot, thus at first I thought about retexturing a already existing mod for personal use in my private campaign,  however every time I try to go into Virtual Arsenal not only do i get a error message about a bad path to a picture which is nothing important really, at least I don't think, but the Uniform part of the mod makes my character disappear, as well as makes the character invisible and on top of it all it also causes the camera to be really low to the ground and i am unable to move.

 

At first I thought that I messed up the pathing and directory however i triple checked it and it is fine, could you guys help me please?

 

""UPDATE" I have found that everything is fine with the code and everything else, however when I convert the folder into .PBO it just makes everything invisible.

 

Here is the config.

 

class CfgPatches
{
    class AN_Killa
    {
        author="Silver_Slav";
        name="AN Killa";
        url="https://steamcommunity.com/id/silver_slavtv/";
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "A3_characters_f_exp",
            "A3_data_f"
        };
        units[]={};
        weapons[]={};
    };
};
class CfgVehicleClasses
{
    class AN_Killa
    {
        displayName="AN Killa";
    };
};
class CfgVehicles
{
    class B_Soldier_base_F;
    class U_AN_Killa_Base: B_Soldier_base_F
    {
        scope=1;
        model="\Silver_Slav's Tracksuit\silver_suit.p3d";
        hiddenSelections[]=
        {
            "camo1",
            "camo2",
            "camo3"
        };
        hiddenSelectionsTextures[]=
        {
            "\Silver_Slav's Tracksuit\data\silver_suit_top_co.paa",
            "\Silver_Slav's Tracksuit\data\silver_suit_bottom_co.paa",
            "\Silver_Slav's Tracksuit\data\silver_suit_shoes_co.paa"
        };
    };
};
class cfgWeapons
{
    class UniformItem;
    class VestItem;
    class ItemCore;
    class HeadgearItem;
    class Uniform_Base;
    class Vest_Camo_Base: ItemCore
    {
        class ItemInfo;
    };
    class U_AN_Killa: Uniform_Base
    {
        scope=2;
        author="Silver_Slav";
        displayName="$STR_Uniform_displayName";
        picture="\Silver_Slav's Tracksuit\data\ui\icon_killa_suit_ca.paa";
        model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
        class ItemInfo: UniformItem
        {
            uniformModel="-";
            uniformClass="U_AN_Killa_Base";
            containerClass="Supply40";
            mass=60;
        };
    };
    class H_AN_Killa: ItemCore
    {
        scope=2;
        author="Silver_Slav";
        displayName="$STR_Headgear_displayName";
        picture="\Silver_Slav's Tracksuit\data\ui\icon_killa_Helmet_ca.paa";
        model="\Silver_Slav's Tracksuit\silver_helmet.p3d";
        descriptionShort="$STR_Headgear_descriptionShort";
        class ItemInfo: HeadgearItem
        {
            mass=20;
            uniformmodel="\Silver_Slav's Tracksuit\silver_helmet.p3d";
            picture="";
            modelSides[]={3,1};
            allowedSlots[]={801,901,701,605};
            class HitpointsProtectionInfo
            {
                class Head
                {
                    hitpointName="HitHead";
                    armor=65;
                    passThrough=0.1;
                };
                class Neck
                {
                    hitpointName="HitNeck";
                    armor=65;
                    passThrough=0.1;
                };
                class Face
                {
                    hitpointName="HitFace";
                    armor=65;
                    passThrough=0.1;
                };
            };
        };
    };
    class V_AN_Killa: Vest_Camo_Base
    {
        scope=2;
        author="Silver_Slav";
        displayName="$STR_Vests_displayName";
        picture="\Silver_Slav's Tracksuit\data\ui\icon_killa_armor_ca.paa";
        model="\Silver_Slav's Tracksuit\silver_armor.p3d";
        hiddenSelections[]=
        {
            "camo1",
            "camo2"
        };
        hiddenSelectionsTextures[]=
        {
            "\Silver_Slav's Tracksuit\data\silver_armor_co.paa",
            "Silver_Slav's Tracksuit\data\silver_vest_co.paa"
        };
        descriptionShort="$STR_Vests_descriptionShort";
        class ItemInfo: ItemInfo
        {
            uniformModel="\Silver_Slav's Tracksuit\silver_armor.p3d";
            containerClass="Supply120";
            mass=80;
            class HitpointsProtectionInfo
            {
                class Chest
                {
                    HitpointName="HitChest";
                    armor=65;
                    PassThrough=0.1;
                };
                class Diaphragm
                {
                    HitpointName="HitDiaphragm";
                    armor=65;
                    PassThrough=0.1;
                };
                class Abdomen
                {
                    hitpointName="HitAbdomen";
                    armor=60;
                    passThrough=0.1;
                };
                class Body
                {
                    hitpointName="HitBody";
                    passThrough=0.1;
                };
            };
        };
    };
};
class cfgMods
{
    author="Silver_Slav";
    timepacked="1589742628";
};
 

 

Share this post


Link to post
Share on other sites

Fixed! - using anything other then Addon Builder in Arma 3 for creating .PBOs is useless, after i used it to compress it has fixed the issue!

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
Sign in to follow this  

×