Jump to content
ronen rond

Retexture AAF & Config (Noob)

Recommended Posts

Hey everyone so im trying for the first to Retexture a AAF unifrom it all went good until i got to the config part i got it to work in arma but im having weird issues with the uniform in game all so if anyone knows what to do to make the unifrom show up on the ground and not a AFF solider laying on the ground 

 

This is a link to my config:http://pastebin.com/Jb7avxTd

 

64Ldx2Q.jpg

 

 

Share this post


Link to post
Share on other sites

Not exactly sure what you're problem is.. Care to explain more..

 

 

I did notice you're using "model=" for the uniforms, try using "uniformmodel=" 

 

something like this

class Custom_Camo_SS: Uniform_Base
    {
        scope = 2;
        displayName = "3 Medical Regiment (Rolled Sleeves)";
        picture = "-";
        hiddenSelections[] = {"camo"};
        hiddenSelectionsTextures[] = {"\A3\Characters_F_New\BLUFOR\Data\b_soldier_new.paa"};
        class ItemInfo : UniformItem 
        {
            uniformModel = "\A3\characters_f_beta\INDEP\ia_soldier_01.p3d"
            uniformClass = "Custom_Uniform_SS";
            containerClass = "Supply50";
            mass = 50;  
        };
    };

Share this post


Link to post
Share on other sites

Sorry to hijack the topic, can you please elaborate on this bit more? Also I have a similar issue on my uniforms it seems like the original marking appears well, like they are par of the model not just texture. Can that be somehow addressed?

j6Lh7wc.png?1

 

To be honest i think you guys have different problems. His texture just doesnt fit the Height maps.. 

 

You say yours is loading the original texture for parts of the uniform? Can you give me the uniform classname you're using and I'll have a look.

Share this post


Link to post
Share on other sites

Hey everyone so im trying for the first to Retexture a AAF unifrom it all went good until i got to the config part i got it to work in arma but im having weird issues with the uniform in game all so if anyone knows what to do to make the unifrom show up on the ground and not a AFF solider laying on the ground 

 

This is a link to my config:http://pastebin.com/Jb7avxTd

 

The model in the uniform's config has to be a so called suitpack model. The actual uniform model is defined in a soldier's config's model property, and a soldier and a uniform are linked via uniformClass property. I explained it in more detail in the Characters and Gear Config Guide.

  • Like 1

Share this post


Link to post
Share on other sites

Hey guys thanks for the help i fixed it,now got one Q how do i get the uniform to be bloody when you shot at someone 

Share this post


Link to post
Share on other sites

Hey guys thanks for the help i fixed it,now got one Q how do i get the uniform to be bloody when you shot at someone 

Sadly, due to some form of (yet to be addressed) engine limitation wounds do not seem to work on uniforms that utilise hiddenselections.  :(

Share this post


Link to post
Share on other sites

Sadly, due to some form of (yet to be addressed) engine limitation wounds do not seem to work on uniforms that utilise hiddenselections.  :(

Really then how dose some mods do have it ? is there another way ? 

Share this post


Link to post
Share on other sites

There's a subclass Wounds for it, with a property mat[]. This property is an array of triplets of materials (.rvmat). Example (do not mind the tex[] property, just use it as in the example):

class Wounds
{
	tex[] = {};
	mat[] = {
		"A3\Characters_F\BLUFOR\Data\clothing1.rvmat",
		"A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat",
		"A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat"
};

It basically tells the game to replace the first rvmat of the triplet with the second when the character is damaged (damage >= 0.5), and with the third when he's dead (damage = 1). You want to have such triplet for every rvmat of the model (and, of course, to have those materials).

 

The usage of hiddenSelections[] does not prevent this from working, but there are some issues when hiddenSelectionsMaterials[] is used.

Share this post


Link to post
Share on other sites

Really then how dose some mods do have it ? is there another way ? 

 

The usage of hiddenSelections[] does not prevent this from working, but there are some issues when hiddenSelectionsMaterials[] is used.

Yeah I meant to type 'hiddenSelectionsMaterials' causes issues, not just 'hiddenSelections' having mis-read your initial post :/

Share this post


Link to post
Share on other sites

so for some resone it wont work  

class CfgPatches {
	class 4thInfBrigade {
		requiredAddons[] = {"A3_Characters_F"};
		requiredVersion = 1.0;
		units[] = {"4th_Infantry_Brigade","2nd_Batt_Yorkshire_Regiment","3_Medical_Regiment","21_Combat_Engineers_Regiment","2_Signals_Regiment","Light_Dragoons","2nd_Batt_Yorkshire_Regiment_RS","3_Medical_Regiment_RS","21_Combat_Engineers_Regiment_RS","2nd_Signals_Regiment_RS"};
		weapons[] = {};
	};
};
    //********************************************************************************************************************************************************************************************
    //*****            Uniforms              *****************************************************************************************************************************************************
    //********************************************************************************************************************************************************************************************
class CfgWeapons {
	class U_I_CombatUniform;
	class U_B_CombatUniform_Brigade : U_I_CombatUniform {
		author =P. Siddy & R. Ronen;
		displayName = 4th Infantry Brigade;
		scope = 2;
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_co.paa"};
		picture = "";
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "4th_Infantry_Brigade";
			uniformModel = "-";
		};
		
	};
	class U_B_CombatUniform_mtp_Yorkshire : U_B_CombatUniform_Brigade {
		author =P. Siddy & R. Ronen;
		displayName = Yorkshire Regiment;
		scope = 2;
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_yorks1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "2nd_Batt_Yorkshire_Regiment";
			uniformModel = "-";
		};
	};
	class U_B_CombatUniform_mtp_Medical : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName =  3 Medical Regiment;
		scope = 2;
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_med1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "3_Medical_Regiment";
			uniformModel = "-";
		};
	};
	class U_B_CombatUniform_mtp_Engineers : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = 21 Combat Engineers Regiment;
		scope = 2;
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_eng1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "21_Combat_Engineers_Regiment";
			uniformModel = "-";
		};
	};
	class U_B_CombatUniform_mtp_Signals : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = 2 Signals Regiment;
		scope = 2;
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_sigs1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "2_Signals_Regiment";
			uniformModel = "-";
		};
	};
	class U_B_CombatUniform_mtp_Dragoons : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = Light Dragoons;
		scope = 2;
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_drg1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "Light_Dragoons";
			uniformModel = "-";
		};	
	};
	class U_B_CombatUniform_mtp_Yorkshire_RS : U_B_CombatUniform_Brigade {
		author =P. Siddy & R. Ronen;
		displayName = Yorkshire Regiment (RS);
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_yorks1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "2nd_Batt_Yorkshire_Regiment_RS";
			uniformModel = "-";
	    };
	};
	class U_B_CombatUniform_mtp_Medical_RS : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName =  3 Medical Regiment (RS);
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_med1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "3_Medical_Regiment_RS";
			uniformModel = "-";
		};
	};
	class U_B_CombatUniform_mtp_Engineers_RS : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = 21 Combat Engineers Regiment (RS);
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_eng1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "21_Combat_Engineers_Regiment_RS";
			uniformModel = "-"; 
	    };
	};
	class U_B_CombatUniform_mtp_Signals_RS : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName =  2nd Signals Regiment (RS);
		scope = 2;
		model = "\A3\Characters_F_Beta\ia_soldier_02.p3d"
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_sigs1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 0;
			uniformClass = "2nd_Signals_Regiment_RS";
			uniformModel = "-";	
	    };
	};
	class U_B_CombatUniform_mtp_Dragoons_RS : U_B_CombatUniform_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = Light Dragoons (RS);
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_drg1_co.paa"};
		class ItemInfo {
			containerClass = "Supply50";
			mass = 40;
			scope = 2;
			uniformClass = "Light_Dragoons_RS";
			uniformModel = "-";					
		};
	};
};
class CfgVehicleClasses {
	class 4IB {
		displayName = "4IB";
	};
};
class CfgVehicles {
	class SoldierWB; // 
	class 4th_Infantry_Brigade : SoldierWB {
		author = & R. Ronen;
		displayName = 
		scope = 1;
		side = 1;
		faction = "BLU_F";
		vehicleClass = "4IB";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_co.paa"};
		linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
		RespawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
		Items[] = {"FirstAidKit"};
		RespawnItems[] = {"FirstAidKit"};
		magazines[] = {};
		respawnMagazines[] = {};
		weapons[] = {"Throw","Put"};
		respawnWeapons[] = {"Throw","Put"};
	};
	
	class 2nd_Batt_Yorkshire_Regiment : 4th_Infantry_Brigade {
		author =P. Siddy & R. Ronen;
		displayName = ;
		scope = 2;
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_yorks1_co.paa"};
	};
	
	class 3_Medical_Regiment : 4th_Infantry_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = ;
		scope = 2;
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_med1_co.paa"};
	};
	
	class 21_Combat_Engineers_Regiment : 4th_Infantry_Brigade {
		author = P. Siddy & R. Ronen;
		displayName =;
		scope = 2;
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_eng1_co.paa"};
	};
	
	class 2_Signals_Regiment : 4th_Infantry_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = ;
		scope = 2;
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_sigs1_co.paa"};
	};
	
	class Light_Dragoons : 4th_Infantry_Brigade {
		author =P. Siddy & R. Ronen ;
		displayName = ;
		scope = 2;
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_drg1_co.paa"};
	};

	class 2nd_Batt_Yorkshire_Regiment_RS : 4th_Infantry_Brigade {
		author =P. Siddy & R. Ronen;
		displayName = ;
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_yorks1_co.paa"};
	};
	 
	class 3_Medical_Regiment_RS : 4th_Infantry_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = ;
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_med1_co.paa"};
	};
	
	class 21_Combat_Engineers_Regiment_RS : 4th_Infantry_Brigade {
		author = P. Siddy & R. Ronen;
		displayName =;
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_eng1_co.paa"};
    };
	
	class 2nd_Signals_Regiment_RS : 4th_Infantry_Brigade {
		author = P. Siddy & R. Ronen;
		displayName = ;
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_sigs1_co.paa"};
    };

	class Light_Dragoons_RS : 4th_Infantry_Brigade {
		author =P. Siddy & R. Ronen ;
		displayName = ;
		scope = 2;
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_02.p3d"
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"blufor\data\b_soldier_mtp_drg1_co.paa"};	
    };
};
class Wounds
{
	tex[] = {};
	mat[] = {
		"A3\Characters_F\BLUFOR\Data\clothing1.rvmat",
		"A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat",
		"A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat"};
    };
};

Share this post


Link to post
Share on other sites

So i did everything right but the uniforms wont show up in arsenal,they show up in the editor   

Share this post


Link to post
Share on other sites

FIXED IT,now i still can't get the class Wounds to work any tips ?

Share this post


Link to post
Share on other sites

The Wounds class is a subclass of a soldier's class, so please try to define it there and we'll see. :)

Share this post


Link to post
Share on other sites

NVM FIXED

class CfgVehicleClasses {
	class 4IB {
		displayName = "4IB";
	};
};
class CfgVehicles {
	class SoldierWB; // 
	class 4th_Infantry_Brigade : SoldierWB {
		author = & R. Ronen;
		displayName = Infantry Brigade
		scope = 2;
		side = 1;
		faction = "BLU_F";
		vehicleClass = "4IB";
		model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
		hiddenSelections[] = {"Camo","insignia"};
		hiddenSelectionsTextures[] = {"uniforms\data\b_soldier_mtp_co.paa"};
		linkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
		RespawnLinkedItems[] = {"ItemMap","ItemCompass","ItemWatch","ItemRadio"};
		Items[] = {"FirstAidKit"};
		RespawnItems[] = {"FirstAidKit"};
		magazines[] = {};
		respawnMagazines[] = {};
		weapons[] = {"Throw","Put"};
		respawnWeapons[] = {"Throw","Put"};
		class Wounds
        { 
	           tex[] = {};
	           mat[] = {"A3\Characters_F\BLUFOR\Data\clothing1.rvmat",
	                    "A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat",
		                "A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat"};
		
	    };
	};	

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

×