Home   Help Search Login Register  

Author Topic: Changing name on soldiers?  (Read 762 times)

0 Members and 1 Guest are viewing this topic.

1stJemHadar

  • Guest
Changing name on soldiers?
« on: 08 Dec 2002, 16:25:23 »
Hi.

I'm building a mission were you are supposed to help an important soldier get to the evac point. The name of this "important soldier" I want to be Mattias Nilsson. How can I change the current name to the new name?

Thanks

seanver

  • Guest
Re:Changing name on soldiers?
« Reply #1 on: 08 Dec 2002, 16:52:03 »
Hi! You should create a file called description.ext in your mission's folder and put in it this:

class CfgIdentities
{
Identities[] = {};

class Jugador
{
name = "Hinojosa Cobacho";
face = "face27";
glasses = "NONE";
speaker="Adam";
pitch = 1.00;

};
};

Put the name you want to give to the player in the name field, and you can change this line:

class jugador

The face is the face you want to give him. Just go to the custmoize screen at the beginning of the game and see which face is the one you like the most. Now, to give the player an identity, put in his init field:

this setidentity "JUGADOR"

If you changed the word "jugador" for other "hahaha" for example, you should put: this setidentity "hahaha".

Hope this helps

By the way, this tutorial can help you too:

http://www.ofpec.com/editors/tutorial_view.php?id=18