Jump to content
Sign in to follow this  
fabiantronc

Use a custom face for a soldier.

Recommended Posts

Hi Community.

It's there a way to use a custom face of This topic for a soldier and make it by the config.cpp and not by a mission?

An Can I use different texture for different soldier with one .p3d?

for example use the "soldier.p3d" file and use 5 texture for 5 soldier. I say this for save space for my addon.

Regards smile_o.gif

Share this post


Link to post
Share on other sites

Inside CfgVehicles you put in your unit's settings a line such as this:

faceType = "TESTCUSTOM";

Then add this to the end of the config.cpp

class CfgFaces {

class TESTCUSTOM {

class Face1 {

name = "Firstname Lastname";

texture = "\addonfolder\face_texture_path.paa";

east = true;

west = true;

};

};

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×