Jump to content
bullseyeonline

Help! With uniform error.

Recommended Posts

If you have specific things in the slots, such as magazines etc, that are not vanilla, and you don't have that addon activated, it will throw up those errors

Share this post


Link to post
Share on other sites

I don't have such items. heres my config.

 

// WetSuit

    class NBS_Combat_Wetsuit_A: B_Soldier_base_F {
        author = "BullsEyEWORKS";
        _generalMacro = "B_Soldier_F"; // unsure what this does
        scope = 2;
        displayName = "Black Sheep - Assault Diver";
        nakedUniform = "U_BasicBody"; // class for "naked" body
        uniformClass = "NBS_Combat_Wetsuit_A"; // the uniform item
        hiddenSelections[] = {"Camo","Camo3","Insignia"};
        hiddenSelectionsTextures[] = {"\NBS_Uniforms\Data\WetSuit\diver_suit_nato_co.paa"};
        
        class Wounds {
            tex[] = {};
            mat[] = {"A3\Characters_F\Common\Data\diver_suit.rvmat", "A3\Characters_F\Common\Data\diver_suit_injury.rvmat", "A3\Characters_F\Common\Data\diver_suit_injury.rvmat"};
        };
        armor = 2;
        armorStructural = 4;
        explosionShielding = 0.4;
        hiddenUnderwaterSelections[] = {"hide"};
        shownUnderwaterSelections[] = {"unhide", "unhide2"};
        hiddenUnderwaterSelectionsTextures[] = {"\A3\characters_f\common\data\diver_equip_nato_co.paa", "\A3\characters_f\common\data\diver_equip_nato_co.paa", "\A3\characters_f\data\visors_ca.paa"};
        model = "\A3\characters_F\Common\diver_slotable"; // Model for short or rolled up sleeves Uniforms
        linkedItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
        respawnLinkedItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"};
    };
};

 

and 

 

class NBS_WetSuit_Combat_A : Uniform_Base
    {
        author = "BullsEyE|WORKS";
        scope = 2;
        displayName = "Combat WetSuit";
        picture = "\NBS_Uniforms\UI\uniforms\WetSuit.paa";
        model = "\A3\characters_F\Common\diver_slotable";
        class ItemInfo : UniformItem
        {
        uniformModel = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        uniformClass = "NBS_Combat_Wetsuit_A"; // would be same as our made soldier class
        containerClass = "Supply80"; // how much it can carry
        uniformType = "Neopren";
        armor = 50;
        mass = 5; // how much it weights
        hiddenSelections[] = {"Camo","Camo3", "insignia"};
        hiddenSelectionsTextures[] = {"\NBS_Uniforms\Data\WetSuit\diver_suit_nato_co.paa"};
        };
    };

Share this post


Link to post
Share on other sites

You should really be using the diver class, to inherit from, and not B_Soldier_F, and you have the uniform named as the same class as your character, so they're are conflicting with each other. Rename one of them in both parts of the config and the error should disappear.

  • Like 1

Share this post


Link to post
Share on other sites

The error message says it's a missing weapon called "NBS_Combat_Wetsuit_A". However your config with that name is a Vehicle and not a weapon.

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

×