SoC Ideas AI Scenario Objectives 2012: Difference between revisions
mNo edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Template:SoC2012Idea}} | {{Template:SoC2012Idea}} | ||
= Description = | = Description = | ||
<h2>AI: teach the AI to play Wesnoth's mainline campaigns</h2> | <h2>AI: teach the AI to play Wesnoth's mainline campaigns [3]</h2> | ||
Page for the idea: [[SoC Ideas AI Scenario Objectives 2012]] | Page for the idea: [[SoC Ideas AI Scenario Objectives 2012]] | ||
We want the AI to be able to play campaigns, both on its own and as a ally for a human player. | |||
There are some things that are frequently required in campaigns : | |||
# move a unit to location | # move a unit to location | ||
# keep a unit alive | # keep a unit alive | ||
| Line 10: | Line 11: | ||
# keep as much money and high-level recalls as possible | # keep as much money and high-level recalls as possible | ||
# do a proper recall | # do a proper recall | ||
# protect units close to level up better. | |||
# improve interaction of the player with AI allies. | |||
# if you almost lost, try to make it possible for an ally to save you (by retreating the leader and critical units, for example) | |||
This should be coded in lua (so there might be need to expand low-level lua AI capabilities), because we want the resulting list of behaviors to be scriptable and modifiable by scenario editors. | |||
A proper test would be to let the AI complete all the mainline campaigns. | A proper test would be to let the AI complete all the mainline campaigns. | ||
| Line 28: | Line 34: | ||
=Additional Information= | =Additional Information= | ||
There are some useful code snippets on the forum. | |||
Also, there is a patch lying around which allows to launch wesnoth from command-line with AI in control. Otherwise, you can use :droid debug mode command to give control of the side to AI | |||
=Whom to ask about this= | =Whom to ask about this= | ||
Crab_ on irc. | Crab_ on irc. | ||
Latest revision as of 12:05, 5 April 2012
| This page is related to Summer of Code 2012 |
| See the list of Summer of Code 2012 Ideas |
| This is a Summer of Code 2012 Idea |
Description
AI: teach the AI to play Wesnoth's mainline campaigns [3]
Page for the idea: SoC Ideas AI Scenario Objectives 2012
We want the AI to be able to play campaigns, both on its own and as a ally for a human player. There are some things that are frequently required in campaigns :
- move a unit to location
- keep a unit alive
- keep an ally alive
- keep as much money and high-level recalls as possible
- do a proper recall
- protect units close to level up better.
- improve interaction of the player with AI allies.
- if you almost lost, try to make it possible for an ally to save you (by retreating the leader and critical units, for example)
This should be coded in lua (so there might be need to expand low-level lua AI capabilities), because we want the resulting list of behaviors to be scriptable and modifiable by scenario editors.
A proper test would be to let the AI complete all the mainline campaigns.
There are no student proposals for this idea
Additional Information
There are some useful code snippets on the forum. Also, there is a patch lying around which allows to launch wesnoth from command-line with AI in control. Otherwise, you can use :droid debug mode command to give control of the side to AI
Whom to ask about this
Crab_ on irc.