OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: XCess on 19 Jan 2006, 14:21:59

Title: Small Addon
Post 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.

Title: Re:Small Addon
Post by: bedges on 19 Jan 2006, 14:33:55
this do?

(http://www.tumeric.co.uk/mrb/flashpoint/bruised.jpg)
Title: Re:Small Addon
Post by: XCess on 19 Jan 2006, 14:41:42
perfect. Could you config it for me? Sorry, but I'm useless at addons  ::)
Title: Re:Small Addon
Post by: bedges on 19 Jan 2006, 16:29:02
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...

Code: [Select]
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 ;)
Title: Re:Small Addon
Post by: XCess on 20 Jan 2006, 02:03:32
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.
Title: Re:Small Addon
Post by: XCess on 20 Jan 2006, 03:42:13
(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?
Title: Re:Small Addon
Post by: Planck on 20 Jan 2006, 14:40:56
Quote
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


Title: Re:Small Addon
Post by: XCess on 21 Jan 2006, 04:27:14
The original game face textures are in Data.pbo.

They begin....  xicht_a.paa  ..........  xicht_b.paa  .......etc

thanks :)
Title: Re:Small Addon
Post by: bedges on 24 Jan 2006, 05:15:55
Quote
(guy got hit with the butt of a gun, maybe a Makarov). what ya think?

i think

Code: [Select]
guy setmimic "hurt"
;)
Title: Re:Small Addon
Post by: XCess on 24 Jan 2006, 05:18:51
good tip. thanks again bedges :)