ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

AI programming

From ModEnc
Jump to navigation Jump to search


How the various components of the ai(md).ini file work together:

  • A TeamType combines the "who should do this" and "what should they do" functions, and defines additional behavioural properties, such as "should they retaliate against objects which attack them, or blindly keep doing their job"
  • A TaskForce lists the objects (units, infantry, aircraft) that should be involved in this Team
  • A ScriptType defines what those objects should do once they're recruited into this Team
  • An AITriggerType controls the conditions under which one or two TeamTypes get called into action