Jump to content
SaltyNewt

Using hiddenSelections to create uniforms with vanilla assets

Recommended Posts

So what I'm trying to do is create a uniform using vanilla assets like the Worn Combat Fatigues from the campaign but with a different guerilla outfit like this, so to do this i copied the config of the U_I_G_Story_Protagonist_F uniform and I_G_Story_Protagonist_F unit classes to change them accordingly, specifically, changing the model and hiddenSelections from ig_guerrilla5_1 to ig_guerrilla_6_1. However, when I do this, rather than showing up in game as I want it to, the uniform texture and model just shows up as the guerrilla uniform without the NATO fatigue pants. I'm assuming this has something to do with how my hiddenSelections and hiddenSelectionsTextures is set up but I'm not sure what I'm doing wrong.

 

Code is as follows:


    class PRO_G_Test : B_G_Soldier_F
    {
        author = "ViperLass";
        scope = 2;
        scopeCurator = 2;
        scopeArsenal = 2;
        identityTypes[] = { "G_NATO_default" };
        displayName = "Test";
        faction = "PRO_Faction";
        editorSubcategory = "PRO_Subcategory1";
        model = "\A3\Characters_F_Bootcamp\Guerrilla\ig_guerrilla_6_1.p3d";
        hiddenSelections[]=
        {
            "Camo",
            "insignia"
        };
        hiddenSelectionsTextures[]=
        {
            "\A3\Characters_F_Bootcamp\Guerrilla\Data\ig_guerrilla_6_1_co.paa"
        };
        nakedUniform="PRO_G_Uniform1";
        uniformClass = "PRO_G_Uniform1";
        weapons[] = { "arifle_MX_F", "Throw", "Put" };
        respawnWeapons[] = { "arifle_MX_F", "Throw", "Put" };
        Items[] = { "FirstAidKit", "FirstAidKit"};
        RespawnItems[] = { "FirstAidKit", "FirstAidKit"};
        magazines[] = {
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "HandGrenade",
            "HandGrenade",
            "30Rnd_65x39_caseless_mag",
            "30Rnd_65x39_caseless_mag",
            "30Rnd_65x39_caseless_mag",
            "30Rnd_65x39_caseless_mag",};
        respawnMagazines[] = {
            "SmokeShell",
            "SmokeShell",
            "Chemlight_green",
            "Chemlight_green",
            "HandGrenade",
            "HandGrenade",
            "30Rnd_65x39_caseless_mag",
            "30Rnd_65x39_caseless_mag",
            "30Rnd_65x39_caseless_mag",
            "30Rnd_65x39_caseless_mag",};
        linkedItems[] = { "V_PlateCarrier_Test", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
        respawnLinkedItems[] = { "V_PlateCarrier_Test", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
    };

 

    class PRO_G_Uniform1: Uniform_Base
    {
        author="ViperLass";
        scope=2;
        displayName="Worn Combat Fatigues (Test)";
        picture="\Proteus\UI\icon_PRO_guerrilla_01.paa";
        model="\A3\Characters_F\Common\Suitpacks\suitpack_civilian_F.p3d";
        hiddenSelections[]=
        {
            "camo"
        };
        hiddenSelectionsTextures[]=
        {
            "\A3\Characters_F_Bootcamp\Guerrilla\Data\ig_guerrilla_6_1_co.paa"
        };
        class ItemInfo: UniformItem
        {
            uniformModel="-";
            uniformClass="PRO_G_Test";
            containerClass="Supply40";
            mass=40;
        };
    };

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

×