OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: topcover on 27 Jan 2003, 19:59:11

Title: why doesnt setface always work?
Post by: topcover on 27 Jan 2003, 19:59:11
When I try to designate custom faces to AI units, only some faces work.

I am using the following in the intit field of the unit:

soldiername setface "facename"

I've only managed to use 1 out of many jpgs in my user/myname folder.
adding .jpg to the name of the jpg and the facename in the init field doesnt change a thing.

When i try to set faces using theones that are installed as addons and which are visible in the player edit menu.....zilch, nada, nothing.

I am sure it is me making the mistake. Show me the right way and i shall walk the path of enlightenment with a gritty tigerstripe camo on my face.

L8R,

TopCover
Title: Re:why doesnt setface always work?
Post by: Jester on 27 Jan 2003, 20:03:36
C:\Program Files\Codemasters\OperationFlashpoint\Users\yourname\missions\missionname

and use this in the init field of the guy

this setface "facename.jpg"
Title: Re:why doesnt setface always work?
Post by: Tomb on 27 Jan 2003, 23:29:21
yea, ya just need to locate the path to yer fiaz, matey!  :-* 8)

in missions, yer best off by throwing the JPEG's into the mission folder and use the
normal SetFace spell,

e.g. :

This setFace "Myface.jpg"  ;)


Title: Re:why doesnt setface always work?
Post by: Jester on 28 Jan 2003, 02:40:54
Daz wut dat sez ............. LOL   :D
Title: Re:why doesnt setface always work?
Post by: topcover on 04 Feb 2003, 04:36:49
Got it working, thanx people  :)

L8R

TopCover
Title: Re:why doesnt setface always work?
Post by: shlomo on 24 Feb 2004, 14:06:34
Hi topcover.

I read all the topic but still can make it work.

I tried my best but it is not enough.

I create a face.jpg under users\name and I'm able to use it as "custom" for myself and for AI soldiers.

However when I tried to create other faces and put them in the users\name\missions\faceMission\Myface.jpg  , The command  "this set face "MyFace" didn't work for AI soldier.

I'm using OFP resitance 1.92 ???
Title: Re:why doesnt setface always work?
Post by: Chris Death on 24 Feb 2004, 16:51:21
Shlomo, i guess it's because you did not read the
thread exactly.

Code: [Select]
"this set face "myface"
is not equal to:

Code: [Select]
this setface "myface.jpg"
 ;)

~S~ CD
Title: Re:why doesnt setface always work?
Post by: shlomo on 25 Feb 2004, 08:58:28
Sorry.

I forgot to said that I also tried "MyFace.jpg" and it didn't work either.

 :-[