Home   Help Search Login Register  

Author Topic: change face and add glasses to unit --- SOLVED  (Read 3057 times)

0 Members and 1 Guest are viewing this topic.

Offline DLEGION

  • Members
  • *
change face and add glasses to unit --- SOLVED
« on: 24 Jun 2012, 13:49:59 »
hi all!

new trouble:
change a unit face and add glasses to it....

change face: for now i think i made it, with this command in unit init field:
this setFace "face04_camo4";

but for glasses seem far harder.....
seems i have to use a description.ext file, but i don't know what it is, how make it and where place it!
and i don't know what code put inside!

for now i tried create a notepad file, rename its extension, and put code:

class CfgIdentities
{
    class Agent1
    {
        name = "Agent";
        face = "Face66";
        glasses = "BlackSun";
        speaker = "Dan";
        pitch = 1.1;
    };
};};

....but it does not work! help plz!



EDIT: i was at good point, worked after adding to the unit in the editor in the init field:
this setidentity "agent1";

hope it helps other people!
« Last Edit: 24 Jun 2012, 14:03:56 by DLEGION »