Home   Help Search Login Register  

Author Topic: Problems with description.ext and CfgIdentities  (Read 752 times)

0 Members and 1 Guest are viewing this topic.

T3kNiCkeL

  • Guest
Problems with description.ext and CfgIdentities
« on: 08 Dec 2002, 07:37:35 »
I'm making a mission all's going well except for the fact I can't define a character using CfgIdentities. For example, I want to have a unit use sidechat
so I put...
"soldier sidechat ""Hi""";
in the init field.
I defined soldier in description.ext using CfgIdentities.
class CfgIdentities
{
   class soldier
   {
      name = "Private Bob";
      face = "Face1";
                          glasses="None";
      speaker = "Patrick";
      pitch = 1.0;
   };
};
The message comes up, but instead of using "private bob" in the radio chat it comes up only as Alpha Red 1. Also I am sure description.ext is functional because I have already implmented working sounds just the name of the unit doesn't show up as I want it to. What am I doing wrong? I would appreciate any help.

major asshole

  • Guest
Re:Problems with description.ext and CfgIdentities
« Reply #1 on: 08 Dec 2002, 08:19:47 »

G'day

Try this in your soldiers init

yourdude SetIdentity "Private Bob";

hth

L8R


T3kNiCkeL

  • Guest
Re:Problems with description.ext and CfgIdentities
« Reply #2 on: 08 Dec 2002, 20:15:37 »
still doesn't work :(
can anyone please help?

toadeater

  • Guest
Re:Problems with description.ext and CfgIdentities
« Reply #3 on: 12 Dec 2002, 23:03:52 »
Isn't it name setidentity "soldier" ?