Jump to content
Sign in to follow this  
GIAT industries

class CfgIdentities

Recommended Posts

Hi Everyone!

I would like to know how to customize more than 1 face in the Description.ext

class CfgIdentities

{

class John_Doe

{

name="John Bartholemew Doe";

face="Face01";

glasses="none";

speaker="Dan";

pitch=1.1;

};

But If I want to add a "John_Doe2", i try this

class CfgIdentities

{

class John_Doe

{

name="John Bartholemew Doe";

face="Face01";

glasses="none";

speaker="Dan";

pitch=1.1;

};

class CfgIdentities

{

class John_Doe2

{

name="John Bartholemew Doe2";

face="Face01";

glasses="none";

speaker="Dan";

pitch=1.1;

};

It doesn't work... Sorry, I'm new to the editing stuff...

Share this post


Link to post
Share on other sites

Your error seem to be that you put twice CfgIdentities, try something like that

class CfgIdentities 
{
class John_Doe
{
	name = "John Bartholemew Doe";
	face = "Face01";
	glasses="none";
	speaker = "Dan";
	pitch = 1.1;
};
class John_Doe2
{
	name = "John Bartholemew Doe";
	face = "Face01";
	glasses="none";
	speaker = "Dan";
	pitch = 1.1;
};;
}; 

Share this post


Link to post
Share on other sites

Can we use the Takistani type voices for the speaker ?

Share this post


Link to post
Share on other sites

@Koni: try Male01TK as the voice. No promises, but I know that Male02CZ will make them speak in Czech.

I wanted to add that you can do class inheritance on CfgIdentities. I use it to give a character different "looks" throughout a campaign. For example:

       class Escobar
{
	name = "Antonio Escobar";
	face = "Face17";
	glasses = "none";
	speaker = "Male01EN";
	pitch = 0.95;
};
       class Escobar_camo6 : Escobar
{
	face = "Face17_camo6";
};

In this example, class Escobar defines the basic look for that character. Notice the line "class Escobar_camo6 : Escobar" tells it that you want a new class that inherits from Escobar which is defined above. So in the new class you only put the features that you want to change.

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  

×