bullsh 22 Posted October 12, 2015 Hey everbody, I have succesfully tried to retexture a basic INDEP combat fatigue using Astarte's youtube tutorial. However, when I apply the same techniques to the INDEP officer uniform, the retextured version ends up all scrambled up, with colors on all the wrong places and black lines throught the whole retexture. What am I doing wrong? Share this post Link to post Share on other sites
Jackal326 1181 Posted October 12, 2015 The officer uniform uses a different texture for the jacket compared to the "normal" uniform. The UV mapping is different so using the same texture for both is what is causing you the issue. Share this post Link to post Share on other sites
bullsh 22 Posted October 12, 2015 I didn't use the same files for the two combat fatigues and the officer's uniform, if that's what you mean. With the officer's uniform, I deleted the parts of the uniform I wanted to replace by using the eraser, shoved the .nohq of the officer's uniform under it, did the usual actions, shoved the camo I wanted to be in the place of the deleted parts between the .nohq layer and the textures I wanted to keep and finished it with the usual procedure. Should I have done something differently, or did I perhaps forget to change something in the config? Share this post Link to post Share on other sites
Jackal326 1181 Posted October 12, 2015 or did I perhaps forget to change something in the config? I won't know that unless you post the config ;) Share this post Link to post Share on other sites
bullsh 22 Posted October 13, 2015 I won't know that unless you post the config ;) This is the config I used: 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 = "My Custom Faction"; 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 B_Soldier_F; class Custom_Uniform: B_soldier_F { author = "Astartes"; _generalMacro = "B_soldier_F"; scope = 2; displayName = "Custom Soldier"; identityTypes[] = {"Head_NATO", "G_NATO_default"}; genericNames = "NATOMen"; faction = "Custom_Faction"; model = "\A3\characters_f_beta\INDEP\ia_soldier_01.p3d"; //Default NATO uniformClass = "Custom_Camo"; hiddenSelections[] = {"Camo","Insignia"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\custom_camo_co.paa"}; weapons[] = {"Throw","Put"}; respawnWeapons[] = {"Throw","Put"}; magazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"}; respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"}; linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Custom_Uniform_SS: B_soldier_F { author = "Astartes"; _generalMacro = "B_soldier_F"; scope = 2; displayName = "Custom Team Leader"; identityTypes[] = {"Head_NATO", "G_NATO_default"}; genericNames = "NATOMen"; faction = "Custom_Faction"; model = "\A3\characters_f_beta\INDEP\ia_soldier_02.p3d"; //NATO Rolled Up Sleeves uniformClass = "Custom_Camo_SS"; hiddenSelections[] = {"Camo","Insignia"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\custom_camo_co.paa"}; weapons[] = {"Throw","Put"}; respawnWeapons[] = {"Throw","Put"}; magazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"}; respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"}; linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class Custom_Uniform_TShirt: B_soldier_F { author = "Astartes"; _generalMacro = "B_soldier_F"; scope = 2; displayName = "Custom Combat Life Saver"; identityTypes[] = {"Head_NATO", "G_NATO_default"}; genericNames = "NATOMen"; faction = "Custom_Faction"; model = "\A3\characters_f_gamma\Guerrilla\ig_guerrilla1_1.p3d"; //NATO Rolled Up Sleeves uniformClass = "Custom_Camo_TShirt"; hiddenSelections[] = {"Camo1","Camo2"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\tshirt_brown_co.paa","Custom_Uniform\Data\custom_camo_co.paa"}; weapons[] = {"Throw","Put"}; respawnWeapons[] = {"Throw","Put"}; magazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"}; respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShell","SmokeShellGreen","Chemlight_green","Chemlight_green"}; 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 = "Custom Camo"; picture = "-"; model = "\A3\characters_f_beta\INDEP\ia_soldier_01.p3d"; class ItemInfo : UniformItem { uniformClass = "Custom_Uniform"; containerClass = "Supply50"; mass = 50; }; }; class Custom_Camo_SS: Uniform_Base { scope = 2; displayName = "Custom Camo (Rolled Sleeves)"; picture = "-"; model = "\A3\characters_f_beta\INDEP\ia_soldier_02.p3d"; class ItemInfo : UniformItem { uniformClass = "Custom_Uniform_SS"; containerClass = "Supply50"; mass = 50; }; }; class Custom_Camo_TShirt: Uniform_Base { scope = 2; displayName = "Custom Camo (T-Shirt)"; picture = "-"; model = "\A3\characters_f_gamma\Guerrilla\ig_guerrilla1_1.p3d"; class ItemInfo : UniformItem { uniformClass = "Custom_Uniform_TShirt"; containerClass = "Supply30"; mass = 35; }; }; //************************************************************************************************************************************************************************************************ //***** Vests ********************************************************************************************************************************************************* //************************************************************************************************************************************************************************************************ class VestItem; class Vest_Camo_Base: ItemCore { class ItemInfo; }; class Custom_Vest: Vest_Camo_Base { scope = 2; displayName = "Custom Platecarrier"; picture = "-"; model = "A3\Characters_F\BLUFOR\equip_b_Vest01"; hiddenSelections[] = {"Camo"}; hiddenSelectionsTextures[] = {"Custom_Uniform\Data\___________.paa"}; class ItemInfo: VestItem { uniformModel = "A3\Characters_F\BLUFOR\equip_b_Vest01.p3d"; containerClass = "Supply120"; mass = 80; armor = "5"; passThrough = 0.3; hiddenSelections[] = {"camo"}; }; }; }; NOTE: This config was provided by a tutorial by Astarte on youtube, hence his name is in the document. Could the problem be here, or did I somehow mess up the alignment of the textures in the model itself? How of the texture you want to replace can you actually erase? Does that influence the outcome in the sense that it can totally mess up the alignments? Share this post Link to post Share on other sites
bullsh 22 Posted October 13, 2015 http://www.filedropper.com/customcamoco--> this is the retexture I did, I expect I did something wrong here but I really wouldn't know what. Share this post Link to post Share on other sites
Jackal326 1181 Posted October 13, 2015 Try changing: hiddenSelectionsTextures[] = {"Custom_Uniform\Data\tshirt_brown_co.paa","Custom_Uniform\Data\custom_camo_co.paa"}; within the 'Custom_Uniform_TShirt' class to hiddenSelectionsTextures[] = {"Custom_Uniform\Data\custom_camo_co.paa","Custom_Uniform\Data\tshirt_brown_co.paa"}; It may not work, but worth a shot. Perhaps post a screenshot of the unit ingame as well, so I can better visualise what is happening. I still think its because the unit model uses different textures with different UV layouts to the one you've edited. Share this post Link to post Share on other sites
bullsh 22 Posted October 13, 2015 Try changing: hiddenSelectionsTextures[] = {"Custom_Uniform\Data\tshirt_brown_co.paa","Custom_Uniform\Data\custom_camo_co.paa"}; within the 'Custom_Uniform_TShirt' class to hiddenSelectionsTextures[] = {"Custom_Uniform\Data\custom_camo_co.paa","Custom_Uniform\Data\tshirt_brown_co.paa"}; It may not work, but worth a shot. Perhaps post a screenshot of the unit ingame as well, so I can better visualise what is happening. I still think its because the unit model uses different textures with different UV layouts to the one you've edited. Thanks for helping me out here, I have no acces to my pc atm so I can't make a screenshot but I will do so when i'm at home. Just before I left I realised I was using my new officer textures for the normal indep soldier model. I changed the model = "\A3\characters_f_beta\INDEP\ia_soldier_01.p3d"; //Default NATO to model = "\A3\characters_f_beta\INDEP\ia_officer.p3d"; //Default NATO but when I tried that out, I had no model at all in game. I had deleted the SS camo and the shirt lines so I had only the one officer. I'll try again when I'm at home. Share this post Link to post Share on other sites