Jump to content
Sign in to follow this  
karazy

Making a custom face pack .pbo

Recommended Posts

I have all the tools and I know how to create the .pbo, but what should i label the folders/files as? I saved the face as a .paa file, but when I put the .pbo in AddOns, it just shows up as a new profile and the face doesnt even show up.

Answers?

Share this post


Link to post
Share on other sites

Try to extract the Arma's ca.pbo and and look for faces class in the config...and define new faces. For me it worked well. I may post you my config later today if you want...

Share this post


Link to post
Share on other sites

Okay, so I've got the .paa file for my face... I just need to know what to put in a config.cpp for my .pbo

Share this post


Link to post
Share on other sites

Post up the config in here. I was actually going to do the same thing.

Share this post


Link to post
Share on other sites

Just look at the that config (it is binarized, unbin it with kegetys tools) which i was writing above ca.pbo in the arma addons folder then look how the face class is defined - copy part that you need into your own config and define your new face  something like this (this is not correct writing of config just look at somebodys config how to write):

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

CfgFaces

class face1;

class yourownface : face1

sorry, but right now i am at work and dont have Arma here  sad_o.gif (but i want to!!!wink_o.gif so i dont remeber it correctly... but when i come home i will post my working config, if somebody much more skilled than me dont do it before me.

hope you understand my horrible english  whistle.gif

Share this post


Link to post
Share on other sites

Well I've tried many combinations of everything, and I can't find a code that works.

I'm up to this point:

CfgFaces

=

class rpface1

class ViolenceInHD { face =

name="ViolenceInHD";

texture="\rpface\textures\violence.paa";

};

I dunno if I've mentioned this yet, but I'd really like the face to show up in the default list of faces on the profile screen, btw.

Share this post


Link to post
Share on other sites

hiya, just thought i'd lend a helping hand. this config should work for ya .

Quote[/b] ]

class CfgPatches

{

class RP_FacePack

{

units[] = {};

weapons[] = {};

requiredVersion = 0.100000;

requiredaddons[] = {};

};

};

class CfgFaces

{

class Man

{

class rpface1

{

name="violenceinHD";

texture="\rpface\texture\violence.paa";

east=1;

west=1;

};

};

};

biggrin_o.gif

Share this post


Link to post
Share on other sites

Hi,

here is the config as i promised wink_o.gif

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define true 1

#define false 0

#define VSoft 0

#define VArmor 1

#define VAir 2

#define private 0

#define protected 1

#define public 2

#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define ReadAndWrite 0

#define ReadAndCreate 1

#define ReadOnly 2

#define ReadOnlyVerified 3

class CfgPatches

{

class your_custom_faces

{

units[] = {};

weapons[] = {};

requiredVersion = 0.100000;

requiredAddons[] = {"CAData","CACharacters","CAWeapons"};

};

};

class CfgFaceClasses

{

class your_custom_faces

{

displayName = "Your Faces";

};

};

class CfgFaces

{

class Man {

class Face1;

class your_face : Face1

{

name = "nameofyourface";

texture = "\yourfolder\data\yourfacetexture.paa";

east = true;      //this defines that face can be randomly put on OPFOR soldiers

west = true;     //same here for BLUFOR

}

}

this add face texture in game and it will be randomly put on the soldiers by game no need to put --- this setface "nameofface" --- in the soldiers init field, but sure you can do that if you want.

And about tha custom face in profiles, sorry but i havent tried but mayby you can find out something when you look in the caharacters.pbo (sorry not ca as i write before - mea culpa) config...

Share this post


Link to post
Share on other sites

Hehehe... just to wait one minute to see Soul Catcher's post !!! rofl.gif

Share this post


Link to post
Share on other sites

Okay SoulCatcher and s8n:

I put Soul's text into my config exactly (changed his "texture" to my correct "textures" folder), and "violenceinhd" shows up in the face list- but when i select it, it crashes arma to the desktop.

click for it

That image is the .paa in jpeg conversion.

Share this post


Link to post
Share on other sites

Mayby you should try to keep the same path lenght as the Arma uses:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"\ca\characters\hhl\hhl_01_CO.paa"

no mather the the names or folders but the path must be EXACTLY the same length as default... i done it that way and works fine

Share this post


Link to post
Share on other sites

I got it working, I think. I changed it from the BIS style face texture to the custom face .jpeg style (only one big box, not multiple smaller version of the face)

Here's the .pbo, try it out and see if it works for you.

rpface.pbo

It's face18, only a little paler and less shadowing around the eyes (it looked like makeup).

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  

×