Jump to content

Recommended Posts

Hello,

 

I'm trying to retexture and create multiple versions of the sweater found in Project Zenith. I've been able to retexture the sweater however with my config the texture does not show up on the character model, its just a white blank model. I've tried pretty much everything I can think of with my basic modding knowledge to get the uniforms to work. I'll post my config below if anyone can help me.

 

class CfgPatches
{
	class VSM_G2_Config
	{
		units[]={};
		weapons[]={};
		requiredVersion=0.1;
		requiredAddons[]=
		{
			"A3_Characters_F_BLUFOR"
		};
	};
};
class CfgVehicleClasses
{
	class VSM_G2
	{
		displayName="VSM G2";
	};
};
class cfgVehicles
{
	class B_Soldier_F;
	class VSM_G2_sweater_uniform_MultiCam_CB: B_Soldier_F
	{
		faction="BLU_F";
		vehicleClass="VSM_G2";
		modelsides[]={3,2,1,0};
		displayName="(SFG) Coyote Brown Sweater";
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		uniformClass="VSM_G2_sweater_camo_MultiCam_CB";
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		hiddenSelectionsTextures[]=
		{
			"vsm_g2\textures\vsm_flightgloves_511.paa",
			"vsm_g2\textures\vsm_gen2_pants_Multicam.paa",
			"vsm_g2\textures\vsm_sweater_cb.paa",
			"vsm_g2\textures\vsm_salomon_right.paa",
			"vsm_g2\textures\vsm_salomon_left.paa"
		};
		linkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
		respawnLinkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
	};
	class VSM_G2_sweater_uniform_MultiCam_BLK: B_Soldier_F
	{
		faction="BLU_F";
		vehicleClass="VSM_G2";
		modelsides[]={3,2,1,0};
		displayName="(SFG) Black Sweater";
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		uniformClass="VSM_G2_sweater_camo_MultiCam_BLK";
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		hiddenSelectionsTextures[]=
		{
			"vsm_g2\textures\vsm_flightgloves_511.paa",
			"vsm_g2\textures\vsm_gen2_pants_Multicam.paa",
			"vsm_g2\textures\vsm_sweater_BLK.paa",
			"vsm_g2\textures\vsm_salomon_right.paa",
			"vsm_g2\textures\vsm_salomon_left.paa"
		};
		linkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
		respawnLinkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
	};
	class VSM_G2_sweater_uniform_MultiCam_G: B_Soldier_F
	{
		faction="BLU_F";
		vehicleClass="VSM_G2";
		modelsides[]={3,2,1,0};
		displayName="(SFG) Grey Sweater";
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		uniformClass="VSM_G2_sweater_camo_MultiCam_BLK";
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		hiddenSelectionsTextures[]=
		{
			"vsm_g2\textures\vsm_flightgloves_511.paa",
			"vsm_g2\textures\vsm_gen2_pants_Multicam.paa",
			"vsm_g2\textures\vsm_sweater_G.paa",
			"vsm_g2\textures\vsm_salomon_right.paa",
			"vsm_g2\textures\vsm_salomon_left.paa"
		};
		linkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
		respawnLinkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
	};
	class VSM_G2_sweater_uniform_MultiCam_NB: B_Soldier_F
	{
		faction="BLU_F";
		vehicleClass="VSM_G2";
		modelsides[]={3,2,1,0};
		displayName="(SFG) Navy Blue Sweater";
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		uniformClass="VSM_G2_sweater_camo_MultiCam_BLK";
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		hiddenSelectionsTextures[]=
		{
			"vsm_g2\textures\vsm_flightgloves_511.paa",
			"vsm_g2\textures\vsm_gen2_pants_Multicam.paa",
			"vsm_g2\textures\vsm_sweater_NB.paa",
			"vsm_g2\textures\vsm_salomon_right.paa",
			"vsm_g2\textures\vsm_salomon_left.paa"
		};
		linkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
		respawnLinkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
	};
	class VSM_G2_sweater_uniform_MultiCam_OD: B_Soldier_F
	{
		faction="BLU_F";
		vehicleClass="VSM_G2";
		modelsides[]={3,2,1,0};
		displayName="(SFG) Olive Drab Sweater";
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		uniformClass="VSM_G2_sweater_camo_MultiCam_OD";
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		hiddenSelectionsTextures[]=
		{
			"vsm_g2\textures\vsm_flightgloves_511.paa",
			"vsm_g2\textures\vsm_gen2_pants_Multicam.paa",
			"vsm_g2\textures\vsm_sweater_OD.paa",
			"vsm_g2\textures\vsm_salomon_right.paa",
			"vsm_g2\textures\vsm_salomon_left.paa"
		};
		linkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
		respawnLinkedItems[]=
		{
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio"
		};
	};
};
class cfgWeapons
{
	class Uniform_Base;
	class UniformItem;
	class VestItem;
	class ItemCore;
	class ItemWatch: ItemCore
	{
		class ItemInfo;
	};
	class VSM_G2_sweater_camo_MultiCam_CB: Uniform_Base
	{
		scope=2;
		displayName="(SFG) Coyote Brown Sweater";
		picture="\VSM_g2\Textures\Icons\VSM_Multicam_logo.paa";
		modelsides[]={3,2,1,0};
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		class ItemInfo: UniformItem
		{
			uniformModel="-";
			uniformClass="VSM_G2_sweater_uniform_MultiCam_CB";
			containerClass="Supply50";
			mass=25;
		};
	};
	class VSM_G2_sweater_camo_MultiCam_BLK: Uniform_Base
	{
		scope=2;
		displayName="(SFG) Black Sweater";
		picture="\VSM_g2\Textures\Icons\VSM_Multicam_logo.paa";
		modelsides[]={3,2,1,0};
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		class ItemInfo: UniformItem
		{
			uniformModel="-";
			uniformClass="VSM_G2_sweater_uniform_MultiCam_BLK";
			containerClass="Supply50";
			mass=25;
		};
	};
	class VSM_G2_sweater_camo_MultiCam_G: Uniform_Base
	{
		scope=2;
		displayName="(SFG) Grey Sweater";
		picture="\VSM_g2\Textures\Icons\VSM_Multicam_logo.paa";
		modelsides[]={3,2,1,0};
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		class ItemInfo: UniformItem
		{
			uniformModel="-";
			uniformClass="VSM_G2_sweater_uniform_MultiCam_G";
			containerClass="Supply50";
			mass=25;
		};
	};
	class VSM_G2_sweater_camo_MultiCam_NB: Uniform_Base
	{
		scope=2;
		displayName="(SFG) Navy Blue Sweater";
		picture="\VSM_g2\Textures\Icons\VSM_Multicam_logo.paa";
		modelsides[]={3,2,1,0};
		hiddenSelections[]=
		{
			"_MagpulGloves",
			"_Gen2Pants",
			"_VSM_Sweater",
			"_salomonRight",
			"_salomonLeft",
			"insignia"
		};
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		class ItemInfo: UniformItem
		{
			uniformModel="-";
			uniformClass="VSM_G2_sweater_uniform_MultiCam_NB";
			containerClass="Supply50";
			mass=25;
		};
	};
	class VSM_G2_sweater_camo_MultiCam_OD: Uniform_Base
	{
		scope=2;
		displayName="(SFG) Olive Drab Sweater";
		picture="\VSM_g2\Textures\Icons\VSM_Multicam_logo.paa";
		modelsides[]={3,2,1,0};
		model="VSM_G2\Models\VSM_Gen2_sweater.p3d";
		class ItemInfo: UniformItem
		{
			uniformModel="-";
			uniformClass="VSM_G2_sweater_uniform_MultiCam_OD";
			containerClass="Supply50";
			mass=25;
		};
	};
};
class cfgMods
{
	author="VanSchmoozin";
	timepacked="1510599201";
};

 

Share this post


Link to post
Share on other sites

heres probably why just having a quick glance

 

Quote

hiddenSelectionsTextures[]= { "vsm_g2\textures\vsm_flightgloves_511.paa", "vsm_g2\textures\vsm_gen2_pants_Multicam.paa", "vsm_g2\textures\vsm_sweater_cb.paa", "vsm_g2\textures\vsm_salomon_right.paa", "vsm_g2\textures\vsm_salomon_left.paa" };

 

youre referencing a texture you made, being added to my file path which i think is whats causing your texture to not show up. Cause its looking for your texture in my G2.pbo

 

so it would need to be something like this to replace the sweater texture

 

Quote

hiddenSelectionsTextures[]= { "vsm_g2\textures\vsm_flightgloves_511.paa", "vsm_g2\textures\vsm_gen2_pants_Multicam.paa", "SHAWS_PBO_PATH_INSTEAD_OF_G2\textures\vsm_sweater_cb.paa", "vsm_g2\textures\vsm_salomon_right.paa", "vsm_g2\textures\vsm_salomon_left.paa" };

 

Correction in both. Rename that bold part according to the way you have you mod folders set up. Its just trying to grab the texture from a wrong location is all it seems to be.

 

Have fun :)

Share this post


Link to post
Share on other sites
9 minutes ago, vanschmoozin said:

heres probably why just having a quick glance

 

 

youre referencing a texture you made, being added to my file path which i think is whats causing your texture to not show up. Cause its looking for your texture in my G2.pbo

 

so it would need to be something like this to replace the sweater texture

 

 

Correction in both. Rename that bold part according to the way you have you mod folders set up. Its just trying to grab the texture from a wrong location is all it seems to be.

 

Have fun :)

 

I appreciate the help!

 

That doesn't seem to fix the issue. Doesn't matter which uniform I select in Arsenal/Editor the Standard VSM "vsm_sweater.paa" shirt shows up instead of the config'd one.

Share this post


Link to post
Share on other sites

hmmmmm I'll have a look and see, i might not have the named selections named right in oxygen or something. Ah alpha. haha :) I'll throw in a couple variants in my next update so youll have a template to follow in my config

Share this post


Link to post
Share on other sites
33 minutes ago, vanschmoozin said:

hmmmmm I'll have a look and see, i might not have the named selections named right in oxygen or something. Ah alpha. haha :) I'll throw in a couple variants in my next update so youll have a template to follow in my config

 

Thanks a lot I really appreciate that.

  • 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

×