Home   Help Search Login Register  

Author Topic: Small Addon  (Read 2391 times)

0 Members and 1 Guest are viewing this topic.

Offline XCess

  • Former Staff
  • ****
Small Addon
« 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.


Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Small Addon
« Reply #1 on: 19 Jan 2006, 14:33:55 »
this do?


Offline XCess

  • Former Staff
  • ****
Re:Small Addon
« Reply #2 on: 19 Jan 2006, 14:41:42 »
perfect. Could you config it for me? Sorry, but I'm useless at addons  ::)

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Small Addon
« Reply #3 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 ;)
« Last Edit: 19 Jan 2006, 16:31:21 by bedges »

Offline XCess

  • Former Staff
  • ****
Re:Small Addon
« Reply #4 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.
« Last Edit: 20 Jan 2006, 08:22:09 by XCess »

Offline XCess

  • Former Staff
  • ****
Re:Small Addon
« Reply #5 on: 20 Jan 2006, 03:42:13 »


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?
« Last Edit: 20 Jan 2006, 10:09:56 by XCess »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Small Addon
« Reply #6 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


« Last Edit: 20 Jan 2006, 14:44:00 by Planck »
I know a little about a lot, and a lot about a little.

Offline XCess

  • Former Staff
  • ****
Re:Small Addon
« Reply #7 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 :)

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Small Addon
« Reply #8 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"
;)

Offline XCess

  • Former Staff
  • ****
Re:Small Addon
« Reply #9 on: 24 Jan 2006, 05:18:51 »
good tip. thanks again bedges :)