Announcement

Collapse
No announcement yet.

random faces how to

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • random faces how to

    Hello all!

    I am working on LoBo Iraq Army, and I have tried several ways, and cant get my soldiers to show up with different and random arabic faces. I have the face textures, and my current config looks like this:

    class CfgFaces {
    class Default {
    class Custom; // External class reference
    };

    class IFACE : Default {
    class Default {
    name = $STR_CFG_FACES_DEFAULT;
    texture = "\LoBo_iraq_rep_guard\Faces\face9.paa";
    head = "defaultHead";
    identityTypes[] = {};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

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

    class Face01 : Default {
    name = "face1";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab1.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face02 : Default {
    name = "face2";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab2.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face03 : Default {
    name = "face3";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab3.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face04 : Default {
    name = "face4";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab4.paa";
    head = "defaultHead";
    identityTypes[] = {"Default"};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face05 : Default {
    name = "face5";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab5.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face06 : Default {
    name = "face6";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab6.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face07 : Default {
    name = "face7";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab7.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face08 : Default {
    name = "face8";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab8.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face09 : Default {
    name = "face9";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab9.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face10 : Default {
    name = "face10";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab10.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face11 : Default {
    name = "face11";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab11.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face12 : Default {
    name = "face12";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab12.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face13 : Default {
    name = "face13";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab13.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };

    class Face14 : Default {
    name = "face14";
    disabled = 0;
    texture = "\LoBo_iraq_rep_guard\Faces\arab14.paa";
    head = "defaultHead";
    identityTypes[] = {"Default", "", "", "", "", "", "", "", "", "", ""};
    material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat";
    };
    };
    };

    My soldiers are config like this then:

    class LoBo_RG_20 : RU_Soldier_AT{
    vehicleClass = "LOBO_REP_G";
    faction = Iraq;
    displayName = "Republican Guard General Green";
    model = "\LoBo_iraq_rep_guard\RG_GREEN_GENERAL.p3d";
    faceType = "IFACE";
    weapons[] = {"Makarov", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "Binocular"};
    magazines[] = {"8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "SmokeShellOrange", "SmokeShellOrange", "SmokeShellOrange"};
    respawnWeapons[] = {"Makarov", "Throw", "Put", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "Binocular"};
    respawnMagazines[] = {"8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "8Rnd_9x18_Makarov", "SmokeShellOrange", "SmokeShellOrange", "SmokeShellOrange"};
    nightVision = 1;
    class Wounds {
    tex[] = {};
    mat[] = {"ca\characters\heads\male\defaulthead\data\hhl.rv mat", "ca\characters\heads\male\defaulthead\data\hhl_wou nds.rvmat", "ca\characters\heads\male\defaulthead\data\hhl_wou nds2.rvmat", "LoBo_iraq_rep_guard\Data Camo\bdu_soldier_body.rvmat", "LoBo_iraq_rep_guard\data\us_soldier_body_wound1.r vmat", "LoBo_iraq_rep_guard\data\us_soldier_body_wound2.r vmat"};


    Any ideas??

    Tnanks!
    Andrei
    Biologist, MSc. - PhD Student

    SPECS:

    AMD Phenon II x4 2,8GHz
    GTX260 Black Edition
    ASUS M4A78
    4GB RAM Corsair Dominator KIT 1066Mhz
    MTEK 650W (460 for real) brave power supplie
    500 GB 7200 RPM HD
    LCD Samsung 20

  • #2
    Re: random faces how to

    Are the face sizes correct? as in "arab14.paa" etc

    TGU Instructor TG Pathfinder

    Former TGU Dean Former ARMA Admin Former Irregulars Officer

    "Do not seek death. Death will find you. But seek the road which makes death a fulfillment." - Dag Hammarskjold

    Comment

    Connect

    Collapse

    TeamSpeak 3 Server

    Collapse

    Advertisement

    Collapse

    Twitter Feed

    Collapse

    Working...
    X