Jump to content
B. Aidan

Making uniform show up correctly on the ground

Recommended Posts

So far I've got this

class cfgWeapons
{
	class ItemCore;
	class UniformItem;
	class Uniform_Base: ItemCore
	{
		class ItemInfo;
	};
class French_Alpinerolled: Uniform_Base
    {
        scope = 2;
        displayName = "French Alpine (Rolled)";
        picture = "\FrenchCamos\Icons\rpimalogo";
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
        hiddenSelections[]=
    		{
    			"camo"
    		};
    		hiddenSelectionsTextures[]=
    		{
    			"\FrenchCamos\Data\fralpine_co.paa"
    		};
        class ItemInfo : UniformItem {
                uniformModel="-";
                uniformClass = "French_alpinerolled"; 
                containerClass = "Supply70";
                mass = 35;
            };
      };
};

It shows up correctly on the ground, but is royally screwed when worn normally. What am I doing wrong?

Share this post


Link to post
Share on other sites

Your model is a "suitpack" - which is the model that sits on the ground (folded uniform).

 

You need to reference the actual uniform that is worn. It's 2 separate .p3d models.

Share this post


Link to post
Share on other sites
8 hours ago, Von Quest said:

Your model is a "suitpack" - which is the model that sits on the ground (folded uniform).

 

You need to reference the actual uniform that is worn. It's 2 separate .p3d models.

class cfgWeapons
{
	class ItemCore;
	class UniformItem;
	class Uniform_Base: ItemCore
	{
		class ItemInfo;
	};
class French_Alpinerolled: Uniform_Base
    {
        scope = 2;
        displayName = "French Alpine (Rolled)";
        picture = "\FrenchCamos\Icons\rpimalogo";
        model = "\A3\characters_f\BLUFOR\b_soldier_03.p3d";
        hiddenSelections[]=
    		{
    			"camo"
    		};
    		hiddenSelectionsTextures[]=
    		{
    			"\FrenchCamos\Data\fralpine_co.paa"
    		};
        class ItemInfo : UniformItem {
                uniformModel="-";
                uniformClass = "French_alpinerolled"; 
                containerClass = "Supply70";
                mass = 35;
            };
      };
};

This is what I think your saying, but when I do this the dropped item is like https://imgur.com/EP7pk8K

Share this post


Link to post
Share on other sites

Here's a working config for reference...

class CfgWeapons
{
	class UniformItem;
	class U_B_CTRG_Soldier_F;
	class eo_bandit: U_B_CTRG_Soldier_F
	{
		scope=2;
		author="EO";
		displayName="EO Bandit Fatigues";
		model="\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
		class ItemInfo: UniformItem
		{
			uniformmodel="-";
			uniformClass="eo_bandit";
			containerclass="Supply80";
			armor=50;
			mass=30;
		};
	};
};
class cfgVehicles
{
	class B_CTRG_Soldier_base_F;
	class eo_bandit: B_CTRG_Soldier_base_F
	{
		scope=1;
		displayName="EO Bandit Fatigues";
		model="\A3\Characters_F_Exp\BLUFOR\B_CTRG_Soldier_01_F.p3d";
		uniformClass="eo_bandit";
		hiddenSelections[]=
		{
			"camo",
			"insignia"
		};
		hiddenSelectionsTextures[]=
		{
			"\eo_uniforms\data\eo_bandit.paa"
		};
		class Wounds
		{
			tex[]={};
			mat[]=
			{
				"a3\characters_f_exp\blufor\data\U_B_CTRG_Soldier_F.rvmat",
				"A3\Characters_F_Exp\BLUFOR\Data\U_B_CTRG_Soldier_F_injury.rvmat",
				"A3\Characters_F_Exp\BLUFOR\Data\U_B_CTRG_Soldier_F_injury.rvmat"
			};
		};
	};
};

Hope it helps. 😉

Share this post


Link to post
Share on other sites
class French_CE: Uniform_Base
    {
        scope = 2;
        displayName = "French CE";
        picture = "\FrenchCamos\Icons\frenchce_ca";
        model="\A3\Characters_F\Common\Suitpacks\suitpack_original_F.p3d";
hiddenSelections[]=
{
  "camo"
};
hiddenSelectionsTextures[]=
{
   "FrenchCamos\Data\frenchce_co.paa"
};
        class ItemInfo : UniformItem {
            uniformClass = "French_CE";
            containerClass = "Supply70";
            mass = 35;
        };
    };

Never mind I figured it out. Thanks very much.

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

×