Book Image

CryENGINE 3 Game Development: Beginner's Guide

Book Image

CryENGINE 3 Game Development: Beginner's Guide

Overview of this book

CryENGINE is a complete game development environment used by AAA game development studio Crytek to produce blockbuster games such as Crysis 1, 2 and 3. This complete Beginner's Guide takes the would be game developer through the steps required to create a game world complete with event scripting, user interface and 3D environment in the free CryENGINE SDK. Learn to create game worlds with the CryENGINE 3 Sandbox, the tool used to create AAA games like the soon to be released Crysis 3. Follow straightforward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, script with Lua and code with C++. Learn to navigate the interface within the CryENGINE 3 Sandbox, the tool used to create AAA games like Crysis 1 and 2, as well as the soon to be released Crysis 3. Learn to create your own worlds by following straight forward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, and script with the Lua language. The book covers all beginner aspects of game development including an introduction to C++ for non- coders.
Table of Contents (18 chapters)
CryENGINE 3 Game Development Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – playing an animation on an entity in Track View


Let's discover how to play an animation on entities in Track View:

  1. To begin with, you must have created a new cutscene in a level and added a camera to it, all of which has been covered in previous examples.

  2. Add an object of interest to the scene for the camera to focus on. In this example, we will add a human character with a simple animation.

    Note

    For characters in cinematics, an AnimObject entity is used as opposed to an AI entity, for performance reasons. Also, because an AnimObject entity doesn't have AI, the AI system won't conflict/fight with the Track View system.

  3. Select the AnimObject entity in RollupBar and drag it into the level.

  4. With AnimObject selected, click on Entity Properties in RollupBar and set the string of the model to that of a human character. For example, setting it as objects/characters/Agent/Agent.cdf is a good choice.

  5. In the Track View, click on the Add Selected Node icon.

    With the AnimObject entity added...