Jump to content

Recommended Posts

I'm trying to retexture the AAF officer but I'm running into difficulties with my config. I've defined the hidden selections and the their locations but still my retexture fails to appear - I end up with an invisible chested guy (although the trousers appear). 

I've professionally (!) retextured original .paa file to a Grenadier Guard as one can see. I've posted my config below for anyone who can spot the issue. I apologize in advance for any obvious mistakes - this is my first shot at retexturing in A3!

 

My config

 class CfgPatches
  {
      class My_Mod_Config
      {
          units[] = {"Custom_Uniform_Mod"};
          weapons[] = {};
          requiredVersion = 0.1;
          requiredAddons[] = {"A3_Characters_F"};
      };
  };
 
  /////////////////////////////////////////////////////////
  /////         FACTIONS     //////////////////////////////
  /////////////////////////////////////////////////////////
  class cfgFactionClasses
  {
      class Custom_Faction
      {
          displayname = "Queens Guard";
          priority = 3; // Position in list.
          side = 1; // Opfor = 0, Blufor = 1, Indep = 2.
          icon = ""; //Custom Icon
      };
  };
 
  class UniformSlotInfo
  {
      slotType = 0;
      linkProxy = "-";
  };
 
  class CfgVehicles
  {
      /////////////////////////////////////////////////////////
      /////      UNITS     ////////////////////////////////////
      /////////////////////////////////////////////////////////
      class I_Story_Colonel_F;
     
      class Custom_Grenadier: I_Story_Colonel_F {
          author = "Mne. Dwayne for 3CB";
          _generalMacro = "I_Story_Colonel_F";
          scope = 2;
          displayName = "Grenadier Guard";
          IdentityTypes[] = {"Head_NATO", "G_NATO_default"};
          genericNames = "NATOmen";
          faction = "Custom_Faction";
          model = "\A3\characters_f_beta\INDEP\ia_officer.p3d";
          uniformClass = "Custom_Camo";
          hiddenSelections[] = {"Camo0","Camo1","Insignia"};
          hiddenSelectionsTextures[] = {"Grenadier_Guard\Data\QueensGuard_co.paa","Grenadier_Guard\Data\ia_soldier_01_clothing_co.paa"}; // Path to .paa texture file
          weapons[] = {"Throw","Put"};
          respawnweapons[] = {"Throw","Put"};
          magazines[] = {"SmokeShell"};
          respawnMagazines[] = {"SmokeShell"};
          linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
          respawnlinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};  
      };
  };
 
class CfgWeapons
{
    /////////////////////////////////////////////////////////
    //////     UNIFORMS     /////////////////////////////////
    /////////////////////////////////////////////////////////
    class ItemCore;
    class UniformItem;
    class Uniform_Base: itemcore
    {
        class ItemInfo;
    };
   
    class Custom_Camo: Uniform_Base
    {
        scope = 2;
        displayName = "Queens Guard Grenadier Guard";
        picture = "-";
        model = "\A3\characters_f_beta\INDEP\ia_officer.p3d";
		hiddenSelections[] = {"camo"};
        hiddenSelectionsTextures[] = {"Grenadier_Guard\Data\QueensGuard_co.paa"};
        class ItemInfo : UniformItem {
            uniformClass = "Custom_Grenadier";
            containerClass = "Supply50";
            mass = 50;
        };
    };
};
 
/////////////////////////////////////////////////////////
///// VESTS     /////////////////////////////////////////
/////////////////////////////////////////////////////////

Share this post


Link to post
Share on other sites

Try it with a \ at the beginning of the path

e.g.

          hiddenSelectionsTextures[] = {"\Grenadier_Guard\Data\QueensGuard_co.paa","\Grenadier_Guard\Data\ia_soldier_01_clothing_co.paa"}; // Path to .paa texture file

Share this post


Link to post
Share on other sites

The result is still the same - invisible chest. Am I missing something else that I need for this rextexture? Inside my .pbo I have a folder called Data and then the textured officer & vanilla indep solider .paa files in there. Do I need something more?

 

UPDATE

Okay so it turns out it was Eliteness that was throwing it off. Solution for people reading this in future - use BinPBO Personal Edition to make your .pbo files, not eliteness!

But I still have a problem in the sense the game doesn't use my texture - http://i.imgur.com/igSOhYm.jpg

Share this post


Link to post
Share on other sites

But I still have a problem in the sense the game doesn't use my texture - http://i.imgur.com/igSOhYm.jpg

 

Its using something, because that isn't how the uniform looks by default, the camo pattern is off.

 

Its not "Camo0","Camo1" by the way, its "Camo1","Camo2" for your hiddenselections array.

Share this post


Link to post
Share on other sites

Seems to have done the trick. Cheers Jackal. 

  • Like 1

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  

×