Common Commands

From Wiki

Jump to: navigation, search

Common Commands allow you to set the initial commands to your character to interact with the iProps, or even make your character to have the default performance once it's dragged in the scene. You may either drag a cup to the existing character and the character holds a cup in hand instantly. A scenario may also take place when you have a bed in the scene and the character drags on top to sit on it. All the Common Commands are to be placed before the Major Commands and Clips groups.

Attribute Description Setting
InitialPerformCommand New for iClone4 Once the Prop is dragged into the scene, the prop activates the InitialPerformCommand designated by the perform clip. This command can be used for both the prop and character.

Image:InitialPerformb.jpg

In the above illustration, i added an InitialPerformCommand in the Common Command group. Now, find a performance you with to set as the initial perform, and place the PerformCommand ID in between the InitialPerformCommand tags.

How-to: Once you have imported the revised script to the character with the addition InitialPerformCommand, you can then add it to the Custom Template. After you dragged the character to the scene, the character will perform it's performance right away.

Data Type: ID
InitialAttachCommand New for iClone4 When you have InitialAttachCommand in the Common Command group, you can then drag the iProps/iAccessories to attach the character. This initial command will only used in the beginning of the iProp scripts. This can only be used for iProp and not for character.

Image:initial_attachb.jpg

Image:Holding.jpg

Data Type: ID
InitialRideCommand New for iClone4 InitialRideCommand allows the character to sit on the sofa once it's dragged on top. This Command will only be used in the beginning of the iProp scripts.
In the illustration below, i have an InitialRideCommand within the Common Command group. Since we want the character to sit on the sofa once it's being dragged on top, we need to find a motion that matches to the motion, Sit Down. Go down to the Operate group within the script and find the motion to add in between InitialRideCommand tags.

Image:InitialRidinge.jpg
Image:Sofa.jpg

ForceMode New for iClone4 Since all the performances are Human-Centric in iClone4, ForceMode allows the character to follow the motions in the iProp itself.

E.g. Since the wings have attached to the character, ForceMode allows the character to perform all the motions in the wings. Such as flying in the air and forward and the character follows.

Image:fly.jpg

Data Type: BOOL
Default: FALSE
ModeID New for iClone4 ModeID in Common Commands allows you to differentiate behavior modes that will be used in this script for either the character or the prop. These modes clearly display in the director mode panel.
E.g. Walk, Run, Sit or Fly.
Data Type: INT
Min: 1
Max: 9
DisplayName New for iClone4 When you are in Director Mode, all the display names you defined in the script will appear in the mode panel. If ModeDefine is not specified in the script, Mode-n will be the default. n will be the mode ID defined in each of its mode. Eg. Jana-Mode:2

Image:Displaya.jpg

Data Type: CDATA
Default: Mode-n