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 – animating an entity in Track View


We will focus on setting this example up as a scripted event, as the cinematic process of animating a camera has been touched on already in previous examples.

You should have the forest.cry example level open for this example.

You should also have created a new blank sequence with no entities named my_second_cutscene.

  1. The first step is that we must add some geometry to animate. It is important to remember the difference between brushes and entities.

    Note

    Brushes cannot be added to Track View.

  2. To allow us to animate the geometry, drag-and-drop BasicEntity into the level found under the entities/physics section of the Rollup Bar.

  3. Once placed, name BasicEntity to falling_tree_01 and set its model string to objects/natural/vegetation/rocky_ravine/d_spruce_dead_a.cgf.

  4. Drag BasicEntity somewhere near the waterfront, where it might look like it could fall in and allow the player to walk up.

  5. Create an initial key frame to set it's original position and...