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.
In CryENGINE, AI still relies on an underlying actor implementation, commonly the exact same one as used by players. However, the implementation of the AI itself is done separately via the AI system, which in turn sends movemAent input, and so on to the actor.
Scripting
The main idea of CryENGINE's AI system is based on lots and lots of scripting. Instead of forcing programmers into modifying the complex CryAISystem module, it's possible to create new AI behaviors using Lua scripts contained in the Scripts/AI
and Scripts/Entities/AI
directories.
Note
The AI system is currently largely hardcoded to usage of the .lua
scripts...