anachronox-sdk/docs/planet/25.html
2002-01-21 00:00:00 +00:00

86 lines
2.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE>Anachronox Editing Documentation</TITLE>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#EFEFEF" LINK="#00FFFF" ALINK="#FFFFFF" VLINK="#05F3D0">
<CENTER>
<P>
<FONT FACE="Helvetica">
<FONT COLOR="#0055DD"><B>Tutorial 25: (Facial) Morphs on entites</B>
</FONT>
</CENTER>
<P>
<HR>
<BR>
MORPHMODEX=[morphchannel, speed, forward/reverse(1,0), value(how far the morph goes)]
<P>
There are many actors in anox. They each have 18 facial morphs.<BR>
Each morph is a picture of a different face position.<BR>
The first 9 are reserved for the mouth speech morph phonemes. 10-13 are face morphs and 14-17 are eye morphs.
<P>
Each morph is considered a channel.
<P>
face<BR>
10 - smirk<BR>
11 - happy<BR>
12 - sad<BR>
13 - angry
<P>
eyes<BR>
14 - smirk<BR>
15 - happy<BR>
16 - sad<BR>
17 - angry
<P>
newscript<BR>
put character_boots on a path<BR>
at 2.0 put a cmd node<BR>
morphmodex=10,1,1,1
<P>
Play this and look at his face. The 10 channel is his face. To play it faster<BR>
morphmodex=10,4,1,1
<P>
slower<BR>
morphmodex=10,.4,1,1
<P>
Now if the look is too extreme you can tone it down, by picking a value less than 1.<BR>
morphmodex=10,1,1,.5
<P>
put a node at 6.0<BR>
morphmodex=10,1,0,.5
<P>
play this. This will return his face back to normal. Now replace that with<BR>
morphmodex=10,1,0,1
<P>
play this. notice the Jump. Make sure you use the same value as when you put it in the first morphchannel, in this case .5
<P>
NOTE: For LINKED entities you MUST return the faces back to normal (Like Smart Animate) otherwise those faces will stay on the characters. (I did this in the Whitendon intro, and Boots walked around all of Whitendon with this big smile on his face. Dumb)
<P>
Try the other channels.
<P>
You can add face Morphs WHILE DIALOGUE IS PLAYING. BUT… you CANNOT use FACE morphs… ONLY EYE morphs. Other wise the mouth will get confused and play a combination of the 2…. Making some real weird faces. UNLESS You could try experimenting with face morphs and see if you get a specific look.
<P>
newscript<BR>
put character_stiletto on a path<BR>
at 2.0 put a cmd node<BR>
playdialogue=dialog/stiletto/stiletto_scene58_l3.scn<BR>
at 2.5 put a cmd node<BR>
morphmodex=14,1,1,1<BR>
at 3.5 put a cmd node<BR>
morphmodex=14,1,0,1<BR>
at 3.5 put a cmd node<BR>
morphmodex=16,5,0,.5
<P>
play this. Neat! These are EYE morphs to work in conjunction with dialogue.
<P>
KEEP TRACK of your morphs!!!
<P>
<P>&nbsp;<P>
</BODY>
</HTML>