OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: mystic80 on 02 Oct 2003, 10:39:09

Title: custom face help!
Post by: mystic80 on 02 Oct 2003, 10:39:09
hi there how do i addon new faces to my own model and game?

this is my script.

class CfgPatches
{
   class faces
   {
   units[] = {};
   weapons[] = {};
   requiredVersion = 1.45;
   };
};

class CfgFaces
{
   class Face1
   {
      name="Reuben Kee";
      texture="\faces\reu.paa";
      east=1;
      west=0;
   };

   class Face2
   {
      name="Jayson";
      texture="\faces\jay.paa";
      east=0;
      west=1;
   };
};

in the game it doesnt show up instead its blank texture. help pls thanks! :'(
Title: Re:custom face help!
Post by: rhysduk on 02 Oct 2003, 18:49:02
I dont fully understand your first sentence but ill have a go anyway ;-

Wouldnt it be easier to create a face texture and set it as the face texture ingame ?

By using teh INIT FEILD of a UNIT ???

Let me know what ui think

Rhys
Title: Re:custom face help!
Post by: rhysduk on 02 Oct 2003, 18:51:12
I dont fully understadn your first sentence but i shall have a go anyway :-

Wouldnt it be easier to make a face texture and set it as one iin game using teh INIT FEILD of a UNIT ???

LEt me know what u think

RHys

Title: Re:custom face help!
Post by: mystic80 on 06 Oct 2003, 10:19:12
sorry for poor english. ok anyway here's wat i want.

Im trying out to use random faces on one model in the game how do i use that?

i worte the script in the cpp but it wont work. :(
Title: Re:custom face help!
Post by: dmakatra on 06 Oct 2003, 16:56:42
Try the addon forums instead. There you'll find all .cpp gurus.

:beat: *Gets Shot* :beat: