Home   Help Search Login Register  

Author Topic: help with Solder's names  (Read 474 times)

0 Members and 1 Guest are viewing this topic.

PatriotTOM

  • Guest
help with Solder's names
« on: 22 Mar 2005, 11:13:29 »
hi how do you change the units names. As in if i wanted a man called "john Smith"  in my mission how can i do that. This may be basic but i'm new please help.
« Last Edit: 22 Mar 2005, 11:14:20 by PatriotTOM »

Offline 456820

  • Contributing Member
  • **
Re:hel with Solder's names
« Reply #1 on: 22 Mar 2005, 11:18:03 »
there is two ways the easy way is to open his screen by double clicking on him then there should be a box saying name or something like that then simply type in the name
the harder way is to put it in the description.ext file
like this

Code: [Select]
class CfgIdentities
{
   class JohnSmith
   {
      name = "John Smith";
      face = " chose your own face ";
      glasses = "none";
      speaker = " your choice ";
      pitch = 1;
   };
};
then in the units init field put
Quote
this setidentity ["johnsmith"]
i think that right

the first method will not show his name john smith on the radio messages but the second will

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:help with Solder's names
« Reply #2 on: 22 Mar 2005, 11:44:52 »
Naming the unit in the "name" field doesn't help. That name is only used for refering to the unit in scripts. But the second method works perfectly. From the looks of it even the syntax is correct.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:help with Solder's names
« Reply #3 on: 22 Mar 2005, 19:56:52 »
Almost right for the setidentity but no Brackets ([]) so
this setidentity "John"
Also note for this to work you will have to do what he said and put in a entry in the description.ext.
I like your approach, lets see your departure.
Download the New Flashlight Script!

PatriotTOM

  • Guest
Re:help with Solder's names
« Reply #4 on: 24 Mar 2005, 15:41:12 »
That did it. Thanks. ;D