Home   Help Search Login Register  

Author Topic: Custom Identities?  (Read 2135 times)

0 Members and 1 Guest are viewing this topic.

Offline Meatball0311

  • Members
  • *
Custom Identities?
« on: 22 Jun 2011, 07:25:56 »
I would like to make a custom Identity, that uses Face01 thru Face20.  Is this possible?

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Custom Identities?
« Reply #1 on: 23 Jun 2011, 14:19:41 »
Hey,

For just a mission, or for an addon? If it's just for a mission, then it's as easy as adding something to your description.ext. If it's for an addon, it's almost as easy - although the "identity" part is not. So maybe you should specify: do you want a custom identity (i.e. face, voice, pitch, glasses) or a set of custom faces (for an addon)?

If it's just an identity, this needs to be moved to the general scripting area. As for an identity, it's as easy as adding this to your description.ext:

Code: [Select]
class CfgIdentities
{
    class JohnDoe_1
    {
        name = "John Doe Snr.";
        face = "Face01";
        glasses = "None";
        speaker = "Male02";
        pitch = 1.1;
    };
   class JohnDoe_2
    {
        name = "John Doe Jr.";
        face = "Face20";
        glasses = "None";
        speaker = "Male02";
        pitch = 1.1;
    };
};

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"