Jump to content
Sign in to follow this  
lato1982

Display Surnames Only?

Recommended Posts

Hi,

I have a problem with setidentity for my soldiers. I use setIdentity to name my team example Marcus Jackson. How to make the game only display his surname on squad GUI? I know computer names Soldiers can have full name example: John Smith and it displays only Smith, for my guy its displays "Marcus..." which is totally not cool.

I really need to have full names for my mission and can't just give them only surnames.

Thanks in advance for any help.

Share this post


Link to post
Share on other sites

I'm not seeing where players could give a full name but only display surname, that seems to only apply to default AI.

Set their name to just the surname. The display on the squad is going to be what you put as the "name" field in cfgIdentities. You can make them call out the name by using one of the presets.

Icon Name: "Bob Patterson"

Called out as "2". "2 move 75 meters!"

Text: "2 - move - front!"

class CfgIdentities
{
   class BobP
   {
       name = "Bob Patterson";
       face = "WhiteHead_06";
       glasses = "None";
       speaker = "Male05ENG";
       pitch = 1.1;
   };
};

Icon Name: "Bob Patterson"

Called out as "Patterson". "Patterson move 75 meters!"

Text: "Bob Patterson - move - front!"

class CfgIdentities
{
   class BobP
   {
       name = "Bob Patterson";
       namesound = "Patterson";
       face = "WhiteHead_06";
       glasses = "None";
       speaker = "Male05ENG";
       pitch = 1.1;
   };
};

Icon Name: "Bob Patterson"

Called out as nothing. "Move 75 meters!"

Text: "Bob Patterson - move - front!"

class CfgIdentities
{
   class BobP
   {
       name = "Bob Patterson";
       namesound = "InvalidEntry";
       face = "WhiteHead_06";
       glasses = "None";
       speaker = "Male05ENG";
       pitch = 1.1;
   };
};

So.. let go of first names and you'll be a lot happier. :)

Share this post


Link to post
Share on other sites

Thanks for the reply.

I didn't mean the nameSounds that is clear. What I'm working right now is a death marker on map. AI soldiers without setIdentity after death are marked on map with full name, but on the Squad list only with first name (that's what I need).

I won't be much happier without first names, really need them for a lot of other stuff, like soldier stats, skills etc. :)

PS. btw love your website! I've learned a lot of stuff there when making first steps with scripting in Arma 2!

Share this post


Link to post
Share on other sites

Hey sorry for the bump, but I've found something like this in some cfg files:

 displayname = "Miller";

putting this line into class doesn't change anything. Any ideas how this might work?

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  

×