Joe+Wurtz

Project on the student drive. Also posting the link for my code as opposed to killing the wiki page.

Chess Game Code Official's Code

Created by: Joe Wurtz

world

Events

When the world starts

Do: world.start

Methods

world.my first method

allBlocks =

Loop infinity times times

Do in order

world.move

If ( either ( pharaoh2 is within ( ( 10 * 2 ) ) of donkey ) or ( cowboy is within ( ( 10 * 2 ) ) of donkey ), or both )

ground say GAME OVER ( ( 10 * 10 ) ) fontSize = 30 (0.251, 0.251, 0.251)

Else

Do Nothing

world.movePlayer2

If ( either ( pharaoh2 is within 10 meters of donkey ) or ( cowboy is within ( ( 10 * 2 ) ) of donkey ), or both )

ground say GAME OVER ( ( 10 * 10 ) ) fontSize = 30 (0.251, 0.251, 0.251)

Else

Do Nothing

world.moveBishops

No variables

If ( ask user for yes or no question = Should the right castle move? If not, the left castle will move. )

astronaut.bishopMove

Else

astronaut2.bishopMove

// Questions which bishop should move.

world.movePawns

whichPawn =

( item ( ask user for a number question = Which pawn should move? The nearest pawn is 1, the farthest being 8. ) from whichPawn ) move forward ( ( 1 * ( E4 distance to F4 ) ) )

world.start

No variables

If ( ask user for yes or no question = Should a pawn move? )

world.firstMovePawn

Else

If ( ask user for yes or no question = Player 1, should a bishop move? )

world.player1RealBishopMove samuriMove = 1

Else

If ( ask user for yes or no question = Player 1, should a knight move? )

world.knightMovePlayer1

Else

If ( ask user for yes or no question = Player 1, should a side-castle move? If not, you will move the queen. )

world.moveBishops

Else

world.player1Queen forwardLeft = 1

If ( ask user for yes or no question = Player 2, should a pawn move? )

world.firstMovePawnPlayer2

Else

If ( ask user for yes or no question = Should a knight move? )

world.player2Knight

Else

If ( ask user for yes or no question = Should a bishop move? )

world.player2RealBishop spaces = 1

Else

If ( ask user for yes or no question = Should a side castle move? If not, you will move the queen. )

world.moveBishopsPlayer2

Else

Do Nothing

world.move

enemyTeam =, friendlyTeam = , allSquares =

Do together

camera move to dummy

camera orient to dummy

If ( ask user for yes or no question = Player 1, should a pawn move? )

world.movePawns

Else

If ( ask user for yes or no question = Player 1, should a bishop move? )

world.player1RealBishopMove samuriMove = 1

Else

If ( ask user for yes or no question = Player 1, should a knight move? )

world.knightMovePlayer1

Else

If ( ask user for yes or no question = Player 1, should a side-castle move? )

world.moveBishops

Else

If ( ask user for yes or no question = Should the queen move? If not, you will move the king. )

world.player1Queen forwardLeft = 1

Else

world.player1King

For all friendlyTeam, one item_from_friendlyTeam at a time

For all enemyTeam, one item_from_enemyTeam at a time

If ( item_from_friendlyTeam is within 1 meter of item_from_enemyTeam )

item_from_enemyTeam move down 25 meters

Else

Do Nothing

If ( either ( pharaoh2 is within 10 meters of donkey ) or ( cowboy is within 5 meters of donkey ), or both )

ground say GAME OVER ( ( 10 * 10 ) ) fontSize = 30 (0.251, 0.251, 0.251)

Else

Do Nothing

world.firstMovePawn

pawns =

( item ( ask user for a number question = Which pawn should move? The nearest pawn is 1, the farthest being 8. ) from pawns ) move forward ( ( 2 * ( E4 distance to F4 ) ) )

world.movePlayer2

friendlyTeam =, enemyTeam =

camera move to dummy2

camera orient to dummy2

If ( ask user for yes or no question = Player 2, should a pawn move? )

world.movePawnsPlayer2

Else

If ( ask user for yes or no question = Should a bishop move? )

world.player2RealBishop spaces = 1

Else

If ( ask user for yes or no question = Should a side-castle move? )

world.moveBishopsPlayer2

Else

If ( ask user for yes or no question = Should a knight move? )

world.player2Knight

Else

If ( ask user for yes or no question = Should the queen move? If not, you will move the king. )

world.player2Queen spaces = 1

Else

world.player2King

For all friendlyTeam, one item_from_friendlyTeam at a time

For all enemyTeam, one item_from_enemyTeam at a time

If ( item_from_friendlyTeam is within 1 meter of item_from_enemyTeam )

item_from_enemyTeam move down 10 meters

Else

Do Nothing

world.movePawnsPlayer2

whichPawn =

( item ( ask user for a number question = Which pawn should move? 1 = nearest pawn, 8 = farthest. ) from whichPawn ) move forward ( G8 distance to F8 )

world.firstMovePawnPlayer2

whichPawn =

( item ( ask user for a number question = Which pawn should move? 1 = nearest pawn, 8 = farthest. ) from whichPawn ) move forward ( ( ( E3 distance to F3 ) * 2 ) )

world.my first method

world.moveBishopsPlayer2

No variables

If ( ask user for yes or no question = Should the right castle move? If not, the right castle will move. )

If ( ask user for yes or no question = Should the castle move forward or backward? This does not specify direction yet. If not, it will move sideways. )

If ( ask user for yes or no question = Should the castle move forward? If not, it will move backward. )

angel3 move forward ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

Else

angel3 move backward ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

Else

If ( ask user for yes or no question = Should the castle move right? If not, it will move left. )

angel3 move right ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

Else

angel3 move left ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

Else

If ( ask user for yes or no question = Should the castle move forward or backward? This does not specify direction yet. If not, it will move sideways. )

If ( ask user for yes or no question = Should the castle move forward? If not, it will move backward. )

angel4 move forward ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

Else

angel4 move backward ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

Else

If ( ask user for yes or no question = Should the castle move right? If not, it will move left. )

angel4 move right ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

Else

angel4 move left ( ( ( ask user for a number question = How far forward? ) * ( F8 distance to E8 ) ) )

world.knightMovePlayer1

No variables

If ( ask user for yes or no question = Should the nearest knight move? If not, you will move the farther knight. )

If ( ask user for yes or no question = Do you want the knight to move forward/backward 2 spaces? )

If ( ask user for yes or no question = Do you want the knight to move forward? If not, he will move backward. )

zombie move forward ( ( ( G8 distance to F8 ) * 2 ) )

If ( ask user for yes or no question = Do you want the knight to move right 1 space? If not, he will move left. )

zombie move right ( ( ( G8 distance to F8 ) * 1 ) )

Else

zombie move left ( ( ( G8 distance to F8 ) * 1 ) )

Else

zombie move backward ( ( ( G8 distance to F8 ) * 2 ) )

If ( ask user for yes or no question = Do you want the knight to move right 1 space? If not, he will move left. )

zombie move right ( ( ( G8 distance to F8 ) * 1 ) )

Else

zombie move left ( ( ( G8 distance to F8 ) * 1 ) )

Else

If ( ask user for yes or no question = Do you want the knight to move forward 1 space? If not, he will move backward. )

zombie move forward ( ( ( G8 distance to F8 ) * 1 ) )

If ( ask user for yes or no question = Do you want the knight to move right 2 spaces? If not, he will move right? )

zombie move right ( ( ( G8 distance to F8 ) * 2 ) )

Else

zombie move left ( ( ( G8 distance to F8 ) * 2 ) )

Else

zombie move backward ( ( ( G8 distance to F8 ) * 1 ) )

If ( ask user for yes or no question = Do you want the knight to move right 2 spaces? If not, he will move right? )

zombie move right ( ( ( G8 distance to F8 ) * 2 ) )

Else

zombie move left ( ( ( G8 distance to F8 ) * 2 ) )

Else

If ( ask user for yes or no question = Do you want the knight to move forward/backward 2 spaces? )

If ( ask user for yes or no question = Do you want the knight to move forward? If not, he will move backward. )

zombie2 move forward ( ( ( G8 distance to F8 ) * 2 ) )

If ( ask user for yes or no question = Do you want the knight to move right 1 space? If not, he will move left. )

zombie2 move right ( ( ( G8 distance to F8 ) * 1 ) )

Else

zombie2 move left ( ( ( G8 distance to F8 ) * 1 ) )

Else

zombie2 move backward ( ( ( G8 distance to F8 ) * 2 ) )

If ( ask user for yes or no question = Do you want the knight to move right 1 space? If not, he will move left. )

zombie2 move right ( ( ( G8 distance to F8 ) * 1 ) )

Else

zombie2 move left ( ( ( G8 distance to F8 ) * 1 ) )

Else

If ( ask user for yes or no question = Do you want the knight to move forward 1 space? If not, he will move backward. )

zombie2 move forward ( ( ( G8 distance to F8 ) * 1 ) )

If ( ask user for yes or no question = Do you want the knight to move right 2 spaces? If not, he will move right? )

zombie2 move right ( ( ( G8 distance to F8 ) * 2 ) )

Else

zombie2 move left ( ( ( G8 distance to F8 ) * 2 ) )

Else

zombie2 move backward ( ( ( G8 distance to F8 ) * 1 ) )

If ( ask user for yes or no question = Do you want the knight to move right 2 spaces? If not, he will move right? )

zombie2 move right ( ( ( G8 distance to F8 ) * 2 ) )

Else

zombie2 move left ( ( ( G8 distance to F8 ) * 2 ) )

world.dropAttackedPiece

team1 =

If true

Do Nothing

Else

Do Nothing

world.player1RealBishopMove ( [123] samuriMove)

No variables

If ( ask user for yes or no question = Should the right bishop move? If not the left bishop will move. )

If ( ask user for yes or no question = Should the bishop move forward? If not he will move backwards. )

If ( ask user for yes or no question = Should the bishop move forward and to the right? If not, he will move left the desired spaces. )

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai move forward samuriMove meters

samurai move right samuriMove meters

Else

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai move forward samuriMove meters

samurai move left samuriMove meters

Else

If ( ask user for yes or no question = Should the bishop move backward and to the right? If not, he will move left the desired spaces. )

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai move backward samuriMove meters

samurai move right samuriMove meters

Else

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai move backward samuriMove meters

samurai move left samuriMove meters

Else

If ( ask user for yes or no question = Should he move in a forward direction? If not, he will move in a backward direction. )

If ( ask user for yes or no question = Should he move forward and to the right? If not, he will move forward and to the left. )

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai2 move forward samuriMove meters

samurai2 move right samuriMove meters

Else

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai2 move forward samuriMove meters

samurai2 move left samuriMove meters

Else

If ( ask user for yes or no question = Should he move backward and to the left? If not, he will move backward and to the right. )

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai2 move backward samuriMove meters

samurai2 move right samuriMove meters

Else

samuriMove set value to ( ask user for a number question = How many spaces should he move. )

Do together

samurai2 move backward samuriMove meters

samurai2 move left samuriMove meters

world.player2Knight

No variables

If ( ask user for yes or no question = Should the nearest knight (originally) move? If not the farther will move. )

If ( ask user for yes or no question = Should he move forward? If not, he will move back. )

If ( ask user for yes or no question = Should he move forward 2? If not, he will move forward 1. )

mummy3 move forward ( ( 2 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy3 move left ( E8 distance to F8 )

Else

mummy3 move right ( E8 distance to F8 )

Else

mummy3 move forward ( ( 1 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy3 move left ( ( ( E8 distance to F8 ) * 2 ) )

Else

mummy3 move right ( ( ( E8 distance to F8 ) * 2 ) )

Else

If ( ask user for yes or no question = Should he move backward 2? If not, he will move backward 1. )

mummy3 move forward ( ( 2 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy3 move left ( E8 distance to F8 )

Else

mummy3 move right ( E8 distance to F8 )

Else

mummy3 move forward ( ( 1 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy3 move left ( ( ( E8 distance to F8 ) * 2 ) )

Else

mummy3 move right ( ( ( E8 distance to F8 ) * 2 ) )

Else

If ( ask user for yes or no question = Should he move forward? If not, he will move back. )

If ( ask user for yes or no question = Should he move forward 2? If not, he will move forward 1. )

mummy4 move forward ( ( 2 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy4 move left ( E8 distance to F8 )

Else

mummy4 move right ( E8 distance to F8 )

Else

mummy4 move forward ( ( 1 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy4 move left ( ( ( E8 distance to F8 ) * 2 ) )

Else

mummy4 move right ( ( ( E8 distance to F8 ) * 2 ) )

Else

If ( ask user for yes or no question = Should he move backward 2? If not, he will move backward 1. )

mummy4 move forward ( ( 2 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy4 move left ( E8 distance to F8 )

Else

mummy4 move right ( E8 distance to F8 )

Else

mummy4 move forward ( ( 1 * ( E8 distance to F8 ) ) )

If ( ask user for yes or no question = Should he move to the left? If not, he will move right. )

mummy4 move left ( ( ( E8 distance to F8 ) * 2 ) )

Else

mummy4 move right ( ( ( E8 distance to F8 ) * 2 ) )

world.my first method

world.player1Queen ( [123] forwardLeft)

No variables

If ( ask user for yes or no question = Should the queen move straight? If not, she will move diagonally. )

If ( ask user for yes or no question = Should the queen move forward or backwards? If not, she will move to one of the sides. )

If ( ask user for yes or no question = Should the queen move forward? If not, she will move backward. )

nativeGirl move forward ( ( ( ask user for a number question = How far forward? ) * ( H8 distance to H7 ) ) )

Else

nativeGirl move backward ( ( ( ask user for a number question = How far backward? ) * ( H8 distance to H7 ) ) )

Else

If ( ask user for yes or no question = Should the queen move to the left? If not, she will move to the right. )

nativeGirl move left ( ( ( ask user for a number question = How far left? ) * ( H8 distance to H7 ) ) )

Else

nativeGirl move right ( ( ( ask user for a number question = How far right? ) * ( H8 distance to H7 ) ) )

Else

If ( ask user for yes or no question = Should the queen move in a forward direction? )

If ( ask user for yes or no question = Should the queen move to the left and forward? If not, she will move right and forward. )

forwardLeft set value to ( ( ( ask user for a number question = How far should she move? ) * ( H8 distance to H7 ) ) )

Do together

nativeGirl move forward forwardLeft meters

nativeGirl move left forwardLeft meters

Else

forwardLeft set value to ( ( ( ask user for a number question = How far should she move? ) * ( H8 distance to H7 ) ) )

Do together

nativeGirl move right forwardLeft meters

nativeGirl move forward forwardLeft meters

Else

If ( ask user for yes or no question = Should the queen move to the left and back? If not, she will move back and to the right. )

forwardLeft set value to ( ( ( ask user for a number question = How far should she move? ) * ( H8 distance to H7 ) ) )

Do together

nativeGirl move left forwardLeft meters

nativeGirl move backward forwardLeft meters

Else

forwardLeft set value to ( ( ( ask user for a number question = How far should she move? ) * ( H8 distance to H7 ) ) )

Do together

nativeGirl move left forwardLeft meters

nativeGirl move backward forwardLeft meters

world.player1King

No variables

If ( ask user for yes or no question = Should the king move straight? If not, he will move diagonally. )

If ( ask user for yes or no question = Should he move forward or backwards? If not, he will move to one of the sides. )

If ( ask user for yes or no question = Should he move forward? If not, he will move backwards. )

cowboy move forward ( H8 distance to H7 )

Else

cowboy move forward ( H8 distance to H7 )

Else

If ( ask user for yes or no question = Should he move right? If not, he will move left. )

cowboy move right ( H8 distance to H7 )

Else

cowboy move left ( H8 distance to H7 )

Else

If ( ask user for yes or no question = Should he move in a forward direction? )

If ( ask user for yes or no question = Should he move forward and to the left? If not, he will move right. )

Do together

cowboy move left ( H8 distance to H7 )

cowboy move forward ( H8 distance to H7 )

Else

Do together

cowboy move right ( H8 distance to H7 )

cowboy move forward ( H8 distance to H7 )

Else

If ( ask user for yes or no question = Should he move backward and to the left? If not, he will move right. )

Do together

cowboy move left ( H8 distance to H7 )

cowboy move backward ( H8 distance to H7 )

Else

Do together

cowboy move right ( H8 distance to H7 )

cowboy move backward ( H8 distance to H7 )

world.player2RealBishop ( [123] spaces)

No variables

If ( ask user for yes or no question = Should the left bishop move? If not, the right one will. )

If ( ask user for yes or no question = Should he move in a forward direction? )

If ( ask user for yes or no question = Should he move forward and to the right? If not, he will move forward and to the left? )

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan4 move forward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan4 move right ( ( spaces * ( H8 distance to H7 ) ) )

Else

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan4 move forward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan4 move left ( ( spaces * ( H8 distance to H7 ) ) )

Else

If ( ask user for yes or no question = Should he move backwards and to the right? If not, he will move forward and to the right. )

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan4 move backward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan4 move right ( ( spaces * ( H8 distance to H7 ) ) )

Else

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan4 move backward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan4 move left ( ( spaces * ( H8 distance to H7 ) ) )

Else

If ( ask user for yes or no question = Should he move in a forward direction? )

If ( ask user for yes or no question = Should he move forward and to the right? If not, he will move forward and to the left? )

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan3 move forward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan3 move right ( ( spaces * ( H8 distance to H7 ) ) )

Else

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan3 move forward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan3 move left ( ( spaces * ( H8 distance to H7 ) ) )

Else

If ( ask user for yes or no question = Should he move backwards and to the right? If not, he will move forward and to the right. )

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan3 move backward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan3 move right ( ( spaces * ( H8 distance to H7 ) ) )

Else

spaces set value to ( ask user for a number question = How far should he move? )

Do together

firstCenturyOldMan3 move backward ( ( spaces * ( H8 distance to H7 ) ) )

firstCenturyOldMan3 move left ( ( spaces * ( H8 distance to H7 ) ) )

world.player2Queen ( [123] spaces)

No variables

If ( ask user for yes or no question = Should the queen move diagonally? If not she will move straight. )

If ( ask user for yes or no question = Should she move in a forward direction? If not, she will move backwards. )

If ( ask user for yes or no question = Should she move forward and to the right? If not, she will move to the left and forward. )

spaces set value to ( ask user for a number question = How far? )

Do together

isis2 move forward ( ( spaces * ( E4 distance to E5 ) ) )

isis2 move right ( ( spaces * ( E4 distance to E5 ) ) )

Else

spaces set value to ( ask user for a number question = How far? )

Do together

isis2 move forward ( ( spaces * ( E4 distance to E5 ) ) )

isis2 move left ( ( spaces * ( E4 distance to E5 ) ) )

Else

If ( ask user for yes or no question = Should she move backwards and to the right? If not, she will move to the left and backwards. )

spaces set value to ( ask user for a number question = How far? )

Do together

isis2 move backward ( ( spaces * ( E4 distance to E5 ) ) )

isis2 move right ( ( spaces * ( E4 distance to E5 ) ) )

Else

spaces set value to ( ask user for a number question = How far? )

Do together

isis2 move backward ( ( spaces * ( E4 distance to E5 ) ) )

isis2 move left ( ( spaces * ( E4 distance to E5 ) ) )

Else

If ( ask user for yes or no question = Should she move forward or backwards? If not, she will move to one of the sides. )

If ( ask user for yes or no question = Should she move forward? If not, she will move backwards. )

spaces set value to ( ask user for a number question = How far? )

isis2 move forward ( ( spaces * ( E4 distance to E5 ) ) )

Else

spaces set value to ( ask user for a number question = How far? )

isis2 move backward ( ( spaces * ( E4 distance to E5 ) ) )

Else

If ( ask user for yes or no question = Should she move right? If not, she will move left. )

spaces set value to ( ask user for a number question = How far? )

isis2 move right ( ( spaces * ( E4 distance to E5 ) ) )

Else

spaces set value to ( ask user for a number question = How far? )

isis2 move left ( ( spaces * ( E4 distance to E5 ) ) )

world.player2King

No variables

If ( ask user for yes or no question = Should the king move diagonally? If not, he will move straight. )

If ( ask user for yes or no question = Should he move in a forward direction? If not, he will move in a backward direction. )

If ( ask user for yes or no question = Should he move forward and to the right? If not, he will move forward and to the left. )

Do together

pharaoh2 move forward ( E8 distance to E7 )

pharaoh2 move left ( E8 distance to E7 )

Else

Do together

pharaoh2 move forward ( E8 distance to E7 )

pharaoh2 move left ( E8 distance to E7 )

Else

If ( ask user for yes or no question = Should he move backward and to the right? If not, he will move backward and to the left. )

Do together

pharaoh2 move right ( E8 distance to E7 )

pharaoh2 move backward ( E8 distance to E7 )

Else

Do together

pharaoh2 move left ( E8 distance to E7 )

pharaoh2 move backward ( E8 distance to E7 )

Else

If ( ask user for yes or no question = Should he move forward or backward? If not, he will move to one of the sides. )

If ( ask user for yes or no question = Should he move forward? If not, he will move backward. )

pharaoh2 move forward ( E8 distance to E7 )

Else

pharaoh2 move backward ( E8 distance to E7 )

Else

If ( ask user for yes or no question = Should he move to the right? If not, he will move to the left. )

pharaoh2 move right ( E8 distance to E7 )

Else

pharaoh2 move left ( E8 distance to E7 )

Functions

edu.cmu.cs.stage3.alice.core.Direction world.whichDirection

No variables

Do Nothing

Return left

husky

Methods

husky.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky.AmbientWag

No variables

husky.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky play sound husky.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky.Breathe

No variables

Do together

Do in order

husky.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky.SitStand

VertMove = 0.06

If husky.isSitting

husky.isSitting set value to false

Do together

husky turn forward .123 revolutions

husky move forward 0.33 meters

husky move down VertMove meters

Do in order

husky.AmbientWagOn set value to false

husky set pose husky.miniSitToStand duration = .7 seconds style = begin gently

husky set pose husky.miniStanding duration = 0.3 seconds style = abruptly

husky.AmbientWagOn set value to true

husky.isSitting set value to false

husky.isResting set value to true

Else

husky.isResting set value to false

Do together

husky turn backward 0.123 revolutions

husky move backward 0.33 meters

husky move up VertMove meters

Do in order

husky.AmbientWagOn set value to false

husky set pose husky.miniSitToStand duration = .3 seconds style = begin gently

husky set pose husky.miniSitting duration = 0.7 seconds style = abruptly

husky.AmbientWagOn set value to true

husky.isSitting set value to true

husky.isResting set value to true

husky.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky set pose husky.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky move forward StrideLen meters duration = WalkDur seconds

Do together

husky set pose husky.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky move forward StrideLen meters duration = WalkDur seconds

Do together

husky set pose husky.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky move forward StrideLen meters duration = WalkDur seconds

Do together

husky set pose husky.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky move forward StrideLen meters duration = WalkDur seconds

husky.AmbientWagOn set value to true

husky.StandWalk

No variables

If ( not husky.isSitting )

If husky.isWalking

husky.isWalking set value to false

Do together

husky set pose husky.miniStanding duration = 0.5 seconds

husky move backward .15 meters duration = 0.5 seconds

husky.isResting set value to true

Else

husky.isResting set value to false

Do together

husky set pose husky.miniJesWalk02_5 duration = 0.5 seconds

husky move forward 0.15 meters duration = 0.5 seconds

husky.isWalking set value to true

Else

Do Nothing

husky.SitStandWalk

No variables

If ( not husky.isSitting )

husky.AmbientWagOn set value to false

husky.StandWalk

husky.WalkCycle NumCycles = 1

husky.StandWalk

husky.AmbientWagOn set value to true

husky.SitStand

Else

husky.SitStand

husky.AmbientWagOn set value to false

husky.StandWalk

husky.WalkCycle NumCycles = 1

husky.StandWalk

husky.AmbientWagOn set value to true

husky.Resting

No variables

husky.AmbientWagOn set value to true

husky.isBreathing set value to true

husky.Bark BarkSpeed = 2.5

If husky.isSitting

husky.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky.HeadNod NodDuration = 0.25 NumNods = 1

husky.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky.HeadNod NodDuration = 0.25 NumNods = 2

If husky.isSitting

husky.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky.HeadNod NodDuration = 0.25 NumNods = 2

husky.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky.isResting set value to false

husky.AmbientWagOn set value to false

husky set pose husky.miniJesWalk02_5 duration = 0 seconds

Do together

husky.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky turn right 1/48 revolutions duration = TurnStepTime seconds

husky move right 1/8 meters duration = TurnStepTime seconds

husky.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky turn right 1/48 revolutions duration = TurnStepTime seconds

husky move right .041 meters duration = TurnStepTime seconds

husky.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky turn right 1/48 revolutions duration = TurnStepTime seconds

husky move right .041 meters duration = TurnStepTime seconds

husky.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky turn right 1/48 revolutions duration = TurnStepTime seconds

husky move right 1/8 meters duration = TurnStepTime seconds

husky.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky set pose husky.miniJesWalk02_5 duration = 0 seconds

husky.isResting set value to true

husky.AmbientWagOn set value to true

husky.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky.isResting set value to false

husky.AmbientWagOn set value to false

husky set pose husky.JesWalk02_5 duration = 0 seconds

Do together

husky.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky move left 1/8 meters duration = LeftTurnStepTime seconds

husky.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky move left 1/8 meters duration = LeftTurnStepTime seconds

husky.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky move left 1/8 meters duration = LeftTurnStepTime seconds

husky.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky move left 1/8 meters duration = LeftTurnStepTime seconds

husky.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky set pose husky.JesWalk02_5 duration = 0 seconds

husky.isResting set value to true

husky.AmbientWagOn set value to true

husky2

Methods

husky2.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky2.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky2.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky2.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky2.AmbientWag

No variables

husky2.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky2.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky2.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky2.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky2.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky2.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky2.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky2.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky2 play sound husky2.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky2.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky2.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky2.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky2.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky2.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky2.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky2.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky2.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky2.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky2.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky2.Breathe

No variables

Do together

Do in order

husky2.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky2.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky2.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky2.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky2.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky2.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky2.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky2.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky2.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky2.SitStand

VertMove = 0.06

If husky2.isSitting

husky2.isSitting set value to false

Do together

husky2 turn forward .123 revolutions

husky2 move forward 0.33 meters

husky2 move down VertMove meters

Do in order

husky2.AmbientWagOn set value to false

husky2 set pose husky2.miniSitToStand duration = .7 seconds style = begin gently

husky2 set pose husky2.miniStanding duration = 0.3 seconds style = abruptly

husky2.AmbientWagOn set value to true

husky2.isSitting set value to false

husky2.isResting set value to true

Else

husky2.isResting set value to false

Do together

husky2 turn backward 0.123 revolutions

husky2 move backward 0.33 meters

husky2 move up VertMove meters

Do in order

husky2.AmbientWagOn set value to false

husky2 set pose husky2.miniSitToStand duration = .3 seconds style = begin gently

husky2 set pose husky2.miniSitting duration = 0.7 seconds style = abruptly

husky2.AmbientWagOn set value to true

husky2.isSitting set value to true

husky2.isResting set value to true

husky2.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky2.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky2 set pose husky2.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky2 move forward StrideLen meters duration = WalkDur seconds

Do together

husky2 set pose husky2.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky2 move forward StrideLen meters duration = WalkDur seconds

Do together

husky2 set pose husky2.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky2 move forward StrideLen meters duration = WalkDur seconds

Do together

husky2 set pose husky2.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky2 move forward StrideLen meters duration = WalkDur seconds

husky2.AmbientWagOn set value to true

husky2.StandWalk

No variables

If ( not husky2.isSitting )

If husky2.isWalking

husky2.isWalking set value to false

Do together

husky2 set pose husky2.miniStanding duration = 0.5 seconds

husky2 move backward .15 meters duration = 0.5 seconds

husky2.isResting set value to true

Else

husky2.isResting set value to false

Do together

husky2 set pose husky2.miniJesWalk02_5 duration = 0.5 seconds

husky2 move forward 0.15 meters duration = 0.5 seconds

husky2.isWalking set value to true

Else

Do Nothing

husky2.SitStandWalk

No variables

If ( not husky2.isSitting )

husky2.AmbientWagOn set value to false

husky2.StandWalk

husky2.WalkCycle NumCycles = 1

husky2.StandWalk

husky2.AmbientWagOn set value to true

husky2.SitStand

Else

husky2.SitStand

husky2.AmbientWagOn set value to false

husky2.StandWalk

husky2.WalkCycle NumCycles = 1

husky2.StandWalk

husky2.AmbientWagOn set value to true

husky2.Resting

No variables

husky2.AmbientWagOn set value to true

husky2.isBreathing set value to true

husky2.Bark BarkSpeed = 2.5

If husky2.isSitting

husky2.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky2.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky2.HeadNod NodDuration = 0.25 NumNods = 1

husky2.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky2.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky2.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky2.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky2.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky2.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky2.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky2.HeadNod NodDuration = 0.25 NumNods = 2

If husky2.isSitting

husky2.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky2.HeadNod NodDuration = 0.25 NumNods = 2

husky2.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky2.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky2.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky2.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky2.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky2.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky2.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky2.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky2.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky2.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky2.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky2.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky2.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky2.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky2.isResting set value to false

husky2.AmbientWagOn set value to false

husky2 set pose husky2.miniJesWalk02_5 duration = 0 seconds

Do together

husky2.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky2.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky2.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky2 turn right 1/48 revolutions duration = TurnStepTime seconds

husky2 move right 1/8 meters duration = TurnStepTime seconds

husky2.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky2.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky2.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky2.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky2.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky2.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky2.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky2.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky2.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky2.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky2 turn right 1/48 revolutions duration = TurnStepTime seconds

husky2 move right .041 meters duration = TurnStepTime seconds

husky2.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky2.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky2.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky2.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky2.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky2.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky2.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky2.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky2.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky2.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky2.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky2 turn right 1/48 revolutions duration = TurnStepTime seconds

husky2 move right .041 meters duration = TurnStepTime seconds

husky2.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky2.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky2.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky2.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky2.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky2.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky2.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky2.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky2.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky2 turn right 1/48 revolutions duration = TurnStepTime seconds

husky2 move right 1/8 meters duration = TurnStepTime seconds

husky2.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky2.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky2.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky2.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky2.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky2.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky2.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky2.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky2.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky2.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky2.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky2.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky2.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky2.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky2 set pose husky2.miniJesWalk02_5 duration = 0 seconds

husky2.isResting set value to true

husky2.AmbientWagOn set value to true

husky2.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky2.isResting set value to false

husky2.AmbientWagOn set value to false

husky2 set pose husky2.JesWalk02_5 duration = 0 seconds

Do together

husky2.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky2.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky2.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky2.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky2 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky2 move left 1/8 meters duration = LeftTurnStepTime seconds

husky2.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky2.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky2.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky2 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky2 move left 1/8 meters duration = LeftTurnStepTime seconds

husky2.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky2.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky2.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky2 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky2 move left 1/8 meters duration = LeftTurnStepTime seconds

husky2.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky2.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky2.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky2 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky2 move left 1/8 meters duration = LeftTurnStepTime seconds

husky2.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky2.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky2.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky2.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky2.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky2.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky2.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky2 set pose husky2.JesWalk02_5 duration = 0 seconds

husky2.isResting set value to true

husky2.AmbientWagOn set value to true

husky3

Methods

husky3.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky3.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky3.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky3.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky3.AmbientWag

No variables

husky3.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky3.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky3.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky3.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky3.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky3.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky3.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky3.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky3 play sound husky3.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky3.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky3.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky3.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky3.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky3.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky3.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky3.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky3.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky3.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky3.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky3.Breathe

No variables

Do together

Do in order

husky3.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky3.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky3.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky3.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky3.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky3.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky3.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky3.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky3.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky3.SitStand

VertMove = 0.06

If husky3.isSitting

husky3.isSitting set value to false

Do together

husky3 turn forward .123 revolutions

husky3 move forward 0.33 meters

husky3 move down VertMove meters

Do in order

husky3.AmbientWagOn set value to false

husky3 set pose husky3.miniSitToStand duration = .7 seconds style = begin gently

husky3 set pose husky3.miniStanding duration = 0.3 seconds style = abruptly

husky3.AmbientWagOn set value to true

husky3.isSitting set value to false

husky3.isResting set value to true

Else

husky3.isResting set value to false

Do together

husky3 turn backward 0.123 revolutions

husky3 move backward 0.33 meters

husky3 move up VertMove meters

Do in order

husky3.AmbientWagOn set value to false

husky3 set pose husky3.miniSitToStand duration = .3 seconds style = begin gently

husky3 set pose husky3.miniSitting duration = 0.7 seconds style = abruptly

husky3.AmbientWagOn set value to true

husky3.isSitting set value to true

husky3.isResting set value to true

husky3.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky3.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky3 set pose husky3.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky3 move forward StrideLen meters duration = WalkDur seconds

Do together

husky3 set pose husky3.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky3 move forward StrideLen meters duration = WalkDur seconds

Do together

husky3 set pose husky3.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky3 move forward StrideLen meters duration = WalkDur seconds

Do together

husky3 set pose husky3.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky3 move forward StrideLen meters duration = WalkDur seconds

husky3.AmbientWagOn set value to true

husky3.StandWalk

No variables

If ( not husky3.isSitting )

If husky3.isWalking

husky3.isWalking set value to false

Do together

husky3 set pose husky3.miniStanding duration = 0.5 seconds

husky3 move backward .15 meters duration = 0.5 seconds

husky3.isResting set value to true

Else

husky3.isResting set value to false

Do together

husky3 set pose husky3.miniJesWalk02_5 duration = 0.5 seconds

husky3 move forward 0.15 meters duration = 0.5 seconds

husky3.isWalking set value to true

Else

Do Nothing

husky3.SitStandWalk

No variables

If ( not husky3.isSitting )

husky3.AmbientWagOn set value to false

husky3.StandWalk

husky3.WalkCycle NumCycles = 1

husky3.StandWalk

husky3.AmbientWagOn set value to true

husky3.SitStand

Else

husky3.SitStand

husky3.AmbientWagOn set value to false

husky3.StandWalk

husky3.WalkCycle NumCycles = 1

husky3.StandWalk

husky3.AmbientWagOn set value to true

husky3.Resting

No variables

husky3.AmbientWagOn set value to true

husky3.isBreathing set value to true

husky3.Bark BarkSpeed = 2.5

If husky3.isSitting

husky3.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky3.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky3.HeadNod NodDuration = 0.25 NumNods = 1

husky3.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky3.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky3.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky3.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky3.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky3.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky3.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky3.HeadNod NodDuration = 0.25 NumNods = 2

If husky3.isSitting

husky3.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky3.HeadNod NodDuration = 0.25 NumNods = 2

husky3.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky3.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky3.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky3.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky3.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky3.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky3.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky3.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky3.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky3.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky3.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky3.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky3.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky3.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky3.isResting set value to false

husky3.AmbientWagOn set value to false

husky3 set pose husky3.miniJesWalk02_5 duration = 0 seconds

Do together

husky3.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky3.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky3.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky3 turn right 1/48 revolutions duration = TurnStepTime seconds

husky3 move right 1/8 meters duration = TurnStepTime seconds

husky3.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky3.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky3.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky3.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky3.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky3.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky3.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky3.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky3.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky3.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky3 turn right 1/48 revolutions duration = TurnStepTime seconds

husky3 move right .041 meters duration = TurnStepTime seconds

husky3.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky3.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky3.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky3.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky3.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky3.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky3.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky3.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky3.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky3.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky3.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky3 turn right 1/48 revolutions duration = TurnStepTime seconds

husky3 move right .041 meters duration = TurnStepTime seconds

husky3.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky3.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky3.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky3.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky3.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky3.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky3.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky3.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky3.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky3 turn right 1/48 revolutions duration = TurnStepTime seconds

husky3 move right 1/8 meters duration = TurnStepTime seconds

husky3.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky3.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky3.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky3.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky3.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky3.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky3.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky3.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky3.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky3.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky3.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky3.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky3.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky3.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky3 set pose husky3.miniJesWalk02_5 duration = 0 seconds

husky3.isResting set value to true

husky3.AmbientWagOn set value to true

husky3.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky3.isResting set value to false

husky3.AmbientWagOn set value to false

husky3 set pose husky3.JesWalk02_5 duration = 0 seconds

Do together

husky3.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky3.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky3.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky3.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky3 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky3 move left 1/8 meters duration = LeftTurnStepTime seconds

husky3.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky3.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky3.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky3 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky3 move left 1/8 meters duration = LeftTurnStepTime seconds

husky3.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky3.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky3.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky3 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky3 move left 1/8 meters duration = LeftTurnStepTime seconds

husky3.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky3.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky3.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky3 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky3 move left 1/8 meters duration = LeftTurnStepTime seconds

husky3.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky3.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky3.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky3.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky3.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky3.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky3.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky3 set pose husky3.JesWalk02_5 duration = 0 seconds

husky3.isResting set value to true

husky3.AmbientWagOn set value to true

husky4

Methods

husky4.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky4.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky4.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky4.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky4.AmbientWag

No variables

husky4.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky4.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky4.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky4.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky4.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky4.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky4.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky4.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky4 play sound husky4.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky4.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky4.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky4.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky4.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky4.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky4.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky4.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky4.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky4.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky4.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky4.Breathe

No variables

Do together

Do in order

husky4.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky4.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky4.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky4.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky4.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky4.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky4.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky4.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky4.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky4.SitStand

VertMove = 0.06

If husky4.isSitting

husky4.isSitting set value to false

Do together

husky4 turn forward .123 revolutions

husky4 move forward 0.33 meters

husky4 move down VertMove meters

Do in order

husky4.AmbientWagOn set value to false

husky4 set pose husky4.miniSitToStand duration = .7 seconds style = begin gently

husky4 set pose husky4.miniStanding duration = 0.3 seconds style = abruptly

husky4.AmbientWagOn set value to true

husky4.isSitting set value to false

husky4.isResting set value to true

Else

husky4.isResting set value to false

Do together

husky4 turn backward 0.123 revolutions

husky4 move backward 0.33 meters

husky4 move up VertMove meters

Do in order

husky4.AmbientWagOn set value to false

husky4 set pose husky4.miniSitToStand duration = .3 seconds style = begin gently

husky4 set pose husky4.miniSitting duration = 0.7 seconds style = abruptly

husky4.AmbientWagOn set value to true

husky4.isSitting set value to true

husky4.isResting set value to true

husky4.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky4.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky4 set pose husky4.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky4 move forward StrideLen meters duration = WalkDur seconds

Do together

husky4 set pose husky4.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky4 move forward StrideLen meters duration = WalkDur seconds

Do together

husky4 set pose husky4.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky4 move forward StrideLen meters duration = WalkDur seconds

Do together

husky4 set pose husky4.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky4 move forward StrideLen meters duration = WalkDur seconds

husky4.AmbientWagOn set value to true

husky4.StandWalk

No variables

If ( not husky4.isSitting )

If husky4.isWalking

husky4.isWalking set value to false

Do together

husky4 set pose husky4.miniStanding duration = 0.5 seconds

husky4 move backward .15 meters duration = 0.5 seconds

husky4.isResting set value to true

Else

husky4.isResting set value to false

Do together

husky4 set pose husky4.miniJesWalk02_5 duration = 0.5 seconds

husky4 move forward 0.15 meters duration = 0.5 seconds

husky4.isWalking set value to true

Else

Do Nothing

husky4.SitStandWalk

No variables

If ( not husky4.isSitting )

husky4.AmbientWagOn set value to false

husky4.StandWalk

husky4.WalkCycle NumCycles = 1

husky4.StandWalk

husky4.AmbientWagOn set value to true

husky4.SitStand

Else

husky4.SitStand

husky4.AmbientWagOn set value to false

husky4.StandWalk

husky4.WalkCycle NumCycles = 1

husky4.StandWalk

husky4.AmbientWagOn set value to true

husky4.Resting

No variables

husky4.AmbientWagOn set value to true

husky4.isBreathing set value to true

husky4.Bark BarkSpeed = 2.5

If husky4.isSitting

husky4.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky4.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky4.HeadNod NodDuration = 0.25 NumNods = 1

husky4.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky4.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky4.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky4.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky4.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky4.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky4.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky4.HeadNod NodDuration = 0.25 NumNods = 2

If husky4.isSitting

husky4.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky4.HeadNod NodDuration = 0.25 NumNods = 2

husky4.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky4.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky4.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky4.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky4.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky4.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky4.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky4.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky4.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky4.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky4.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky4.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky4.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky4.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky4.isResting set value to false

husky4.AmbientWagOn set value to false

husky4 set pose husky4.miniJesWalk02_5 duration = 0 seconds

Do together

husky4.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky4.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky4.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky4 turn right 1/48 revolutions duration = TurnStepTime seconds

husky4 move right 1/8 meters duration = TurnStepTime seconds

husky4.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky4.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky4.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky4.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky4.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky4.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky4.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky4.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky4.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky4.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky4 turn right 1/48 revolutions duration = TurnStepTime seconds

husky4 move right .041 meters duration = TurnStepTime seconds

husky4.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky4.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky4.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky4.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky4.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky4.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky4.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky4.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky4.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky4.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky4.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky4 turn right 1/48 revolutions duration = TurnStepTime seconds

husky4 move right .041 meters duration = TurnStepTime seconds

husky4.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky4.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky4.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky4.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky4.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky4.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky4.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky4.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky4.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky4 turn right 1/48 revolutions duration = TurnStepTime seconds

husky4 move right 1/8 meters duration = TurnStepTime seconds

husky4.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky4.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky4.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky4.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky4.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky4.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky4.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky4.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky4.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky4.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky4.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky4.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky4.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky4.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky4 set pose husky4.miniJesWalk02_5 duration = 0 seconds

husky4.isResting set value to true

husky4.AmbientWagOn set value to true

husky4.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky4.isResting set value to false

husky4.AmbientWagOn set value to false

husky4 set pose husky4.JesWalk02_5 duration = 0 seconds

Do together

husky4.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky4.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky4.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky4.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky4 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky4 move left 1/8 meters duration = LeftTurnStepTime seconds

husky4.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky4.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky4.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky4 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky4 move left 1/8 meters duration = LeftTurnStepTime seconds

husky4.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky4.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky4.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky4 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky4 move left 1/8 meters duration = LeftTurnStepTime seconds

husky4.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky4.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky4.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky4 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky4 move left 1/8 meters duration = LeftTurnStepTime seconds

husky4.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky4.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky4.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky4.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky4.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky4.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky4.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky4 set pose husky4.JesWalk02_5 duration = 0 seconds

husky4.isResting set value to true

husky4.AmbientWagOn set value to true

husky5

Methods

husky5.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky5.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky5.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky5.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky5.AmbientWag

No variables

husky5.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky5.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky5.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky5.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky5.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky5.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky5.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky5.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky5 play sound husky5.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky5.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky5.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky5.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky5.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky5.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky5.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky5.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky5.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky5.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky5.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky5.Breathe

No variables

Do together

Do in order

husky5.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky5.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky5.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky5.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky5.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky5.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky5.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky5.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky5.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky5.SitStand

VertMove = 0.06

If husky5.isSitting

husky5.isSitting set value to false

Do together

husky5 turn forward .123 revolutions

husky5 move forward 0.33 meters

husky5 move down VertMove meters

Do in order

husky5.AmbientWagOn set value to false

husky5 set pose husky5.miniSitToStand duration = .7 seconds style = begin gently

husky5 set pose husky5.miniStanding duration = 0.3 seconds style = abruptly

husky5.AmbientWagOn set value to true

husky5.isSitting set value to false

husky5.isResting set value to true

Else

husky5.isResting set value to false

Do together

husky5 turn backward 0.123 revolutions

husky5 move backward 0.33 meters

husky5 move up VertMove meters

Do in order

husky5.AmbientWagOn set value to false

husky5 set pose husky5.miniSitToStand duration = .3 seconds style = begin gently

husky5 set pose husky5.miniSitting duration = 0.7 seconds style = abruptly

husky5.AmbientWagOn set value to true

husky5.isSitting set value to true

husky5.isResting set value to true

husky5.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky5.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky5 set pose husky5.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky5 move forward StrideLen meters duration = WalkDur seconds

Do together

husky5 set pose husky5.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky5 move forward StrideLen meters duration = WalkDur seconds

Do together

husky5 set pose husky5.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky5 move forward StrideLen meters duration = WalkDur seconds

Do together

husky5 set pose husky5.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky5 move forward StrideLen meters duration = WalkDur seconds

husky5.AmbientWagOn set value to true

husky5.StandWalk

No variables

If ( not husky5.isSitting )

If husky5.isWalking

husky5.isWalking set value to false

Do together

husky5 set pose husky5.miniStanding duration = 0.5 seconds

husky5 move backward .15 meters duration = 0.5 seconds

husky5.isResting set value to true

Else

husky5.isResting set value to false

Do together

husky5 set pose husky5.miniJesWalk02_5 duration = 0.5 seconds

husky5 move forward 0.15 meters duration = 0.5 seconds

husky5.isWalking set value to true

Else

Do Nothing

husky5.SitStandWalk

No variables

If ( not husky5.isSitting )

husky5.AmbientWagOn set value to false

husky5.StandWalk

husky5.WalkCycle NumCycles = 1

husky5.StandWalk

husky5.AmbientWagOn set value to true

husky5.SitStand

Else

husky5.SitStand

husky5.AmbientWagOn set value to false

husky5.StandWalk

husky5.WalkCycle NumCycles = 1

husky5.StandWalk

husky5.AmbientWagOn set value to true

husky5.Resting

No variables

husky5.AmbientWagOn set value to true

husky5.isBreathing set value to true

husky5.Bark BarkSpeed = 2.5

If husky5.isSitting

husky5.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky5.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky5.HeadNod NodDuration = 0.25 NumNods = 1

husky5.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky5.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky5.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky5.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky5.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky5.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky5.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky5.HeadNod NodDuration = 0.25 NumNods = 2

If husky5.isSitting

husky5.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky5.HeadNod NodDuration = 0.25 NumNods = 2

husky5.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky5.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky5.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky5.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky5.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky5.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky5.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky5.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky5.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky5.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky5.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky5.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky5.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky5.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky5.isResting set value to false

husky5.AmbientWagOn set value to false

husky5 set pose husky5.miniJesWalk02_5 duration = 0 seconds

Do together

husky5.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky5.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky5.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky5 turn right 1/48 revolutions duration = TurnStepTime seconds

husky5 move right 1/8 meters duration = TurnStepTime seconds

husky5.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky5.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky5.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky5.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky5.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky5.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky5.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky5.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky5.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky5.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky5 turn right 1/48 revolutions duration = TurnStepTime seconds

husky5 move right .041 meters duration = TurnStepTime seconds

husky5.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky5.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky5.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky5.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky5.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky5.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky5.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky5.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky5.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky5.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky5.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky5 turn right 1/48 revolutions duration = TurnStepTime seconds

husky5 move right .041 meters duration = TurnStepTime seconds

husky5.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky5.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky5.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky5.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky5.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky5.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky5.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky5.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky5.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky5 turn right 1/48 revolutions duration = TurnStepTime seconds

husky5 move right 1/8 meters duration = TurnStepTime seconds

husky5.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky5.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky5.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky5.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky5.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky5.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky5.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky5.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky5.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky5.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky5.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky5.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky5.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky5.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky5 set pose husky5.miniJesWalk02_5 duration = 0 seconds

husky5.isResting set value to true

husky5.AmbientWagOn set value to true

husky5.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky5.isResting set value to false

husky5.AmbientWagOn set value to false

husky5 set pose husky5.JesWalk02_5 duration = 0 seconds

Do together

husky5.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky5.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky5.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky5.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky5 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky5 move left 1/8 meters duration = LeftTurnStepTime seconds

husky5.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky5.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky5.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky5 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky5 move left 1/8 meters duration = LeftTurnStepTime seconds

husky5.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky5.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky5.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky5 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky5 move left 1/8 meters duration = LeftTurnStepTime seconds

husky5.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky5.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky5.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky5 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky5 move left 1/8 meters duration = LeftTurnStepTime seconds

husky5.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky5.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky5.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky5.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky5.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky5.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky5.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky5 set pose husky5.JesWalk02_5 duration = 0 seconds

husky5.isResting set value to true

husky5.AmbientWagOn set value to true

husky6

Methods

husky6.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky6.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky6.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky6.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky6.AmbientWag

No variables

husky6.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky6.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky6.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky6.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky6.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky6.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky6.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky6.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky6 play sound husky6.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky6.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky6.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky6.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky6.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky6.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky6.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky6.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky6.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky6.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky6.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky6.Breathe

No variables

Do together

Do in order

husky6.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky6.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky6.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky6.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky6.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky6.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky6.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky6.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky6.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky6.SitStand

VertMove = 0.06

If husky6.isSitting

husky6.isSitting set value to false

Do together

husky6 turn forward .123 revolutions

husky6 move forward 0.33 meters

husky6 move down VertMove meters

Do in order

husky6.AmbientWagOn set value to false

husky6 set pose husky6.miniSitToStand duration = .7 seconds style = begin gently

husky6 set pose husky6.miniStanding duration = 0.3 seconds style = abruptly

husky6.AmbientWagOn set value to true

husky6.isSitting set value to false

husky6.isResting set value to true

Else

husky6.isResting set value to false

Do together

husky6 turn backward 0.123 revolutions

husky6 move backward 0.33 meters

husky6 move up VertMove meters

Do in order

husky6.AmbientWagOn set value to false

husky6 set pose husky6.miniSitToStand duration = .3 seconds style = begin gently

husky6 set pose husky6.miniSitting duration = 0.7 seconds style = abruptly

husky6.AmbientWagOn set value to true

husky6.isSitting set value to true

husky6.isResting set value to true

husky6.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky6.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky6 set pose husky6.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky6 move forward StrideLen meters duration = WalkDur seconds

Do together

husky6 set pose husky6.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky6 move forward StrideLen meters duration = WalkDur seconds

Do together

husky6 set pose husky6.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky6 move forward StrideLen meters duration = WalkDur seconds

Do together

husky6 set pose husky6.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky6 move forward StrideLen meters duration = WalkDur seconds

husky6.AmbientWagOn set value to true

husky6.StandWalk

No variables

If ( not husky6.isSitting )

If husky6.isWalking

husky6.isWalking set value to false

Do together

husky6 set pose husky6.miniStanding duration = 0.5 seconds

husky6 move backward .15 meters duration = 0.5 seconds

husky6.isResting set value to true

Else

husky6.isResting set value to false

Do together

husky6 set pose husky6.miniJesWalk02_5 duration = 0.5 seconds

husky6 move forward 0.15 meters duration = 0.5 seconds

husky6.isWalking set value to true

Else

Do Nothing

husky6.SitStandWalk

No variables

If ( not husky6.isSitting )

husky6.AmbientWagOn set value to false

husky6.StandWalk

husky6.WalkCycle NumCycles = 1

husky6.StandWalk

husky6.AmbientWagOn set value to true

husky6.SitStand

Else

husky6.SitStand

husky6.AmbientWagOn set value to false

husky6.StandWalk

husky6.WalkCycle NumCycles = 1

husky6.StandWalk

husky6.AmbientWagOn set value to true

husky6.Resting

No variables

husky6.AmbientWagOn set value to true

husky6.isBreathing set value to true

husky6.Bark BarkSpeed = 2.5

If husky6.isSitting

husky6.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky6.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky6.HeadNod NodDuration = 0.25 NumNods = 1

husky6.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky6.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky6.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky6.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky6.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky6.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky6.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky6.HeadNod NodDuration = 0.25 NumNods = 2

If husky6.isSitting

husky6.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky6.HeadNod NodDuration = 0.25 NumNods = 2

husky6.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky6.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky6.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky6.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky6.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky6.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky6.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky6.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky6.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky6.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky6.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky6.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky6.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky6.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky6.isResting set value to false

husky6.AmbientWagOn set value to false

husky6 set pose husky6.miniJesWalk02_5 duration = 0 seconds

Do together

husky6.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky6.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky6.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky6 turn right 1/48 revolutions duration = TurnStepTime seconds

husky6 move right 1/8 meters duration = TurnStepTime seconds

husky6.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky6.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky6.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky6.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky6.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky6.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky6.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky6.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky6.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky6.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky6 turn right 1/48 revolutions duration = TurnStepTime seconds

husky6 move right .041 meters duration = TurnStepTime seconds

husky6.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky6.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky6.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky6.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky6.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky6.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky6.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky6.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky6.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky6.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky6.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky6 turn right 1/48 revolutions duration = TurnStepTime seconds

husky6 move right .041 meters duration = TurnStepTime seconds

husky6.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky6.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky6.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky6.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky6.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky6.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky6.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky6.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky6.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky6 turn right 1/48 revolutions duration = TurnStepTime seconds

husky6 move right 1/8 meters duration = TurnStepTime seconds

husky6.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky6.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky6.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky6.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky6.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky6.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky6.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky6.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky6.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky6.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky6.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky6.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky6.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky6.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky6 set pose husky6.miniJesWalk02_5 duration = 0 seconds

husky6.isResting set value to true

husky6.AmbientWagOn set value to true

husky6.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky6.isResting set value to false

husky6.AmbientWagOn set value to false

husky6 set pose husky6.JesWalk02_5 duration = 0 seconds

Do together

husky6.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky6.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky6.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky6.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky6 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky6 move left 1/8 meters duration = LeftTurnStepTime seconds

husky6.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky6.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky6.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky6 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky6 move left 1/8 meters duration = LeftTurnStepTime seconds

husky6.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky6.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky6.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky6 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky6 move left 1/8 meters duration = LeftTurnStepTime seconds

husky6.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky6.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky6.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky6 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky6 move left 1/8 meters duration = LeftTurnStepTime seconds

husky6.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky6.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky6.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky6.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky6.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky6.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky6.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky6 set pose husky6.JesWalk02_5 duration = 0 seconds

husky6.isResting set value to true

husky6.AmbientWagOn set value to true

husky7

Methods

husky7.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky7.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky7.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky7.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky7.AmbientWag

No variables

husky7.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky7.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky7.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky7.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky7.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky7.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky7.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky7.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky7 play sound husky7.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky7.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky7.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky7.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky7.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky7.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky7.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky7.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky7.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky7.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky7.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky7.Breathe

No variables

Do together

Do in order

husky7.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky7.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky7.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky7.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky7.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky7.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky7.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky7.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky7.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky7.SitStand

VertMove = 0.06

If husky7.isSitting

husky7.isSitting set value to false

Do together

husky7 turn forward .123 revolutions

husky7 move forward 0.33 meters

husky7 move down VertMove meters

Do in order

husky7.AmbientWagOn set value to false

husky7 set pose husky7.miniSitToStand duration = .7 seconds style = begin gently

husky7 set pose husky7.miniStanding duration = 0.3 seconds style = abruptly

husky7.AmbientWagOn set value to true

husky7.isSitting set value to false

husky7.isResting set value to true

Else

husky7.isResting set value to false

Do together

husky7 turn backward 0.123 revolutions

husky7 move backward 0.33 meters

husky7 move up VertMove meters

Do in order

husky7.AmbientWagOn set value to false

husky7 set pose husky7.miniSitToStand duration = .3 seconds style = begin gently

husky7 set pose husky7.miniSitting duration = 0.7 seconds style = abruptly

husky7.AmbientWagOn set value to true

husky7.isSitting set value to true

husky7.isResting set value to true

husky7.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky7.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky7 set pose husky7.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky7 move forward StrideLen meters duration = WalkDur seconds

Do together

husky7 set pose husky7.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky7 move forward StrideLen meters duration = WalkDur seconds

Do together

husky7 set pose husky7.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky7 move forward StrideLen meters duration = WalkDur seconds

Do together

husky7 set pose husky7.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky7 move forward StrideLen meters duration = WalkDur seconds

husky7.AmbientWagOn set value to true

husky7.StandWalk

No variables

If ( not husky7.isSitting )

If husky7.isWalking

husky7.isWalking set value to false

Do together

husky7 set pose husky7.miniStanding duration = 0.5 seconds

husky7 move backward .15 meters duration = 0.5 seconds

husky7.isResting set value to true

Else

husky7.isResting set value to false

Do together

husky7 set pose husky7.miniJesWalk02_5 duration = 0.5 seconds

husky7 move forward 0.15 meters duration = 0.5 seconds

husky7.isWalking set value to true

Else

Do Nothing

husky7.SitStandWalk

No variables

If ( not husky7.isSitting )

husky7.AmbientWagOn set value to false

husky7.StandWalk

husky7.WalkCycle NumCycles = 1

husky7.StandWalk

husky7.AmbientWagOn set value to true

husky7.SitStand

Else

husky7.SitStand

husky7.AmbientWagOn set value to false

husky7.StandWalk

husky7.WalkCycle NumCycles = 1

husky7.StandWalk

husky7.AmbientWagOn set value to true

husky7.Resting

No variables

husky7.AmbientWagOn set value to true

husky7.isBreathing set value to true

husky7.Bark BarkSpeed = 2.5

If husky7.isSitting

husky7.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky7.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky7.HeadNod NodDuration = 0.25 NumNods = 1

husky7.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky7.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky7.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky7.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky7.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky7.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky7.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky7.HeadNod NodDuration = 0.25 NumNods = 2

If husky7.isSitting

husky7.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky7.HeadNod NodDuration = 0.25 NumNods = 2

husky7.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky7.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky7.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky7.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky7.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky7.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky7.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky7.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky7.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky7.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky7.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky7.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky7.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky7.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky7.isResting set value to false

husky7.AmbientWagOn set value to false

husky7 set pose husky7.miniJesWalk02_5 duration = 0 seconds

Do together

husky7.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky7.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky7.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky7 turn right 1/48 revolutions duration = TurnStepTime seconds

husky7 move right 1/8 meters duration = TurnStepTime seconds

husky7.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky7.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky7.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky7.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky7.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky7.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky7.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky7.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky7.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky7.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky7 turn right 1/48 revolutions duration = TurnStepTime seconds

husky7 move right .041 meters duration = TurnStepTime seconds

husky7.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky7.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky7.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky7.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky7.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky7.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky7.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky7.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky7.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky7.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky7.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky7 turn right 1/48 revolutions duration = TurnStepTime seconds

husky7 move right .041 meters duration = TurnStepTime seconds

husky7.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky7.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky7.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky7.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky7.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky7.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky7.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky7.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky7.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky7 turn right 1/48 revolutions duration = TurnStepTime seconds

husky7 move right 1/8 meters duration = TurnStepTime seconds

husky7.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky7.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky7.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky7.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky7.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky7.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky7.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky7.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky7.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky7.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky7.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky7.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky7.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky7.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky7 set pose husky7.miniJesWalk02_5 duration = 0 seconds

husky7.isResting set value to true

husky7.AmbientWagOn set value to true

husky7.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky7.isResting set value to false

husky7.AmbientWagOn set value to false

husky7 set pose husky7.JesWalk02_5 duration = 0 seconds

Do together

husky7.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky7.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky7.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky7.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky7 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky7 move left 1/8 meters duration = LeftTurnStepTime seconds

husky7.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky7.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky7.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky7 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky7 move left 1/8 meters duration = LeftTurnStepTime seconds

husky7.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky7.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky7.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky7 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky7 move left 1/8 meters duration = LeftTurnStepTime seconds

husky7.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky7.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky7.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky7 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky7 move left 1/8 meters duration = LeftTurnStepTime seconds

husky7.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky7.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky7.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky7.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky7.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky7.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky7.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky7 set pose husky7.JesWalk02_5 duration = 0 seconds

husky7.isResting set value to true

husky7.AmbientWagOn set value to true

husky8

Methods

husky8.WagTail ( [123] WagTurnScale, [123] WagDurationScale)

No variables

Do together

husky8.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

Do together

husky8.back.tailSegment1 turn left ( ( 0.06 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3 turn left ( ( 0.08 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn left ( ( 0.12 * WagTurnScale ) ) ( ( 1 * WagDurationScale ) )

Do together

husky8.back.tailSegment1 turn right ( ( 0.03 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3 turn right ( ( 0.04 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.back.tailSegment1.tailSegment2.tailSegment3.tailSegment4.tailSegment5.tailSegment6 turn right ( ( 0.06 * WagTurnScale ) ) ( ( 0.5 * WagDurationScale ) )

husky8.AmbientWag

No variables

husky8.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky8.WagTail WagTurnScale = 1 WagDurationScale = 0.85

husky8.WagTail WagTurnScale = 1.5 WagDurationScale = 0.8

husky8.WagTail WagTurnScale = 0.8 WagDurationScale = 0.8

husky8.WagTail WagTurnScale = 1.2 WagDurationScale = 0.8

husky8.Bark ( [123] BarkSpeed)

No variables

BarkSpeed set value to ( ( 1 / BarkSpeed ) )

Do together

husky8.front.neck turn forward .02 revolutions ( ( 0.5 * BarkSpeed ) )

husky8.front.neck.head turn backward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

If true

husky8 play sound husky8.Bark2 (0:00.689)

Else

Do Nothing

Do in order

husky8.front.neck.head.jaw turn forward .1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky8.front.neck.head.jaw turn backward 0.1 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do in order

Do together

husky8.front.neck.head.rightBrow roll left .04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky8.front.neck.head.leftBrow roll right 0.04 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky8.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

husky8.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.25 * BarkSpeed ) ) style = abruptly

Do together

husky8.front.neck turn backward 0.02 revolutions ( ( 0.5 * BarkSpeed ) )

husky8.front.neck.head turn forward 0.1 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky8.front.neck.head.rightBrow roll right .02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky8.front.neck.head.leftBrow roll left 0.02 revolutions ( ( 0.5 * BarkSpeed ) ) style = abruptly

husky8.Breathe

No variables

Do together

Do in order

husky8.front.neck.head.snout.nose resize 1.1 duration = 1 second

husky8.front.neck.head.snout.nose resize 0.9 duration = 1 second

husky8.ScratchEar ( [123] ScratchDuration)

No variables

// Starting from sitting pose

Do together

husky8.front.leftLeg roll right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.leftLeg turn backward .12 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.leftLeg.lowerLeg turn backward .17 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.leftLeg.lowerLeg.paw turn forward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.neck turn forward .185 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.neck roll left .01 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.neck turn left 0.05 revolutions ( ( 1 * ScratchDuration ) )

Loop 3 times times

Do together

husky8.front.neck turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.neck roll right .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.neck.head roll left 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.leftLeg turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.leftLeg.lowerLeg turn forward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky8.front.neck turn forward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.neck roll left .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.neck.head roll right 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.leftLeg turn backward .01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

husky8.front.leftLeg.lowerLeg turn backward 0.01 revolutions ( ( 0.25 * ScratchDuration ) ) style = abruptly

Do together

husky8.front.leftLeg roll left 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.leftLeg turn forward .12 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.leftLeg.lowerLeg turn forward .17 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.leftLeg.lowerLeg.paw turn backward 0.1 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.neck turn backward .185 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.neck roll right .01 revolutions ( ( 1 * ScratchDuration ) )

husky8.front.neck turn right 0.05 revolutions ( ( 1 * ScratchDuration ) )

husky8.SitStand

VertMove = 0.06

If husky8.isSitting

husky8.isSitting set value to false

Do together

husky8 turn forward .123 revolutions

husky8 move forward 0.33 meters

husky8 move down VertMove meters

Do in order

husky8.AmbientWagOn set value to false

husky8 set pose husky8.miniSitToStand duration = .7 seconds style = begin gently

husky8 set pose husky8.miniStanding duration = 0.3 seconds style = abruptly

husky8.AmbientWagOn set value to true

husky8.isSitting set value to false

husky8.isResting set value to true

Else

husky8.isResting set value to false

Do together

husky8 turn backward 0.123 revolutions

husky8 move backward 0.33 meters

husky8 move up VertMove meters

Do in order

husky8.AmbientWagOn set value to false

husky8 set pose husky8.miniSitToStand duration = .3 seconds style = begin gently

husky8 set pose husky8.miniSitting duration = 0.7 seconds style = abruptly

husky8.AmbientWagOn set value to true

husky8.isSitting set value to true

husky8.isResting set value to true

husky8.WalkCycle ( [123] NumCycles)

WalkDur = 0.2, StrideLen = 0.15

husky8.AmbientWagOn set value to false

Loop NumCycles times time

Do together

husky8 set pose husky8.miniJesWalk01_T duration = WalkDur seconds style = abruptly

husky8 move forward StrideLen meters duration = WalkDur seconds

Do together

husky8 set pose husky8.miniJesWalk01_5 duration = WalkDur seconds style = abruptly

husky8 move forward StrideLen meters duration = WalkDur seconds

Do together

husky8 set pose husky8.miniJesWalk02_T duration = WalkDur seconds style = abruptly

husky8 move forward StrideLen meters duration = WalkDur seconds

Do together

husky8 set pose husky8.miniJesWalk02_5 duration = WalkDur seconds style = abruptly

husky8 move forward StrideLen meters duration = WalkDur seconds

husky8.AmbientWagOn set value to true

husky8.StandWalk

No variables

If ( not husky8.isSitting )

If husky8.isWalking

husky8.isWalking set value to false

Do together

husky8 set pose husky8.miniStanding duration = 0.5 seconds

husky8 move backward .15 meters duration = 0.5 seconds

husky8.isResting set value to true

Else

husky8.isResting set value to false

Do together

husky8 set pose husky8.miniJesWalk02_5 duration = 0.5 seconds

husky8 move forward 0.15 meters duration = 0.5 seconds

husky8.isWalking set value to true

Else

Do Nothing

husky8.SitStandWalk

No variables

If ( not husky8.isSitting )

husky8.AmbientWagOn set value to false

husky8.StandWalk

husky8.WalkCycle NumCycles = 1

husky8.StandWalk

husky8.AmbientWagOn set value to true

husky8.SitStand

Else

husky8.SitStand

husky8.AmbientWagOn set value to false

husky8.StandWalk

husky8.WalkCycle NumCycles = 1

husky8.StandWalk

husky8.AmbientWagOn set value to true

husky8.Resting

No variables

husky8.AmbientWagOn set value to true

husky8.isBreathing set value to true

husky8.Bark BarkSpeed = 2.5

If husky8.isSitting

husky8.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

Wait 1 second

husky8.HeadNod NodDuration = 0.25 NumNods = 2

Wait 1 second

husky8.HeadNod NodDuration = 0.25 NumNods = 1

husky8.Bark BarkSpeed = 1.5

Wait 3 seconds

Do together

husky8.front.neck.head turn left .08 revolutions duration = 0.5 seconds

husky8.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky8.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3.5 seconds

Do together

husky8.front.neck.head turn right 0.08 revolutions duration = 0.5 seconds

husky8.front.neck.head roll right 0.01 revolutions duration = 0.5 seconds

husky8.HeadNod NodDuration = 0.25 NumNods = 3

Wait 2 seconds

husky8.HeadNod NodDuration = 0.25 NumNods = 2

If husky8.isSitting

husky8.ScratchEar ScratchDuration = 0.38

Else

Do Nothing

husky8.HeadNod NodDuration = 0.25 NumNods = 2

husky8.Bark BarkSpeed = 1.5

Wait 1 second

Do together

husky8.front.neck.head turn right .06 revolutions duration = 0.25 seconds

husky8.front.neck.head roll right 0.01 revolutions duration = 0.25 seconds

husky8.HeadNod NodDuration = 0.25 NumNods = 2

Wait 2 seconds

Do together

husky8.front.neck.head turn left .06 revolutions duration = 0.5 seconds

husky8.front.neck.head roll left 0.01 revolutions duration = 0.5 seconds

husky8.HeadNod NodDuration = 0.25 NumNods = 2

Wait 3 seconds

husky8.HeadNod ( [123] NodDuration, [123] NumNods)

No variables

Loop NumNods times time

Do in order

Do together

husky8.front.neck.head turn forward .02 revolutions duration = NodDuration seconds style = begin gently

husky8.front.neck turn forward 0.01 revolutions duration = NodDuration seconds

Do together

Do in order

husky8.front.neck.head turn backward .03 revolutions duration = NodDuration seconds style = abruptly

husky8.front.neck.head turn forward .01 revolutions ( ( NodDuration / 3 ) ) style = end gently

husky8.front.neck turn backward 0.01 revolutions duration = NodDuration seconds

husky8.TurnRight ( [123] RightTurnStepDuration)

TurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

TurnStepTime set value to RightTurnStepDuration

husky8.isResting set value to false

husky8.AmbientWagOn set value to false

husky8 set pose husky8.miniJesWalk02_5 duration = 0 seconds

Do together

husky8.front.neck turn right .01 revolutions ( ( TurnStepTime / 2 ) )

husky8.front.neck.head turn right .02 revolutions ( ( TurnStepTime / 2 ) )

husky8.front.neck.head roll right 0.01 revolutions ( ( TurnStepTime / 2 ) )

Do together

Do in order

Do together

husky8 turn right 1/48 revolutions duration = TurnStepTime seconds

husky8 move right 1/8 meters duration = TurnStepTime seconds

husky8.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky8.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky8.front.neck turn right .01 revolutions duration = TurnStepTime seconds

husky8.front.neck.head turn right .02 revolutions duration = TurnStepTime seconds

husky8.front.neck.head roll right 0.01 revolutions duration = TurnStepTime seconds

Do together

husky8.front.rightLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky8.front.rightLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky8.back.leftThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky8.back.leftThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky8.front.leftLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky8 turn right 1/48 revolutions duration = TurnStepTime seconds

husky8 move right .041 meters duration = TurnStepTime seconds

husky8.back turn left .1/4 revolutions duration = TurnStepTime seconds

husky8.front turn right .05/4 revolutions duration = TurnStepTime seconds

Do together

husky8.front.neck turn right .02 revolutions duration = TurnStepTime seconds

husky8.front.neck.head turn right .03 revolutions duration = TurnStepTime seconds

Do together

husky8.front.rightLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky8.front.rightLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky8.back.leftThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky8.back.leftThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky8.front.leftLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky8.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do together

husky8.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky8 turn right 1/48 revolutions duration = TurnStepTime seconds

husky8 move right .041 meters duration = TurnStepTime seconds

husky8.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky8.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky8.front.neck turn left .02 revolutions duration = TurnStepTime seconds

husky8.front.neck.head turn left .03 revolutions duration = TurnStepTime seconds

Do together

husky8.front.rightLeg roll right 0.02 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky8.front.leftLeg roll left 0.02 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

Do together

husky8.front.leftLeg turn forward .05 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn backward .15 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky8.back.rightThigh turn backward .05 revolutions duration = TurnStepTime seconds

husky8.back.rightThigh.leg turn forward .1 revolutions duration = TurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = TurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky8 turn right 1/48 revolutions duration = TurnStepTime seconds

husky8 move right 1/8 meters duration = TurnStepTime seconds

husky8.back turn right .1/4 revolutions duration = TurnStepTime seconds

husky8.front turn left .05/4 revolutions duration = TurnStepTime seconds

Do together

husky8.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky8.front.neck.head turn left 0.02 revolutions duration = TurnStepTime seconds

husky8.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

Do together

husky8.front.rightLeg roll right 0.05 revolutions duration = TurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky8.front.leftLeg roll left 0.05 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn backward 0.02 revolutions duration = TurnStepTime seconds

Do together

husky8.front.leftLeg turn backward .05 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn forward .15 revolutions duration = TurnStepTime seconds

husky8.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = TurnStepTime seconds

Do together

husky8.back.rightThigh turn forward .05 revolutions duration = TurnStepTime seconds

husky8.back.rightThigh.leg turn backward .1 revolutions duration = TurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = TurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = TurnStepTime seconds

Do together

husky8.front.neck turn left .01 revolutions duration = TurnStepTime seconds

husky8.front.neck.head turn left .02 revolutions duration = TurnStepTime seconds

husky8.front.neck.head roll left 0.01 revolutions duration = TurnStepTime seconds

husky8 set pose husky8.miniJesWalk02_5 duration = 0 seconds

husky8.isResting set value to true

husky8.AmbientWagOn set value to true

husky8.TurnLeft ( [123] LeftTurnStepDuration)

LeftTurnStepTime = 0.17

// Turns Right 30 deg. assumes is in Last Pose of Walk Cycle.

husky8.isResting set value to false

husky8.AmbientWagOn set value to false

husky8 set pose husky8.JesWalk02_5 duration = 0 seconds

Do together

husky8.front.neck turn left .01 revolutions ( ( LeftTurnStepTime / 2 ) )

husky8.front.neck.head turn left .02 revolutions ( ( LeftTurnStepTime / 2 ) )

husky8.front.neck.head roll left 0.01 revolutions ( ( LeftTurnStepTime / 2 ) )

Do together

husky8.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky8 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky8 move left 1/8 meters duration = LeftTurnStepTime seconds

husky8.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky8.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.neck turn left .01 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head turn left .02 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head roll left 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.leftLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.leftLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.back.rightThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky8.back.rightThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.rightLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky8 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky8 move left 1/8 meters duration = LeftTurnStepTime seconds

husky8.back turn right .1/4 revolutions duration = LeftTurnStepTime seconds

husky8.front turn left .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.neck turn left .02 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head turn left .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.leftLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.leftLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.back.rightThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky8.back.rightThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.back.rightThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.rightLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.WagTail WagTurnScale = 0.25 WagDurationScale = 0.25

Do in order

Do together

husky8 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky8 move left 1/8 meters duration = LeftTurnStepTime seconds

husky8.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky8.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.neck turn right .02 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head turn right .03 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.leftLeg roll left 0.02 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.rightLeg roll right 0.02 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.rightLeg turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn backward .15 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg.paw turn forward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.back.leftThigh turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky8.back.leftThigh.leg turn forward .1 revolutions duration = LeftTurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg turn backward 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg.paw turn forward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky8 turn left 1/48 revolutions duration = LeftTurnStepTime seconds

husky8 move left 1/8 meters duration = LeftTurnStepTime seconds

husky8.back turn left .1/4 revolutions duration = LeftTurnStepTime seconds

husky8.front turn right .05/4 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head turn right 0.02 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.leftLeg roll left 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.front.leftLeg.lowerLeg turn forward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.rightLeg roll right 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn backward 0.02 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.rightLeg turn backward .05 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg turn forward .15 revolutions duration = LeftTurnStepTime seconds

husky8.front.rightLeg.lowerLeg.paw turn backward 0.25 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.back.leftThigh turn forward .05 revolutions duration = LeftTurnStepTime seconds

husky8.back.leftThigh.leg turn backward .1 revolutions duration = LeftTurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg turn forward 0.05 revolutions duration = LeftTurnStepTime seconds

husky8.back.leftThigh.leg.lowerLeg.paw turn backward 0.1 revolutions duration = LeftTurnStepTime seconds

Do together

husky8.front.neck turn right .01 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head turn right .02 revolutions duration = LeftTurnStepTime seconds

husky8.front.neck.head roll right 0.01 revolutions duration = LeftTurnStepTime seconds

husky8 set pose husky8.JesWalk02_5 duration = 0 seconds

husky8.isResting set value to true

husky8.AmbientWagOn set value to true

astronaut

Methods

astronaut.bishopMoveForward

No variables

If ( ask user for yes or no question = Should the castle move forward? )

astronaut move forward ( ( ( ask user for a number question = How far forward? ) * ( E4 distance to F4 ) ) )

Else

astronaut move backward ( ( ( ask user for a number question = How far backward? ) * ( E4 distance to F4 ) ) )

// Lets the user tell the bishop how far forward or backward to move the bishop

astronaut.bishopMoveSideways

No variables

If ( ask user for yes or no question = Should the castle move left? )

astronaut move left ( ( ( ask user for a number question = How far left? ) * ( E4 distance to F4 ) ) )

Else

astronaut move right ( ( ( ask user for a number question = How far right? ) * ( E4 distance to F4 ) ) )

// Lets you decide which direction the bishop should move if not forward or backward

astronaut.bishopMove

No variables

If ( ask user for yes or no question = Should the castle move forward or backward? If not, he will move sideways. )

astronaut.bishopMoveForward

Else

astronaut.bishopMoveSideways

// Makes the bishop move forward, backward, left or right, if you want the bishop to move

astronaut2

Methods

astronaut2.bishopMove

No variables

If ( ask user for yes or no question = Should the castle move forward or backward? )

astronaut2.bishopMoveForward

Else

astronaut2.bishopMoveSideways

// Makes the bishop move forward, backward, left or right, if you want the bishop to move

astronaut2.bishopMoveForward

No variables

If ( ask user for yes or no question = Should the castle move forward? )

astronaut2 move forward ( ( ( ask user for a number question = How far forward? ) * ( E4 distance to F4 ) ) )

Else

astronaut2 move backward ( ( ( ask user for a number question = How far backward? ) * ( E4 distance to F4 ) ) )

// Lets the user tell the bishop how far forward or backward to move the bishop

astronaut2.bishopMoveSideways

No variables

If ( ask user for yes or no question = Should the castle move left? )

astronaut2 move left ( ( ( ask user for a number question = How far left? ) * ( E4 distance to F4 ) ) )

Else

astronaut2 move right ( ( ( ask user for a number question = How far right? ) * ( E4 distance to F4 ) ) )

// Lets you decide which direction the bishop should move if not forward or backward