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 - adding a trigger to Flow Graph and outputting its status


We are going to add a trigger directly in front of the SpawnPoint entity in our level. We know where our player is starting from, and so we can add this trigger in front of the SpawnPoint entity so that our player will always have to enter it:

  1. Open the level from the previous example.

    Ensure you have a SpawnPoint added, and a Flow Graph on the SpawnPoint entity to force the player to spawn at its location.

  2. Place a Proximity Trigger entity into the level from the Entity | Triggers section of the RollupBar tab.

  3. Align the Proximity Trigger entity so that the bottom is level with the terrain, and move the trigger slightly in front of the SpawnPoint entity placed earlier.

    Note

    Remember to use the shortcut Shift + Space bar to display the trigger helpers, which will show you the bounding area that is being monitored.

  4. Ensuring that you can see the trigger bounds, let's now set the dimensions of the trigger. Set the dimensions in...