This document is about: QUANTUM 2
SWITCH TO

AIConfig and Difficulties

All parameters that can be tweaked for an entity's AI are stored in their AIConfig asset. AIConfig is an asset that is generated automatically when compiling a HFSM document in the Circuit editor. An AIConfig asset can be easily duplicated and assigned different properties to alter an AI's behavior without the need of creating different HFSM.

Different AI difficulties built by altering the AIConfig values and referenced assets. The FPS Template comes with various difficulty settings - from very easy to nightmare; these settings result in substantially different behaviors.

A very easy bot can be beaten by inexperienced players while nightmare bots present a real challenge, especially on mobile platforms. The AIConfig assets for these two examples can be seen below. Notice the different values / reference in the NavMesh config, sensors, animation states, rotation settings, setup config fields.

Back to top