bullseyeonline 2 Posted January 16, 2018 Greetings BI community members. For the past two days i been trying to make my uniforms mod for my future co op missions. however i'm in the process of learning so. I manage to create a config.cpp file that works but that's only for one uniform. the uniform appears and everything but my problem is which piece of code do i need to copy and paste so i can add another uniform and which lines of that code do i need to change in order to make a new uniform. do i need to create a new class? could you make notes in my config.cpp and explain to me things please? this is my config.cpp: class CfgPatches { class TAG_myretextures // has to be the same name as your folder! { units[] = {}; //making it ZEUS compatible weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class CfgVehicles { class B_Soldier_base_F; class NBS_Infantry_Light: B_Soldier_base_F { _generalMacro = "B_Soldier_F"; //unsure what this does scope = 2; displayName = "Black Sheep - Light Infantry"; nakedUniform = "U_BasicBody"; //class for "naked" body uniformClass = "NBS_ACU_Multicam"; //the uniform item hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\NBS_Uniforms\Data\VSM_ARD_multicam_1.paa"}; model = "\A3\characters_f\BLUFOR\b_soldier_01"; linkedItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"}; respawnLinkedItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "ItemRadio"}; }; }; class cfgWeapons { class Uniform_Base; class UniformItem; class NBS_ACU_Multicam : Uniform_Base { author = "BullsEyE|WORKS"; scope = 2; displayName = "Battledress ACU MultiCam (Long Sleeve)"; picture = "\NBS_Uniforms\UI\uniforms\Battledress_Long_Sleeve_MultiCam.paa"; model = "\A3\characters_f_beta\indep\ia_soldier_01"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"\NBS_Uniforms\Data\VSM_ARD_multicam_1.paa"}; class ItemInfo : UniformItem { uniformModel = "-"; uniformClass = "NBS_Infantry_Light"; //would be same as our made soldier class containerClass = "Supply40"; //how much it can carry mass = 30; //how much it weights }; }; }; Share this post Link to post Share on other sites
TitansWeasel 6 Posted January 16, 2018 Hello Im not into uniforms, but it should work when you copy your “class NBS_ACU_Multicam : Uniform_Base“ and overwork it for the new uniform. Regards mike Share this post Link to post Share on other sites
road runner 4344 Posted January 16, 2018 Here you go Bullseye, this is my one that I use for multiple uniforms.. just edit it to suit. Share this post Link to post Share on other sites
bullseyeonline 2 Posted January 16, 2018 Thank you i got it working. now i would like to know how to let my custom uniform accept insignias, i have the insignia already but it only works in vanilla uniforms not in my custom one. any inputs? Share this post Link to post Share on other sites
road runner 4344 Posted January 16, 2018 If it's a custom model, it has to have an "Insignia" selection on it, and also written into the model.cfg as well. Share this post Link to post Share on other sites
bullseyeonline 2 Posted January 16, 2018 all i did is add the "Insignia" to the config and it worked. thank you. 1 Share this post Link to post Share on other sites