OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: MGeo on 11 Mar 2004, 13:37:34
-
Is it possible to set names for the AI in multiplayer?
You know when you kill an AI in a deathmacvh instead nothing to write it will write
You killed *AINAME*
or
You was killed by *AINAME*
I don't really rememebr how it was writing but i remember it was something like that.
Is it possible to do this?
And also to make the AI to chat.
For example if he is kileld he will say something like
*Go to hell*
or
*Argh next time you will regret it.*
Or also if you kill someone to say like:
*Runned by the train.*
or
*Better get some practice n00b.*
Is it possible to do this?
-
there's a setidentity command in the comref
units init field entry would be
Unitname setidentity "Cpl_Blimp"
or failing that it could be
Unitname setidentity "Cpl Blimp"
and the code that needs entering in the Description.EXT would be
class CfgIdentities
   {
   class Cpl_Blimp
      {
      name = "Cpl Blimp";
      face = "Custom";
      glasses = "sunglasses";
      speaker = "Adam";
      pitch = 1.00;
      };
   };
Thats how the syntax would work for the setidentity command, however i have never tried it
-
A BIS deathmatch that came with Resistance, Flagfight Handguns on Nogova, uses identities like that. DePBO and have a look.
-
Thnx maybe i will use that.