[Commits] [wesnoth/wesnoth] 62f709: Messenger MAI: allow several messengers to be cont...

GitHub noreply at github.com
Thu Mar 27 21:36:53 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 62f709aaa378019369aa89905dccd3d6e992aa2e
      https://github.com/wesnoth/wesnoth/commit/62f709aaa378019369aa89905dccd3d6e992aa2e
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-27 (Thu, 27 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/cas/ca_messenger_attack.lua
    M data/ai/micro_ais/cas/ca_messenger_escort_move.lua
    M data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
    M data/ai/micro_ais/cas/ca_messenger_move.lua
    M data/ai/micro_ais/micro_ai_wml_tag.lua

  Log Message:
  -----------
  Messenger MAI: allow several messengers to be controlled by AI

For two of the CAs this mostly just means reading the [filter] tag and
picking one of the messengers.  However, for the CA moving the escort
units, it means a complete rewrite, as the AI now needs to figure out
which escort unit should be moved toward which messenger.


  Commit: c72c8e7ff23e28005014a46c531e7d240be5b61d
      https://github.com/wesnoth/wesnoth/commit/c72c8e7ff23e28005014a46c531e7d240be5b61d
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-27 (Thu, 27 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
    M data/ai/micro_ais/micro_ai_wml_tag.lua

  Log Message:
  -----------
  Messenger MAI: add optional invert_order= key

In the default configuration, the AI moves the messenger which has
advanced the furthest through the waypoints first.  If this key is set,
the rearmost messenger is moved first.


Compare: https://github.com/wesnoth/wesnoth/compare/2d458b642a74...c72c8e7ff23e


More information about the Commits mailing list