URL:
  <http://gna.org/patch/?1666>

                 Summary: Select the era AI by default if declared as default
                 Project: Battle for Wesnoth
            Submitted by: faabumc
            Submitted on: Saturday 05/08/2010 at 09:47
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

If an AI has been developed for an era, it is likely that the owner intends
to have that AI used by default when playing the era.
For example, when creating a game and allocating a slot to a computer player,
the AI algorithm should then be set to the AI coming along the era.

To implement this, I have created a use_as_default property to be set in the
[ai] key inside the [era]. When set to true (default=false) the era AI will
be selected by default when allocating a slot in a game to a computer
player.

NB: the droid command will still affect the standard default AI to the side.
This case will be taken care of, a soon as the implementation in the patch is
validated.

NB-2: the wiki has to be updated to list the new use_as_default property of
the [ai] key. This will be done if the patch is accepted. That might require
the creation of a entry for [ai] inside [era] tag description as currently
only [ai] inside [side] is documented. 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 05/08/2010 at 09:47  Name: patch-era-ai-use-as-default.diff 
Size: 4kB   By: faabumc

<http://gna.org/patch/download.php?file_id=9134>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1666>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to