OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: beretta on 12 Apr 2005, 16:51:01

Title: mouth script or hand move script
Post by: beretta on 12 Apr 2005, 16:51:01
is there a script that can make the ais mouth move for cutsceans
Title: Re:mouth script or hand move script
Post by: greg147 on 12 Apr 2005, 17:49:59
You don't need a script for it. Try putting this into either a trigger or unit:

Code: [Select]
unitname playmove "EffectStandTalk"
or

Code: [Select]
unitname switchmove "EffectStandTalk"

Check out the online comref. It has loads of things in there that help with this sort of this  ;)

http://www.ofpec.com/publicfiles/files/tutorials/CMDREFv104.htm
Title: Re:mouth script or hand move script
Post by: General Barron on 12 Apr 2005, 21:30:02
Yeah it's called the "say" command. Here is a tut that should help you learn how to use it:

http://www.ofpec.com/editors/resource_view.php?id=55
Title: Re:mouth script or hand move script
Post by: supershooter on 13 Apr 2005, 17:20:29
don't you just use lip files to allow the ai to say anything they want, once you've recorded it?

-supershooter
Title: Re:mouth script or hand move script
Post by: SEAL84 on 14 Apr 2005, 16:04:07
Record WAV files and use a program called WAV2LIP, which automatically generates lip movement files.