Jump to content
Sign in to follow this  
ThePainkiller

Please help with my config.cpp

Recommended Posts

Hey guys, i try to put several custom faces into one pbo and need helop with my config file, because ArmA2 is complaining about it. Heres the example code:

// config.bin - 19:57:50 03/05/07, generated in 0.01 seconds
// Generated by unRap v1.05 by Kegetys
// Separate rootclasses: Disabled, Automatic comments: Enabled

class CfgPatches {
class IC_Faces {
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
};
};

class CfgFaces {
class Man {
	class IC_Face2 {
		name = "IC_Face2";
		texture = "\IC_Camofacepack\face2.paa";
		east = 0;
		west = 0;
		civillian = 0;
	};

	class IC_Face3 {
		name = "IC_Face3";
		texture = "\IC_Camofacepack\face3.paa";
		east = 0;
		west = 0;
		civillian = 0;
	};

	class IC_Face4 {
		name = "IC_Face4";
		texture = "\IC_Camofacepack\face4.paa";
		east = 0;
		west = 0;
		civillian = 0;
	};

	class IC_Face5 {
		name = "IC_Face5";
		texture = "\IC_Camofacepack\face5.paa";
		east = 0;
		west = 0;
		civillian = 0;
	};


};


};	


And heres the error:

http://img268.imageshack.us/my.php?image=arma22009060811105522.jpg

The faces show up in Profiles ingame, but i cant really get ingame, loading a map in editor stops with the same error message.

What kind of data is he missing?

Thx for the help!

Edited by ThePainkiller

Share this post


Link to post
Share on other sites

from my limited knowledge of programming, i think you're missing an attribute called "IdentityType". So you need to one more attribute named IdentityType = <something here>

The corrent value you could probably found in BIS faces config.cpp. I guess you have to find those first and have a look at it.

sorry for not helping much

Share this post


Link to post
Share on other sites
from my limited knowledge of programming, i think you're missing an attribute called "IdentityType". So you need to one more attribute named IdentityType = <something here>

The corrent value you could probably found in BIS faces config.cpp. I guess you have to find those first and have a look at it.

sorry for not helping much

haha man, you solved my problem, i was so into this that i didnt see the simpliest solution! :)

I found the face file and the code is:

class CfgPatches {
class IC_Faces {
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
};
};

class IC_Face2 {
		name = "IC_Face2";
		texture = "\IC_Camofacepack\face2.paa";
		head = "defaultHead";
		identityTypes[] = {};
		material = "\ca\characters\heads\male\defaulthead\data\hhl_white.rvmat";

	};

Thats all! :)

Thanks alot!

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  

×