OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cornholio on 16 Apr 2003, 17:57:34

Title: Custom faces on AI
Post by: cornholio on 16 Apr 2003, 17:57:34
I've searched the FAQ but all I can find is giving the player a custom face.

Can I put a custom face on the AI? If yes, how?

Thanx in advance!
Title: Re:Custom faces on AI
Post by: macguba on 16 Apr 2003, 18:03:33
can't remember the syntax but something like

this setFace "face4"

in the unit's init line will do the trick
Title: Re:Custom faces on AI
Post by: cornholio on 16 Apr 2003, 19:06:14
Whoops!

I should have been more specific. I downloaded a custom face off the net.
It's called "desert01" and it's jpg format (duh). Where do I put the darn thing? I've tried putting it in my mission folder and then writing in the init field
of the AI soldier   this setface "desert01"  then I tried creating a new folder
called "face" with the photo inside. I tried...   this setface "face\desert01.jpg"
but that don't work either.


thanx

 
Title: Re:Custom faces on AI
Post by: Flapje on 16 Apr 2003, 19:13:30
I think it needs to be PBO... and you need a PBOer for that
Title: Re:Custom faces on AI
Post by: macguba on 16 Apr 2003, 19:37:25
this setFace "desert01.jpg"

with the pic in the mission folder ? ? ?

just a guess

If it turns out you need a pbo tool, try the Ed Depot.
Title: Re:Custom faces on AI
Post by: cornholio on 17 Apr 2003, 00:05:56
@ Flapje & macuguba

thanx to  both of you for responding :)

Both of those answers were kind of "uncertain". I diden't try the
"pbo" thing for the same reason. Believe me, I've tried every thing else. If I really do have to PBO it, that makes it just one more addon...(I have enough already). It's just a little detail that I would like to add to my (first) mission but not really that important.

@ macguba. What I meant by "mission folder",... The folder where my mission.sqm is located. Maybe you call it something else in english. Let me know if thats the case because I don't want to get it wrong next time ??? (  :P )

Anyone else have an idea how to use a custom face for the AI?


THA :-*
Title: Re:Custom faces on AI
Post by: macguba on 17 Apr 2003, 00:17:05
Yep, I meant next to the mission.sqm.      To me that seems the most likely syntax, so I just thought I'd mention it in the [unlikely] event that you hadn't tried that particular variant.

Title: Re:Custom faces on AI
Post by: cornholio on 17 Apr 2003, 11:25:20
Ok,

thanx again guys. I can't get it to work so screw it :)
(Wasn't that important anyway)

btw macguba, your "tutorial mission" really helped me out alot

cheers m8