09 Combatant Animations

In this tutorial we’ll set up the remaining animations for our combatants.

We’ve already set up movement animations, though they’re not compatible with all of our combatants. There are still a lot of other animations to set up as well, e.g. for attacks, taking damage, etc.

Animation Types #

Navigate to Base/Control > Animation Types, we’ll add new animation types.

14: Use #

This animation will be used to animate using an item.

  • Name
    Set to Use.

15: Cast #

This animation will be used to animate using an ability (e.g. elemental magic). Most combatants will use the same animation for Use and Cast, though.

  • Name
    Set to Cast.

16: Bow Draw #

Used for drawing back a bow.

  • Name
    Set to Bow Draw.

17: Bow Shoot #

Used for shooting a bow.

  • Name
    Set to Bow Shoot.

Animations #

Navigate to Base/Control > Animations, we’ll add multiple new animation settings.

2: Battle Movement #

We’ll use these animations to override idle and run animations in battle for our player combatants.

Base Settings #

  • Name
    Set to Battle Movement.
  • Random First Start Time
    Enable this setting.

Legacy Settings > Legacy Animation 0 #

Click on Add Legacy Animation.

  • Animation Type
    Select Idle.
  • Animation Name
    Set to IdleBattle.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to -1.

We’ll use the default Play Settings for all our animations, they’re:

  • Play Type
    Select Cross Fade.
  • Play Mode
    Select Stop Same Layer.
  • Fade Length
    Set to 0.1.

Legacy Settings > Legacy Animation 1 #

Copy Legacy Animation 0 and change the following settings.

  • Animation Type
    Select Run.
  • Animation Name
    Set to RunBattle.

3: Simple Movement #

A simplified movement animation with just idle and run, as not all of our combatants have walk animations.

Base Settings #

  • Name
    Set to Simple Movement.
  • Random First Start Time
    Enable this setting.

Legacy Settings > Legacy Animation 0 #

Click on Add Legacy Animation.

  • Animation Type
    Select Idle.
  • Animation Name
    Set to Idle.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to -1.

Legacy Settings > Legacy Animation 1 #

Copy Legacy Animation 0 and change the following settings.

  • Animation Type
    Select Walk.
  • Animation Name
    Set to Run.

Legacy Settings > Legacy Animation 2 #

Copy Legacy Animation 1 and change the following settings.

  • Animation Type
    Select Run.
  • Animation Name
    Set to Run.

4: Flying Movement #

Copy the Simple Movement animation setting and change the following settings.

The flying monsters only have an idle animation, so we’ll also use that for movement.

Base Settings #

  • Name
    Set to Flying Movement.

Legacy Settings > Legacy Animation 1 #

  • Animation Name
    Set to Idle.

Legacy Settings > Legacy Animation 2 #

  • Animation Name
    Set to Idle.

5: Battle #

We’ll set up battle related animations, e.g. attack, evade or damage. Not all combatants will have all of these animations – but they’ll simply not play them if they don’t have them (when using legacy animations). This animation setting will be used by all combatant, some will override some individual animation types.

Add a new animation setting.

Base Settings #

  • Name
    Set to Battle.

Legacy Settings > Legacy Animation 0 #

Click on Add Legacy Animation.

  • Animation Type
    Select Damage.
  • Animation Name
    Set to Damage.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to 1.

Copy Animation 0, we’ll add an additional damage animation – one will be played randomly. If a combatant doesn’t have the randomly selected animation, it’ll play the first it assigned animation it can find.

  • Animation Name (Animation 1)
    Set to Damage2.

Legacy Settings > Legacy Animation 1 #

Click on Add Legacy Animation.

  • Animation Type
    Select Evade.
  • Animation Name
    Set to Evade.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to 1.

Legacy Settings > Legacy Animation 2 #

Click on Add Legacy Animation.

  • Animation Type
    Select Death.
  • Animation Name
    Set to Death.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to 2.

Legacy Settings > Legacy Animation 3 #

Copy Legacy Animation 2.

  • Animation Type
    Select Revive.
  • Animation Name
    Set to PickUp.
    Yeah, we’re a bit sneaky here and cross fade to the pick up animation, looks good.
  • Fade Length
    Set to 0.5.

Legacy Settings > Legacy Animation 4 #

Click on Add Legacy Animation.

  • Animation Type
    Select Victory.
  • Animation Name
    Set to Victory.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to 2.

Legacy Settings > Legacy Animation 5 #

Copy Legacy Animation 4.

  • Animation Type
    Select Attack.
  • Animation Name
    Set to Attack.

Legacy Settings > Legacy Animation 6 #

Copy Legacy Animation 5.

  • Animation Type
    Select Use.
  • Animation Name
    Set to Use.

Legacy Settings > Legacy Animation 7 #

Copy Legacy Animation 6.

  • Animation Type
    Select Cast.

6: Spell Cast #

We’ll override the Cast animation type for our wizard and cleric with a different animation.

Add a new animation setting.

Base Settings #

  • Name
    Set to Spell Cast.

Legacy Settings > Legacy Animation 0 #

Click on Add Legacy Animation.

  • Animation Type
    Select Cast.
  • Animation Name
    Set to Damage.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to 2.

Copy Animation 0, we’ll add an additional spell animation for some randomization.

  • Animation Name (Animation 1)
    Set to Spell2.

7: Bow #

Animations for attacking with a bow.

Add a new animation setting.

Base Settings #

  • Name
    Set to Bow.

Legacy Settings > Legacy Animation 0 #

Click on Add Legacy Animation.

  • Animation Type
    Select Bow Draw.
  • Animation Name
    Set to BowDraw.
  • Set Layer
    Enable this setting.
  • Animation Layer
    Set to 2.

Legacy Settings > Legacy Animation 1 #

Copy Legacy Animation 0.

  • Animation Type
    Select Bow Shoot.
  • Animation Name
    Set to BowShoot.

Combatants #

Navigate to Combatants > Combatants, we’ll now set up default animations and individual animations for combatants.

General Settings #

We’ll use the Battle animations as default for all combatants.

Animations & Movement > Default Animations #

Click on Add Animations.

  • Animations (Animations 2)
    Select Battle.

0: Warrior #

For our player combatants, we’ll add the Battle Movement animations as animations for battle.

Animations & Movement > Animations #

Click on Add Animations (Battle).

  • Animations
    Select Battle Movement.

1: Rogue #

In addition to the Battle Movement, the rogue also adds the Bow animations – they can be added as standard animations, as they don’t need to override other animations in battle.

Animations & Movement > Animations #

Click on Add Animations.

  • Animations
    Select Bow.

Click on Add Animations (Battle).

  • Animations
    Select Battle Movement.

2: Ranger #

Like the rogue, the ranger adds the Bow and Battle Movement animations.

Animations & Movement > Animations #

Click on Add Animations.

  • Animations
    Select Bow.

Click on Add Animations (Battle).

  • Animations
    Select Battle Movement.

3: Wizard #

The wizard adds Spell Cast and Battle Movement animations.

Animations & Movement > Animations #

Click on Add Animations.

  • Animations
    Select Spell Cast.

Click on Add Animations (Battle).

  • Animations
    Select Battle Movement.

4: Cleric #

The cleric also adds Spell Cast and Battle Movement animations.

Animations & Movement > Animations #

Click on Add Animations.

  • Animations
    Select Spell Cast.

Click on Add Animations (Battle).

  • Animations
    Select Battle Movement.

5: Monk #

The monk only adds Battle Movement animations.

Animations & Movement > Animations #

Click on Add Animations (Battle).

  • Animations
    Select Battle Movement.

6: Rat #

The rat is fine with the default animations.

7: Wasp #

The wasp is flying, so we’ll use the Flying Movement animations. They’re added as standard animations, not just as battle overrides.

Click on Add Animations.

  • Animations
    Select Flying Movement.

8: Snake #

The snake uses Simple Movement animations.

Click on Add Animations.

  • Animations
    Select Simple Movement.

9: Angry Snake #

The angry snake also uses Simple Movement animations.

Click on Add Animations.

  • Animations
    Select Simple Movement.

10: Skeleton #

The skeleton also uses Simple Movement animations.

Click on Add Animations.

  • Animations
    Select Simple Movement.

11: Bat #

The bat is also flying, so we’ll use the Flying Movement animations.

Click on Add Animations.

  • Animations
    Select Flying Movement.

12: Slime #

The slime uses Simple Movement animations.

Click on Add Animations.

  • Animations
    Select Simple Movement.

13: Frog #

The frog also uses Simple Movement animations.

Click on Add Animations.

  • Animations
    Select Simple Movement.

14: Spider #

The spider also uses Simple Movement animations.

Click on Add Animations.

  • Animations
    Select Simple Movement.

15: Dragon #

The dragon is also flying, so we’ll use the Flying Movement animations.

Click on Add Animations.

  • Animations
    Select Flying Movement.

16: Velociraptor #

The velolciraptor is fine with the default animations.

Save Changes #

And that’s it for the animations!

Don’t forget to save your changes by clicking on Save Settings at the bottom of the editor.

Next, we’ll set up camera positions.