Jump to content
Sign in to follow this  
Remi .A

Uniform question

Recommended Posts

Im working on re-texturing the multicam texture, what im wondering is how to determine weather or not the addon uses the regular mtp uniform or the recon mtp. To make that simpler I want to use the short rolled sleeves version instead of the long sleeve.

Share this post


Link to post
Share on other sites

Use model b_soldier_03.p3d instead of b_soldier_01.p3d, b_soldier_02.p3d is the t-shirt version.

Share this post


Link to post
Share on other sites

that didnt seem to change anything, model stayed the same after changing it to b_soldier_03.p3d. Heres the config code.

enum {
    //  = 2,    // Error parsing: Empty enum name
   DESTRUCTENGINE = 2,
   DESTRUCTDEFAULT = 6,
   DESTRUCTWRECK = 7,
   DESTRUCTTREE = 3,
   DESTRUCTTENT = 4,
   STABILIZEDINAXISX = 1,
   STABILIZEDINAXESXYZ = 4,
   STABILIZEDINAXISY = 2,
   STABILIZEDINAXESBOTH = 3,
   DESTRUCTNO = 0,
   STABILIZEDINAXESNONE = 0,
   DESTRUCTMAN = 5,
   DESTRUCTBUILDING = 1,
};

class CfgPatches {
   class example_uniform_config {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Characters_F_BLUFOR"};
   };
};

class CfgVehicles {

   class B_Soldier_base_F;

   class Example_Soldier_F : B_Soldier_base_F {
       _generalMacro = "B_Soldier_F"; //unsure what this does
       scope = 2;
       displayName = "Uniform Test Soldier";
       nakedUniform = "U_BasicBody"; //class for "naked" body
       uniformClass = "Example_CombatUniform_mcam"; //the uniform item
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\tansuit\data\tancamo.paa"};
   };

};

class cfgWeapons {
   class Uniform_Base;
   class UniformItem;

   class Example_CombatUniform_mcam : Uniform_Base {
       scope = 2;
       displayName = "Tan Operator Suit";
       picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";
       model = "\A3\Characters_F\blufor\b_soldier_03.p3d";

       class ItemInfo : UniformItem {
           uniformModel = "-";
           uniformClass = "Example_Soldier_F"; //would be same as our made soldier class
           containerClass = "Supply20"; //how much it can carry
           mass = 80; //how much it weights
       };
   };
};  

Edited by mumblz

Share this post


Link to post
Share on other sites

Ok you have just put it in the wrong place, should be inside your Example_Soldier_F class.

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  

×