Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 6 and Version 7 of code/doc/AI


Ignore:
Timestamp:
Nov 30, 2015, 2:35:41 PM (9 years ago)
Author:
gania
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/AI

    v6 v7  
    2020When fighting, DivisionController fights in pair with its WingmanController and SectionController in pair with its Wingman. Those two sections of two ships try to attack different targets in order to achieve maximum damage output.
    2121
    22 AI tries to separate Wingman in Leader into attacker and defender, so that enemies waste their time trying to kill one while another finishes them off.
     22Wingan and Leader try to become attacker and defender, so that enemies waste their time trying to kill one while another finishes them off.
    2323
    2424== Formations ==
     
    3131 * ATTACK: attacks a specific target until target is dead.
    3232 * PROTECT: follows a specific target until no protection required (when that spaceship dies).
    33  * FLY: flies to a specific point.
     33 * FLY: flies to a specific point. Whenever enemy is close, AI attacks it, then returns back to current action.
    3434More than one Actionpoint can be attached to a controller, resulting in a slightly complex behaviour, for example, following code would result in a spaceship firstly flying towards (0,0,0), then attacking a spaceship with a name "attack", then trying to protect a human player, if none is spawned or human dies, it protects a spaceship with a name "protect", then it fights all enemies on the map:
    3535{{{