Interleaved Thinking optimization

From The DarkMod Wiki
Revision as of 14:59, 20 May 2008 by Angua (talk | contribs) (New page: 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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.