OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: XCess on 19 Jan 2006, 14:21:59
-
Just a quick simple request. Could somebody make a face texture with a small bruise under one eye? Just a mod of a standard BIS face.
Thanks in advance.
-
this do?
(http://www.tumeric.co.uk/mrb/flashpoint/bruised.jpg)
-
perfect. Could you config it for me? Sorry, but I'm useless at addons ::)
-
i feel a tutorial coming on....
create a new folder on your desktop. call it my_faces.
stick the jpg into that folder.
open notepad and copy/paste the following...
class CfgPatches
{
   class my_faces
   {
      units[] = {};
      weapons[] = {};
      requiredVersion = 1.91;
   };
};
class CfgFaces
{
   class bruiser
   {
      name="bruiser";
      texture="\my_faces\bruised.jpg";
      east=1;
      west=1;
   };
};
save that as config.bin, in the same my_faces folder.
run pbo utility, find the folder and click create. presto. your addon. :) use this setface "bruiser" to assign the face to a unit.
and if you really really can't do it, i'll do it for you. but give it a go. face addons are really one of the easiest things to do. try it at least, and if it still doesn't work, come back ;)
-
Thank ye muchly, I think I can manage that. Now, just to get my computer stable so I can start work on my new masterpiece mission ;D.
Thanks again, look out for your name in a readMe sometime soon :P
**edit**
had to save it as config.cpp before it would work but 'sall good now.
-
(http://img17.imageshack.us/img17/8240/bface9lh.jpg) (http://imageshack.us)
and there it is... got a bit bored so i made it all presentationish (the pic) but yeah..
darkened the bruise a bit too to make it clearer (guy got hit with the butt of a gun, maybe a Makarov). what ya think?
OH, another thing, what pbo are the face textures stored in?
-
what pbo are the face textures stored in?
The original game face textures are in Data.pbo.
They begin.... xicht_a.paa .......... xicht_b.paa .......etc
Resistance faces however will be in O\char and O\misc for the ladies :).
Planck
-
The original game face textures are in Data.pbo.
They begin.... xicht_a.paa .......... xicht_b.paa .......etc
thanks :)
-
(guy got hit with the butt of a gun, maybe a Makarov). what ya think?
i think
guy setmimic "hurt"
;)
-
good tip. thanks again bedges :)