OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ZIKAN on 24 Nov 2002, 18:01:35

Title: sunglasses
Post by: ZIKAN on 24 Nov 2002, 18:01:35
Ok i need help in getting several units wear sunglasses, can i put something in the init fields to do this?
Also can i select a certain face for each unit and how?
Thanks.
Title: Re:sunglasses
Post by: Tomb on 24 Nov 2002, 18:41:57
 ;) Make a "Description.ext" file using NOTEPAD and put this in the identity class :

{
   face="YerChoise";
   glasses="WhateverSunglasses";
   speaker="Jonah";
   pitch=1.019670;   (that's pitching the voice up/down)
};


Put the description.ext file in yer "NameOfMission" folder...

And read a tut in the ed.depot about all this  8) :thumbsup:


Tut's help  :-*


PS. a face can also be set from the INIT field, yes :


This SetFace "MyFace.jpg"

Just be sure to put the JPEG image in yer mission folder... it's just like flags!  ;)