Interleaved Thinking optimization: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
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 ...
 
Angua (talk | contribs)
No edit summary
Line 2: Line 2:


The settings for this can be adjusted for each AI via spawnargs.
The settings for this can be adjusted for each AI via spawnargs.
* '''max_interleave_think_frames'''
* '''min_interleave_think_dist'''
* '''max_interleave_think_dist'''

Revision as of 15:02, 20 May 2008

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