Book Image

CryENGINE 3 Cookbook

By : Dan Tracy, Sean P Tracy (USD)
Book Image

CryENGINE 3 Cookbook

By: Dan Tracy, Sean P Tracy (USD)

Overview of this book

With every successive console generation, the cost, time, and complexity of developing games has grown. Meet CryENGINE3, a middleware engine that is the perfect fit for most developers allowing users to exceed current generation quality standards while using less people and time than ever thought possible.The CryENGINE3 CookBook is packed full of recipes for junior and senior developers alike. It covers everything from creating photo realistic architectural visualizations to implementing advanced physics such as ragdoll and tornado effects. Topics covered include the sandbox, level layout, environment creation, AI, character creation, creating vehicles, and game logic. Every recipe is designed to add AAA quality to your games. The CryENGINE3 SDK has many tools immediately available to developers of all disciplines. For designers the book has recipes for building up your own levels and populating your levels with intelligent AI and photo realistic assets. For artists we have recipes for practical workflow tools and techniques used when working with the advanced CryENGINE shaders and materials. For animators we have recipes that will bring your creations to life using skinned characters and advanced animation systems like locomotion groups. Finally for programmers we have recipes that show how to employ the core mechanics behind entities such as vehicles and weapons while also utilizing the strengths of the physics engine to create a unique and exciting game.
Table of Contents (18 chapters)
CryENGINE 3 Cookbook
Credits
About the Authors
www.PacktPub.com
Preface
Index

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 file

  • Entering the character's information into the .cba file

  • Animating the character and export a .caf file

  • Adding 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:

  1. 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.

  2. We will now open the animations.cba file...