OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: SilentBob on 02 Sep 2002, 15:40:40

Title: Editing original faces
Post by: SilentBob on 02 Sep 2002, 15:40:40
Hi.. I want to somehow make some alterations to the faces that are in ofp and resistance.. Is this possible?  So far I have the standard template (makeface.jpg), but I don't want to have a clone army  ;)

Is there a way of editing the faces that you can choose from the menu in ofp?  I've looked around for a faces.pbo or something along the lines of that, but can't find anything... :-\

Thanks
Title: Re:Editing original faces
Post by: Chomps on 02 Sep 2002, 15:49:41
To get a face skin for your own player for multiplayer and most single player missions, you have to place a file named face.jpg in your OperationFlashpoint/Users/SilentBob directory.

There are some addons which add a couple extra faces to your selection, like the 'Nam pack, for example.

I would not know how to extract the original faces for editing.
Title: Re:Editing original faces
Post by: SilentBob on 02 Sep 2002, 15:58:31
Yeah I usually do that.. But there must be a way of editing the original faces somehow.. Even if to just alter them slightly..
Title: Re:Editing original faces
Post by: Corpral Hicks on 02 Sep 2002, 18:39:46
Click it and yo know you'll love it!

 (http://www.aztec-city.com/public_html/YaBBImages/yabblogo.gif) (http://www.aztec-city.com/cgi-bin/yabb/YaBB.pl)
Title: Re:Editing original faces
Post by: Backoff on 02 Sep 2002, 18:43:59
Corpral Hicks, after locking your 4th useless, off-topic, annoying posts, i think you won a ban.

All, please ignore Corpral Hicks's posts and continue your discution.
Title: Re:Editing original faces
Post by: tai mai shu on 02 Sep 2002, 21:28:55
corpral hicks, you are a freaking idiot.  all you do is post your lame nerd skyscrapr website link.  guess what, YOU ARE A LAMER!!! GET A LIFE!!! idiot  ::)
Title: Re:Editing original faces
Post by: SilentBob on 03 Sep 2002, 14:02:02
So I guess noone knows the answer then?  :-\
Title: Re:Editing original faces
Post by: dj_flash on 03 Sep 2002, 14:28:45
The faces are defined in config.bin.

Here is an example:

class CfgFaces
{
   class Default
   {
      name="$STR_CFG_FACES_DEFAULT";
      texture="xicht_2f.paa";
      east=0;
      west=0;
   };
   class Face1
   {
      name="Peter P.";
      texture="xicht_a.paa";
      east=0;
      west=0;
   };
   class Face2
   {
      name="Victor B.";
      texture="xicht_b.paa";
      east=0;
      west=1;
   };
};

You can try to make an addon with this classes in some file. I thing it must be config.cpp for a addon or description.ext for a mission/campain.

Then you can set the identities of some soldiers via

class CfgIdentities
{
   class Viktor
   {
      name = "Victor Troska";
      face = "FaceR01";
      glasses="None";
      speaker = "Greg";
      pitch = 1.05;
   };

   class Victor
   {
      name = "Viktor Troska";
      face = "FaceR01";
      glasses="None";
      speaker = "Greg";
      pitch = 1.05;
   };

   class James
   {
      name = "James Gastovski";
      face = "Face24";
      glasses="None";
      speaker = "Adam";
      pitch = 1.10;
   };
};

in the description.ext of a mission/campaing.

Tell me if it works. I never tried it myself.
Title: Re:Editing original faces
Post by: SilentBob on 03 Sep 2002, 16:30:52
I think you've misunderstood what I'm trying to do..

Can I extract e.g icht_b.paa from somewhere, alter it (maybe just add a camo face to victor for example), then pbo the file back up again so it can be used in the addons folder??
Title: Re:Editing original faces
Post by: SelectThis on 03 Sep 2002, 19:14:00
SilentBob,

Yes you can do that, ie make a face pack in a pbo form...There are some packs out there already that do this.

If you want a template cpp then look in one of the SEB/STE addons we usually add some faces in the pbo. ( our DeltaForce, Rangers and Nam Pack have a few)

SelectThis