Jump to content
Sign in to follow this  
dimitri_harkov

cfgFaces... where?

Recommended Posts

Hello everyone,

could someone point me to the stock Arm2 definition of class cfgFaces?

I want to add custom faces but I could only find this in ArmA 2's bin.pbo:

class CfgFaces  {

class Default  {

	class Default  {
		name = "";
		head = "";
		material = "";
		texture = "#(rgb,8,8,3)color(0.5,0.5,1,1)";
		east = 0;
		west = 0;
		identityTypes[] = {"Default" };
	};

	class Custom  {
		name = "";
		head = "";
		material = "";
		texture = "#(rgb,8,8,3)color(1,1,1,1)";
		front = "#(rgb,8,8,3)color(1,1,1,1)";
		side = "#(rgb,8,8,3)color(1,1,1,1)";
		back = "#(rgb,8,8,3)color(1,1,1,1)";
		east = 0;
		west = 0;
		identityTypes[] = {};
	};
};
};

That doesn't help much without examples, unfortunately...

---------

Also, where is the definition of "Head_GUE"?

These identity types can be found in soldier entries like this:

identityTypes[] = {"Head_GUE"};

Any help would be appreciated!

Cheers,

D.

Edited by Dimitri_Harkov

Share this post


Link to post
Share on other sites

characters.pbo/config.bin

http://pastebin.com/m42195e47

Do you intend to disable all the ugly looking ones? :bounce3:

PS: In class CfgHeads probably in some generic definition system.

Edited by kju

Share this post


Link to post
Share on other sites

Many thanks kju :)

You are the man!

No, I'll leave them as ugly as they are, but I want to have proper black faces for my Angolan guerilla units. :)

Cheers,

D.

Share this post


Link to post
Share on other sites

Could someone possibly update the broken link in this thread? I would find it very useful since I'm trying to add custom faces as well.

Share this post


Link to post
Share on other sites

an example , that can be very usefule

i used it once lol , but you wont like it if you are racist LoL

class CfgFaces  
{
class Man;  
class MolFaces  : Man 
{

	class Default  {
		name = "$STR_CFG_FACES_DEFAULT";
		texture = "\ca\characters\hhl\hhl_31_CO.paa";
		head = "BlackHead";
		identityTypes[] = {};
		material = "\ca\characters\heads\male\BlackHead\data\hhl_black.rvmat";
	};

	class Custom  : Default {
		name = "$STR_CFG_FACES_CUSTOM";
		texture = "#(argb,8,8,3)color(0.596,0.412,0.365,1)";
		head = "BlackHead";
		identityTypes[] = {};
		material = "\ca\characters\heads\male\BlackHead\data\hhl_black.rvmat";
	};

       class Face26  : Default {
		name = "$STR_FN_Man_Face26";
		texture = "\ca\characters\hhl\hhl_26_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face27  : Default {
		name = "$STR_FN_Man_Face27";
		texture = "\ca\characters\hhl\hhl_27_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face28  : Default {
		name = "$STR_FN_Man_Face28";
		texture = "\ca\characters\hhl\hhl_28_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face29  : Default {
		name = "$STR_FN_Man_Face29";
		texture = "\ca\characters\hhl\hhl_29_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face30  : Default {
		name = "$STR_FN_Man_Face30";
		texture = "\ca\characters\hhl\hhl_30_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face31  : Default {
		name = "$STR_FN_Man_Face31";
		texture = "\ca\characters\hhl\hhl_31_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face32  : Default {
		name = "$STR_FN_Man_Face32x";
		texture = "\ca\characters\hhl\hhl_32_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face33  : Default {
		name = "$STR_FN_Man_Face33";
		texture = "\ca\characters\hhl\hhl_33_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face34  : Default {
		name = "$STR_FN_Man_Face34";
		texture = "\ca\characters\hhl\hhl_34_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face35  : Default {
		name = "$STR_FN_Man_Face35";
		texture = "\ca\characters\hhl\hhl_35_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face36  : Default {
		name = "$STR_FN_Man_Face36";
		texture = "\ca\characters\hhl\hhl_36_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face37  : Default {
		name = "$STR_FN_Man_Face37";
		texture = "\ca\characters\hhl\hhl_37_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

	class Face38  : Default {
		name = "$STR_FN_Man_Face38";
		texture = "\ca\characters\hhl\hhl_38_CO.paa";
		disabled = 0;
		identityTypes[] = {"Default","","","Head_RU","Head_RU_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV","" };
	};

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  

×