AI Documentation: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 11: Line 11:
* Alert Index 3: Agitated Searching
* Alert Index 3: Agitated Searching
* Alert Index 4: Combat, Chasing Enemy
* Alert Index 4: Combat, Chasing Enemy
[[Category:Coding]]
[[Category:AI]]

Revision as of 21:04, 2 November 2007

This should be the starting point when trying to learn how the AI code in The Dark Mod is working.

General Coding

As of November 2007, a new AI coding framework has been introduced to further modularise the AI code. See AI Framework for more information.

Alertness

All AI in The Dark Mod can have four distinct levels of alertness, indicated by an Alert Index ranging from 0 to 4:

  • Alert Index 0: Idle, not suspicious
  • Alert Index 1: Idle, susspicious
  • Alert Index 2: Searching
  • Alert Index 3: Agitated Searching
  • Alert Index 4: Combat, Chasing Enemy