Creating animation for your character
Characters wouldn't be very interesting without animations! In this recipe, we will cover the basic task of animating a character and exporting that animation to be played later in Sandbox.
Getting ready
There are four important steps involved in preparing and animating your character from CryENGINE 3:
Creating a character and export a
.chr
fileEntering the character's information into the
.cba
fileAnimating the character and export a
.caf
fileAdding the exported
.caf
file to the character's .chrparams
file
Use the SDK sample asset character to start this recipe, as the character creation process has already been discussed in previous sections.
How to do it...
First, let's open the character in the character editor:
Open the character editor and open the
Objects/Characters/neutral_male/sdk_character_male_v2.cdf
. It is important to verify that your character is working in the engine before we can begin with animation.We will now open the
animations.cba
file...