Jump to content
Sign in to follow this  
Kydoimos

Faces Config and Characters

Recommended Posts

Hi there!

I'm new to writing Config.cpp files and I need a little help! How would I write a config for an entry into the cfg.faces? I've got the following, which I can edit:

author = "Bohemia Interactive";
disabled = 0;
displayname = "Kirby";
head = "NATOHead_A3";
identityTypes[] = {"Head_NATO","Head_Euro"};
material = "\A3\Characters_F\Heads\Data\m_White_11.rvmat";
materialHL = "\A3\Characters_F\Heads\Data\hl_White_bald_muscular.rvmat";
materialHL2 = "\A3\Characters_F\Heads\Data\hl_White_bald_muscular.rvmat";
materialWounded1 = "A3\Characters_F\Heads\Data\m_White_11_injury.rvmat";
materialWounded2 = "A3\Characters_F\Heads\Data\m_White_11_injury.rvmat";
texture = "\A3\Characters_F\Heads\Data\m_White_11_co.paa";
textureHL = "\A3\Characters_F\Heads\Data\hl_White_bald_co.paa";
textureHL2 = "\A3\Characters_F\Heads\Data\hl_White_bald_co.paa";

But how would this look in the config.cpp? As well, if I wanted to create a whole new character, say, like a 'Kerry', how might that look? I guess, I'm just looking for some sort of template that I can add my own .paa files and paths to. Struggling with the syntax really...

Any help would be amazing - sorry if all of the above is a bit vague! I've had a search and most of the stuff I've found has broken links. I've also tried downloading face addons, but one of them had a broken link and the other, the config.bin couldn't be properly converted for some bizarre reason! Cheers chaps! :D

Share this post


Link to post
Share on other sites

The answer depends. Are you trying to create purely a new texture for a face or a whole new identity including head, face, voice, name? Is it mission specific or are you after something permanent that can be used outside of the mission?

Share this post


Link to post
Share on other sites

Hi Pomigit! It's just for a new face texture, and name! :D Oh, and it's not mission specific either. Thanks mate!

Edited by Kydoimos

Share this post


Link to post
Share on other sites

Use existing addons then and see what they did heres one you can look at:

ASCZ Heads

http://www.armaholic.com/page.php?id=27457

and another if it may help:

Camofaces

http://www.armaholic.com/page.php?id=27113

So open the addon up, and unrap the config.bin if it has one and take a look at the cfg's there.

Hope that helps.

Share this post


Link to post
Share on other sites

Hi Gunter! I've actually tried both of those! One had a broken link and the other wouldn't let me unrap the config.bin! Thanks for your suggestion though!

Don't worry! Splendid! I got the ASCZ download to work! Thanks for that! Perseverance is the key! Looks like a cool addon too!

Edited by Kydoimos

Share this post


Link to post
Share on other sites

Glad you got it sorted. And congrats on your win in the MANW comp, well deserved

Share this post


Link to post
Share on other sites
the other wouldn't let me unrap the config.bin!

Welcome. Which addon was it that you had trouble with for the config.bin and did you get it opened, or are you satisfied with what you have now?

Did you use Unrap tool always works for me.

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  

×