Jump to content
Sign in to follow this  
haleks

Texture issues with cfgFaces

Recommended Posts

Hello guys!

 

I'm configuring a new face for a future project, using procedural textures, and I could use some help on a weird problem I have...

The textures and materials are applied correctly to the head, but the skin on the arms and legs of the unit behave differently. It's a black texture combined to a metal rvmat :

 

class CfgFaces {
	class Default;
	class Man_A3 : Default {
		class Default;
		class test_face : Default {
			name = "test";
			displayname = "test";
			texture = "#(rgb,8,8,3)color(0,0,0,1)";
			textureHL = "#(rgb,8,8,3)color(0,0,0,1)";
			textureHL2 = "#(rgb,8,8,3)color(0,0,0,1)";

			material = "a3\structures_f\data\metal\Metalclean1.rvmat";
			materialHL = "a3\structures_f\data\metal\Metalclean1.rvmat";
			materialHL2 = "a3\structures_f\data\metal\Metalclean1.rvmat";

			materialWounded1 = "a3\structures_f\data\metal\Metalclean1.rvmat";
			materialWounded2 = "a3\structures_f\data\metal\Metalclean1.rvmat";

			identityTypes[] = {"test_id"};
		};
	};
};

 

Something definitely happens to the arms and legs, as they appear a tiny bit darker than usual...

Spoiler

fb4a6e760a160af75afafd08869129d2.jpg

3226a0e81d2c716ef3ee5f11a52a8d31.jpg

c0f8516256aa6d012728cf778dd39076.jpg

 

What am I missing? ^^

Share this post


Link to post
Share on other sites

Fixed...

Apparently all the tutorials about cfgFaces have the same error : materialHL2 seems to be an incorrect/obsolete entry, materialHL1 should be used instead.

  • Thanks 2

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  

×