Jump to content
Sign in to follow this  
RBNorton666

Change Units Glasses or Headware?

Recommended Posts

Hi

i have been looking all over the place for an answer to this with no luck so i have come here.

I recently downloaded the latest mercenery addon pack which came with glasses, helmets, gassmasks and other headware but the only way i can use them is in the glasses section of the player profile.

so i was wondering if theres some kind of code that i could use like the "setface" code? or something?

i would like to give individual units different headware

any help would be super helpfull :bounce3:

Share this post


Link to post
Share on other sites

Are you looking to do this in a config?

Because I am very curious as to how to do CfgIdentities in an addon's config as well.

Generally though, this is done within a mission. First you would define new identities in the Description.ext file within your mission, like this...

class CfgIdentities
{
class Identity1
{
	name = "Soldier 1";
	face = "face04";
	glasses = "Sunglasses";
	speaker = "male1";
	pitch = 1.00;
};

class Identity2
{
	name = "Soldier 2";
	face = "face06";
	glasses = "Sunglasses";
	speaker = "male2";
	pitch = 2.00;
};
};

Then, in the editor you would put the following into the init field of your soldier...

this setidentity "Identity1"

Hope that helps you out,

-AD

Share this post


Link to post
Share on other sites

Awsome

im an idiot. i just looked in the readme of the merc addon and it tells u how to do it

but thanks for your help it worked perfectly

:)

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  

×