Jump to content
Sign in to follow this  
Stryker_Aust

Uniform model replacement

Recommended Posts

Hi there guys, long time lurker but first time properly posting.

I often write little replacement configs for units in Arma2 for personal use. I do so using a little template I set up for myself.

I was looking to set up the same thing for Arma3 in anticipation of some excellent Units that are both out and soon to come out.

I've been able to successfully replace both Helmet and Vest models but I've had quite a bit of trouble with Uniforms.

I've been able to replace textures but I haven't worked out if its possible to replace the model yet.

I would be very appreciative if someone was either able to point me in the right direction or even better provide a sample for me to work off.

Share this post


Link to post
Share on other sites

You replace the uniform model in the unit class not the uniform class.

Share this post


Link to post
Share on other sites

By that I assume you mean in cfgVehicles rather than cfgWeapons, even so I still have not been able to replace the model, it would be much appreciated if someone was able to give me a sample.

Share this post


Link to post
Share on other sites
class CfgVehicles
{
class B_Soldier_base_F;

class New_B_Soldier_F: B_Soldier_base_F
{

	model = "\A3\characters_F\BLUFOR\b_soldier_01.p3d"; // Change this for different uniforms.
	uniformClass = "New_U_B_CombatUniform_mcam"; // Points to the uniform class.

	hiddenSelections[] = {"Camo","insignia"}; // You may need to change these.
	hiddenSelectionsTextures[] = {" "};

};
};

class CfgWeapons
{
   class Uniform_Base;
class UniformItem;
   class ItemInfo;

class New_U_B_CombatUniform_mcam: Uniform_Base
{
	model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver"; // leave this.
	class ItemInfo: UniformItem
	{
		uniformModel = "-";// leave this.
		uniformClass = "New_B_Soldier_F"; // Points back to a unit using the uniform.
	};
};

};

Share this post


Link to post
Share on other sites

Still can't seem to get it working, might be a communication problem.

I'm not trying to create a new unit rather just replace the uniform model of an existing one.

For example I'm trying to replace the "U_B_CombatUniform_mcam_tshirt" which is used by "B_Soldier_02_f" with just the plain "U_B_CombatUniform_mcam" model.

Share this post


Link to post
Share on other sites

Thanks a lot guys but it was just a stupid mistake by me, didn't set up the dependencies in the cgfPatches.

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  

×