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

Difference between revisions of "AI programming"

From ModEnc
Jump to: navigation, search
(Creating, needs expanding)
 
(Categorising.)
Line 9: Line 9:
  
 
<!-- TODO: add common usage examples, like the "rebuild lost MCV" routine, "seek out and capture oil derricks", etc. -->
 
<!-- TODO: add common usage examples, like the "rebuild lost MCV" routine, "seek out and capture oil derricks", etc. -->
 +
 +
[[Category:General Editing Information]]

Revision as of 22:26, 20 June 2008

AI programming
Sidebar/Default

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