Home   Help Search Login Register  

Author Topic: Custom face question  (Read 843 times)

0 Members and 1 Guest are viewing this topic.

Serial Killer

  • Guest
Custom face question
« on: 16 Aug 2005, 17:40:19 »
Is it possible to add a face, included with the mission file, to an unit? If yes, how? If no,... crap.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Custom face question
« Reply #1 on: 16 Aug 2005, 18:48:01 »
yes and no :P

yes you can add a custom face, but no, it can't just go along with the mission file. it requires you to create your own addon. before you sigh and mutter into your hands, i should inform you that it's relatively straightforward.

create your face files per the usual template, i.e. 128 x 128 pixels. you can leave them as jpg files, no need to convert to paa. stick them all in a folder and call the folder something.

then open up notepad and copy/paste the code in the attached file, changing the text to your filenames. save that file as config.cpp, stick it into the folder with all the faces, and then run amalfi's pbo maker, select the folder and run it.

voila. one pbo addon, which when added to the addons directory allows you to use the names you defined in the config file in the usual way, i.e. unit_name setface "name_of_face".

any questions?

« Last Edit: 10 Sep 2005, 09:43:00 by bedges »

Serial Killer

  • Guest
Re:Custom face question
« Reply #2 on: 16 Aug 2005, 18:50:12 »
Thanks. This should help me a lot.

funkster

  • Guest
Re:Custom face question
« Reply #3 on: 17 Aug 2005, 10:40:44 »
Interesting. I dont think Ill go and make my own face, but just incase i do;

How do you have to get the pic? I mean, do u have to take the front and sides of sommeones head (with a camera) and then edit into one 128x128 jpg? How do you get a photo that contains a whole face?

Serial Killer

  • Guest
Re:Custom face question
« Reply #4 on: 17 Aug 2005, 13:12:04 »
Interesting. I dont think Ill go and make my own face, but just incase i do;

How do you have to get the pic? I mean, do u have to take the front and sides of sommeones head (with a camera) and then edit into one 128x128 jpg? How do you get a photo that contains a whole face?

The Avon lady's OFP FAQ. Search for 'face'.