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 – triggering a sequence


In this example, we will use a simple Flow Graph to trigger a cutscene when a player walks into a certain trigger.

You must have a level open that has a previously saved Track View sequence in it.

If you have already completed the Animating a camera in Track View and Creating a new Track View sequence sections covered earlier in the chapter, then you can use the my_first_cutscene sequence to build onto.

  1. Click-and-drag a proximity trigger into the level. This can be found under the entities/triggers section in the Rollup Bar.

  2. Once you have added the trigger to the level, set the trigger bounds to be big enough to trigger when the player enters it. Good values are as follows:

    DimX Value="5"
    DimY Value="5"
    DimZ Value="5"
  3. Next, right-click on the proximity trigger and create a Flow Graph on it, as shown in the following screenshot:

  4. Name the Flow Graph cutscene_trigger. Next, let's create a Flow Graph to handle the triggering logic.

  5. Add the proximity trigger itself...