O'Reilly logo

CryENGINE Game Programming with C++, C#, and Lua by Ruan Pearce-Authers, Carl-Filip Lundgren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Artificial Intelligence

The CryENGINE AI system allows the creation of non-player controlled actors that roam the game world.

In this chapter we will:

  • Learn how the AI system integrates with Lua scripts
  • Discover what goal pipes are, and how to create them
  • Use AI signals
  • Register a custom AI Actor class
  • Learn how to use behavior selection trees
  • Create our own AI behavior

The Artificial Intelligence (AI) system

The CryENGINE AI system was designed to allow easy creation of custom AI actors flexible enough to handle a larger set of complex and different worlds.

Before we start looking into the native implementation of the AI system, we have to mention one very important fact: AI is not the same as an actor, and should never be confused as such. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required