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 - place a basic AI entity


Let's now add one of the most advanced and dynamic entities available to us within the sandbox application:

  1. In the RollupBar, click on the Entity button.

  2. Under the AI folder, find the Grunt tab.

  3. Click-and-drag the entity anywhere on your terrain within the perspective viewport.

  4. Switch to game mode near their location, and the Grunt object will immediately attack you, if you are within range.

When selecting the Grunt object, you will be presented with a huge variety of properties that have been previously set in the .lua script in the Entity Properties section of the RollupBar. The default settings of the Grunt object will suffice for this example, but it is recommended that you experiment with some of the parameters available.

What just happened?

You have placed your first enemy and can now interact with them. Having characters to breathe some life into our story and game gives us tons of gameplay possibilities by simply placing them in progressive and...