PMC websites shut down September 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond september 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


arma2:config:custom_face

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arma2:config:custom_face [2010/09/20 09:17] – added more data. snakemanarma2:config:custom_face [2024/08/01 17:02] (current) – links added. snakeman
Line 1: Line 1:
 ====== ArmA 2 Custom Face ====== ====== ArmA 2 Custom Face ======
 +
 +[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]]
  
 **ArmA 2 Custom Face** **ArmA 2 Custom Face**
Line 120: Line 122:
 </code> </code>
  
-PMCTODO :) 
  
 ====== CfgFaces ====== ====== CfgFaces ======
Line 219: Line 220:
  };  };
 </code> </code>
 +
 +
 +====== Example African (black) Faces ======
 +
 +African black faces for characters
 +
 +African names:
 +<code cpp>
 +class CfgWorlds
 +{
 + class GenericNames
 + {
 + class PMC_Somali_Names
 + {
 + class FirstNames
 + {
 + adalberto = "Adalberto";
 + //etc
 + };
 + class LastNames
 + {
 + morales = "Morales";
 + // etc
 +</code>
 +
 +Face configs:
 +<code cpp>
 +class CfgFaces
 +{
 + class Man;
 + class PMC_Somali_Faces: 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_USMC","Head_USMC_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_USMC","Head_USMC_CO","Head_CDF","Head_CDF_CO","Head_INS","Head_GUE","Head_CIV",""};
 + };
 + // etc
 +</code>
 +
 +Then in character's class you make:
 +<code cpp>
 +genericNames = "PMC_Somali_Names";
 +faceType = "PMC_Somali_Faces";
 +</code>
 +
arma2/config/custom_face.1284974224.txt.gz · Last modified: 2010/09/20 09:17 by snakeman