## MakeQuadruped

### Introduced

v4.0

### Description

Creates a character with the same proportions as a quadruped guide. The guide must be a model named "Quadruped_Guide". This command is not compatible with quadruped guides from versions of Softimage earlier than 4.0.

### Scripting Syntax

    oQuadruped = MakeQuadruped( [TorsoType], [TorsoStretch], [TorsoDivisions], [IconType], [MakeBelly], [BellySlide], [BellyCenterPercentage], [HeadType], [HeadStretch], [HeadDivisions], [Ears], [MakeTail], [TailDivisions], [FrontRoll], [FrontRollDivisions], [BackRoll], [BackRollDivisions], [ShadowType], [CreateShadowKeySet], [SelectUsingUI] );

### Return Value

Returns a Quadruped JScript object.

### Parameters

Parameter | Type | Description
--- | --- | ---
TorsoType | Integer | Whether quaternion spine or skeleton spine should be used. Default Value: 0
Possible Values: | Description:
0 | Quaternion spine.
1 | Skeleton spine.
TorsoStretch | Integer | Whether the spine should stretch to follow the chest controller, or maintain a constant length. Default Value: 0
Possible Values: | Description:
0 | Stretches by spine scale slider.
1 | Stretches to meet the chest controller.
TorsoDivisions | Integer | The number of spine divisions. The number of vertebra will be NbDivisions+1 . Default Value: 3
IconType | Integer | Type of icon to use for chest, hip, and upper body controls. Default Value: 0
Possible Values: | Description:
0 | Use square controllers.
1 | Use cube controllers.
MakeBelly | Boolean | Option to create a belly control. See MakeBelly command. Default Value: 0
BellySlide | Integer | Connects two point slide controls between the belly and hip, blending motion between the hip and belly for more realistic skin deformation. The slides are placed on either side of the belly control. Default Value: 0
BellyCenterPercentage | Double | Controls where the center of the belly is placed. A value of 0 attaches the belly center at the hip and bottom spine vertebra, giving a large radius for belly swing. A value of 1 puts the belly center near the belly surface, giving a small radius for belly swing. Generally the larger the swing radius, the slower a belly will bounce and jiggle. Default Value: 0
HeadType | Integer | The style of head assembly to be used. Default Value: 0
Possible Values: | Description:
0 | Skeleton head and neck.
1 | Spine head and neck.
HeadStretch | Integer | Whether the neck spine should stretch automatically to follow the head, or try to maintain a constant length. This parameter is ignored for the skeleton head type. Default Value: 0
HeadDivisions | Integer | The number of divisions on the neck if a spine head assembly is choosen. This parameter is ignored for skeleton head type. Default Value: 3
Ears | Boolean | Option to generate ears (a form of tail, see MakeTail ) from the ear guides on the biped guide. Default Value: 0
MakeTail | Boolean | Option to generate tail, see the MakeTail command. Default Value: 0
TailDivisions | Integer | Number of bones in tail's tracing chain. Default Value: 6
FrontRoll | Integer | Option to apply roll divisions to the front legs. The roll divisions behave the same as the bicep or thigh roll divisions, see MakeBicepRoll for description. Default Value: 0
FrontRollDivisions | Integer | The number of roll divisions on the front legs. If the value is zero no roll is created. Default Value: 3
BackRoll | Boolean | Option to apply roll divisions to the hind legs. The roll divisions behave the same as the bicep or thigh roll divisions, see MakeBicepRoll for description. Default Value: 0
BackRollDivisions | Integer | The number of roll divisions on the hind legs. If the value is zero no roll is created. Default Value: 3
ShadowType | Integer | The type of shadow rig to constrain to the quadruped. Shadow rigs can be used to transfer or remap animation. Default Value: 0
Possible Values: | Description:
0 | No shadow
1 | SI|3D Skeleton shadow rig
2 | XSI Skeleton shadow rig
3 | Null shadow rig
4 | Box shadow rig
5 | Box with skeleton arms
6 | Box with skeleton legs
7 | Box with skeleton legs and arms
CreateShadowKeySet | Boolean | If true, then the shadow rig has a character key set created with it. It is only used in scripting. Default Value: 0
SelectUsingUI | Boolean | If true a dialog box prompts the user to select the above options. Default Value: 0

### Examples

#### JScript Example

    /*

    	This example generates two quadruped rigs from a quadruped guide.

    */

    //Get the quadruped guide

    GetPresetModel("Quadruped_Guide", "Quadruped_Guide", null, null);

    //Generate a default rig from the guide

    MakeQuadruped(1, 0, 3, 1, false, 0, 0.25, 0, 0, 3, false, 1, 6, false, 0, false, 0, 0, false, true);

    Translate("Quadruped.GlobalSRT", -8, 0, 0, siRelative, siView, siObj, siXYZ, null, null, siXYZ, null, null, null, null, null, null, 0);

    //Generate a rig with box shadow from the guide

    MakeQuadruped(1, 0, 3, 1, false, 0, 0.25, 0, 0, 3, false, 1, 6, false, 0, false, 0, 4, false, true);

    Translate("Quadruped1.GlobalSRT", 8, 0, 0, siRelative, siView, siObj, siXYZ, null, null, siXYZ, null, null, null, null, null, null, 0);

### See Also

MakeBiped MakeBipedDogLeg