Wire 0 Posted March 23, 2010 Heya guys, I just wanted a quick question answered. Okay so say I want to have a squad of 4 soldiers, Special Forces, and I want to have them have individual facial identities. How do I go about it? Basically Im in the process of creating the custom faces (wont be the same as the vanilla becoz they have beards in my own) and will want to include subtle variations to make them recognisable to me. heres what I know so far; (and correct me if im wrong) I am meant to compile the 4-6 different faces into a .pbo and then throw it into addons. Then ingame I write in the init line "this setface..." blah blah blah right? Would love to have an answer to this, cheers Share this post Link to post Share on other sites
bushlurker 46 Posted March 24, 2010 Hi Wire... Well, since nobody's answered and the Mods haven't moved you to another section, here's some info that should help... Yes - you're on the right track... Assuming you've made your face pictures OK - make a folder and dump them in there - call the folder something like "MyFaces"... Open notepad and paste this in there... class CfgPatches { class MyFaces { units[] = {}; weapons[] = {}; requiredVersion = 0.1; }; }; class CfgFaces { class Man { class Bushlurker { name = "Bushlurker"; texture = "\MyFaces\Bushlurker01.paa"; head = "defaultHead"; identityTypes[] = {}; material = "\ca\characters\heads\male\defaulthead\data\hhl_white.rvmat"; }; class Bodger { name = "Bodger"; texture = "\MyFaces\Bodger01.paa"; head = "defaultHead"; identityTypes[] = {}; material = "\ca\characters\heads\male\defaulthead\data\hhl_white.rvmat"; }; }; }; Change the classnames, filenames, "name" and foldername to whatever suits you... save the file as "config.cpp" (not config.cpp.txt!) and dump it in with the face textures... PBO the folder - you'll get a "MyFaces.pbo"... Don't put that in "Addons" - either dump it in with your miscellaneous mods in an existing modfolder, or make a new one... In the units init line, just put --- this setFace "Bushlurker" --- or whatever classname you chose That should work fine.... B Share this post Link to post Share on other sites
Wire 0 Posted March 24, 2010 Okay, so just double checking. u want me to edit the highlighted parts? class CfgPatches { class MyFaces { units[] = {}; weapons[] = {}; requiredVersion = 0.1; }; }; class CfgFaces { class Man { class Bushlurker { name = "Bushlurker"; texture = "\MyFaces\Bushlurker01.paa"; head = "defaultHead"; identityTypes[] = {}; material = "\ca\characters\heads\male\defaulthead\data\hhl_white.rvmat"; }; class Bodger { name = "Bodger"; texture = "\MyFaces\Bodger01.paa"; head = "defaultHead"; identityTypes[] = {}; material = "\ca\characters\heads\male\defaulthead\data\hhl_white.rvmat"; }; }; }; Share this post Link to post Share on other sites
bushlurker 46 Posted March 24, 2010 Yeah - thats it... For example - where it says "Bushlurker" - make it "Wire", and "Bushlurker01.paa" becomes "WiresFace01.paa" or whatever your face graphic is called... If you want your addon to be called something different from "MyFaces.pbo", then just name the containing folder anything you want... like "Wires_Face_Pack"... Change the main classname and all the paths to textures from, eg: class Wires_Face_Pack { units[] = {}; weapons[] = {}; requiredVersion = 0.1; }; }; class CfgFaces { class Man { class Wire { name = "Wire"; texture = "\Wires_Face_Pack\WiresFaceGraphic.paa"; etc, etc If you want to include more faces than just two - just copy and paste another subclass in - you can have as many as you want as long as they're all uniquely named... eg: just copy and paste this whole bit... class Bushlurker { name = "Bushlurker"; texture = "\MyFaces\Bushlurker01.paa"; head = "defaultHead"; identityTypes[] = {}; material = "\ca\characters\heads\male\defaulthead\data\hhl_wh ite.rvmat"; }; ...change it for face number 3 - paste another, edit it for face 4, etc etc... B Share this post Link to post Share on other sites
Wire 0 Posted March 25, 2010 Cheers thanks alot mate! Share this post Link to post Share on other sites
Keshman 10 Posted May 11, 2010 People can you help and me litel PLZ! Its my soldner! in mission! i want put for this sniper! MY face! I creat folder in side my mission! folder name ("MyFaces") in side folder MyFaces put face.paa! If you can! correct my text in the mission! so that the sniper was the face (face.paa) :pray: Thx. (sorry for bad english) class Item14 { side="WEST"; class Vehicles { items=1; class Item0 { position[]={4683.1357,339,10232.016}; azimut=-28.062599; special="NONE"; id=30; side="WEST"; vehicle="ace_usarmy_sniper"; player="PLAY CDG"; leader=1; skill=0.46666664; text="charlie_2"; init="this setGroupid [""Charlie""];"; description="Team Charlie Sniper"; }; }; }; Share this post Link to post Share on other sites