Jump to content

AI programming: Difference between revisions

From ModEnc²
en>Nighthawk200
Categorising.
en>DCoder
m Updating with new sidebar
Line 1: Line 1:
{{SideBar|AI programming|Template:AI}}
{{AIBar|categ=no}}{{clr}}


How the various components of the {{ini|ai}} file work together:
How the various components of the {{ini|ai}} file work together:

Revision as of 17:31, 23 June 2008


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