Jump to content
Sign in to follow this  
il_padrino

Problem with retexturing the press vest

Recommended Posts

So, the vest appears in game but with vanilla textures. Is it possible that it has no hiddenselections ? Did anyone else try to retexture it before ? Thanks in advance.

Here's my config

class CfgPatches
{
class prsluk_m93
{
	units[]={};
	weapons[]={};
	requiredVersion=1;
	requiredAddons[]=
	{
		"A3_Characters_F_EPC"
	};
};
};
class cfgWeapons
{
class V_Press_F;
class VestItem;
class prsluk_m93: V_Press_F
{
	scope=2;
	displayName="Prsluk m93";
	picture="\A3\characters_f\Data\UI\icon_v_pressvest_ca.paa";
	model="\A3\Characters_F_EPC\Civil\equip_press_vest_01.p3d";
	hiddenSelections[]=
	{
		"camo"
	};
	hiddenSelectionsTextures[]=
	{
		"\prsluk_m93\Data\Vest\prsluk_m93_co.paa"
	};
	class ItemInfo: VestItem
	{
		uniformModel="\A3\Characters_F_EPC\Civil\equip_press_vest_01.p3d";
		containerClass="Supply100";
		mass=50;
		armor="5*0.5";
		passThrough=0.69999999;
		hiddenSelections[]=
		{
			"camo"
		};
           hiddenSelectionsTextures[]=
	{
		"\prsluk_m93\Data\Vest\prsluk_m93_co.paa"
	};
		};
};
};

Share this post


Link to post
Share on other sites

The press vest model in the dev build only got hiddenSelections the other day, not sure if it has been passed on to the stable build yet.

Share this post


Link to post
Share on other sites

Thanks for your quick reply :)

I'll download the dev build then and see if it works there.

---------- Post added at 11:48 ---------- Previous post was at 10:56 ----------

Indeed it works. (sorry for double posting :) )

14232094010_dfc02e45f9_z.jpg

Share this post


Link to post
Share on other sites

Nice Vest il_padrino,

I have a question: Did you manage to do something to the distance view LODs texture?

I modified the press vest for my civilian/red cross units mod.

Up close it's all fine but at a distance the texture switches back to the default blue. I couldn't find a corresponding hidden selection texture and I didn't manage to stop this happening. Have you found a way?

up close it's all fine:

medivest.jpg

and from further away:

medivestdistlod.jpg

Share this post


Link to post
Share on other sites

they forgot the hidden selection in the lods then... make a feedback report for it

Share this post


Link to post
Share on other sites

Glad to see you sorted things out!

By the way, I took a look at your config and I believe you dont need to reset the model, since you are inheriting attributes from "V_Press_F" that model would already be set by default.

Correct me if I am wrong, cheers :)

Share this post


Link to post
Share on other sites

Thank you for reporting he bug. The camo selection was indeed missing in the last LOD, so I fixed it. It should be all right in the next dev build.

Share this post


Link to post
Share on other sites

Wow that was quick. Thank you so much Locklear

Share this post


Link to post
Share on other sites

Glad to help. Please let me know if any problem persists.

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  

×