Debugging the AI triangulation

In this recipe, we will be showing you how you can debug the AI's triangulation through certain cvars.

Getting ready

  • Before we begin, you must have Sandbox 3 open
  • Then open My_Level.cry
  • Complete the previous recipes with the basic AI

How to do it...

  • ai_debugdraw 1: Shows the basic information for all AI within the level (Behaviors, Actions, Target, Stance, and so on).
    How to do it...
  • ai_debugdraw 74: Shows both the interior navigation nodes as well as the terrain triangulation with the current AI navigation information (generate the AI navigation to update this information).
    How to do it...

How it works...

Utilizing both the debug methods will allow the designers to identify where the AI is going and how the AI is utilizing the triangulation that was generated within the level.

See also

  • The Placing the enemy AI recipe
  • The Generating the AI navigation recipe
  • The Forbidden boundaries recipe
  • The Forbidden areas recipe
  • The Setting up the interior navigation recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.177.86