Avatar Persona All
This is the final lesson! The culmination of all those other lessons squeezed into this final example. A completed persona to sink your teeth into to really have some fun and to produce a character with his or her own unique personality! In this lesson, you will learn about flying and landing characters. Walk around with performing actions as well as pick up boxes. My cold-fusion reactor heart is already pounding with excitement!
In this lesson, we will show you a complete sample on how you can fully control an actor by the Persona script. It covers random idle action, set different movement modes (walk, run and fly) and set terrain follow option to allow character walk on the ground or fly in the air. Another interesting topic is to target parts of the body for different motion while the lower body parts still performs walk motion. This project shows you a combined skill on using AMLEditor, and how you can interact with actor in a more advanced way.
Before you start this tutorial, please copy the fly motion files to C:\Program Files\Reallusion\iClone 3\Template\iClone Template\Motion\AML Templates\Fly.
In the Move Command list, we have divided the move commands into three modes: walk, run and fly. When you have set the modes for different behavior. Then you will be able to switch between the three modes using X and Z keys in Director Mode.
Since we are adding three behaviors in the Move Command. Then we need to create the following modes:
Here is a mode that is really interesting. Fly mode! Import any motions that is your favorite and set as one of your mode.
During the fly mode, make sure both "TerrainSnap" and "TerrainFollow" are not checked. When you have any one of the attributes checked. Then the character cannot fly high. The character will stick onto the level of the X, Y, Z plain and cannot fly high up. So when you want the character to leave the ground level and fly and perform in the air. Then you have to uncheck both "TerrainSnap" and "TerrainFollow".
Controls in iClone
Know more at iCloneWiki.com about hotkey options.
In this section, we have added five perform clips. Add clips to each perform command. For each command, check each Lock Move, Operate and Perform. When this is checked, all the other command channels (move, operate, perform) will not interrupt when the selected command is proceeding. Assign hot key to each command, so you can use them in Director Mode.
Please refer to the Avatar Perform Template Tutorial for more information about perform command.
Unlock to proceed into another motion (Desist Clip)
Add a Perform Command to create Desist Clip. When you use persist command and have played the perform command, the character always remains in the last frame status. Place a desist command to unlock the status of the last frame to continue on the other motions.
Later on in this tutorial we will guide you how to use Persist Command to lock certain body node. E.g. keep right hand holding the box while walking.
Blend Perform with Walking Motion (Priority Node)
In this section you can learn to use Priority node to blend perform motion with body movement, where you can have someone walking using WASD keys, and then press a perform hotkey to have certain parts of the body perform another motion. This is very useful when you want someone to walk and then pick up a book and then walk away again carrying the book tucked under their arm, instead of swinging wildly in their hand. Or you can have someone run, stop and wave hello to their friends on the way. Both of these cases can apply to priorities.
How does priority work? When you add an animation clip to a command you can set priority to body parts. Each of the priorities are defined by three levels: Normal, High and Ultra High. When I have punch that has ultra high and a walk motion that has normal- in this situation the punch will overwrite the walk motion's data and perform punch of the character.
From this table we can see that the character will have a Punch upper body and a Walking lower body.
Here you can learn the trick on how you can have punch animation while the actor is walking.
Using Priority node to blend perform motion with body movement.
Make the iCloneBox an iProp and direct the character to pick it up and walk with it. Please refer to Grab and Drop Template Tutorial of how to create an Operate iProp in iClone.
Set Persist under Priority
In iClone, you can set a certain part of the body to pick an object and stay in the motion of holding. After you pick up the object you can still walk but your arm stays in the position of holding an item. How can that be possible? In the following tutorial you will know the techniques of picking and holding an object in hand.
Since this script is for the character to interact with the prop. This is where Operate Command comes into play. Like what we did for the Grab and Drop Template you can divide the motion into two sections. The first clip is where the arm is reaching to the target object once the character reaches into the action radius range. The second clip is the animation for when the arm is holding an item. Since we have the animation clip that is holding an item, we need to select the clip and apply priorities to the selected clip.
Character Walk with the Box and Swing the hand with the box
See! In the video below you can have the character walk and walk with the box still in hand.
Please refer to Grab and Drop Template Tutorial for more information about how to create picking and dropping tutorial. Now you have all the knowledge about each commands. You will now be able to create your own AML.