OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: DLEGION on 24 Jun 2012, 13:49:59

Title: change face and add glasses to unit --- SOLVED
Post by: DLEGION 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!