Interleaved Thinking optimization

From The DarkMod Wiki
Revision as of 15:02, 20 May 2008 by Angua (talk | contribs)
Jump to navigationJump to search

This optimization is used to reduce the effect of the AI's thinking routine on game performance. Depending on the distance to the player and if they are in the player's view, AI will only think once in a certain number of frames. This includes the Mind (States and Tasks), path finding and physics.

The settings for this can be adjusted for each AI via spawnargs.

  • max_interleave_think_frames
  • min_interleave_think_dist
  • max_interleave_think_dist