AI:Development: Difference between revisions

From Spring
Jump to navigationJump to search
Line 4: Line 4:


==Quick Start==
==Quick Start==
Please choose your preferred programming language:
See these pages for tutorials on how to setup a development environment to start building AIs and how to build your first AI agent:


* '''[[AI:Development:Lang:Lua|Lua]]'''<br>
* '''[[AI:Development:Lang:Lua|Lua]]'''<br>
Line 13: Line 13:
* '''[[AI:Development:Lang:Groovy|Groovy]]'''<br>
* '''[[AI:Development:Lang:Groovy|Groovy]]'''<br>
* '''[[AI:Development:Lang:Python|Python]]'''<br>
* '''[[AI:Development:Lang:Python|Python]]'''<br>
* other -> have a look at '''[[AI:Development:Interface|AI Interfaces & Wrappers]]'''<br>
For a general explanation about Springs AI API, see [[AI:Development:System|the introduction to Springs AI interface system]]. Though, an AI dev does not have to know about this, and should just follow the link to his preffered language from the list above.


==I have setup my development environment. What now?==
==I have setup my development environment. What now?==

Revision as of 16:22, 19 October 2014

Development < AI Development

How to write a Skirmish AI for Spring

Quick Start

See these pages for tutorials on how to setup a development environment to start building AIs and how to build your first AI agent:

I have setup my development environment. What now?

  • AIs for Spring - list of some of the AI agents that have already been developed for SpringRTS
  • AI related links - check that page for ideas ranging from how to conceptualize AI agents all the way down to how to tackle very specific problems like pathfinding
  • Springs AI dev forum - comunity's forum dedicated to AI development
  • AI Interfaces & Wrappers - see a description of how the AI agents interact with SpringRTS engine
  • Introduction to Springs AI interface system - general explanation about Spring's AI API. Though, an AI dev does not have to know about this, and should just follow the link to his preffered language from the list above.

Lua<-->AI communications [in Spring 0.83+]

http://springrts.com/phpbb/viewtopic.php?f=15&t=26298 He shall only say it once!

AI "frame skipping"

http://springrts.com/phpbb/viewtopic.php?f=15&t=24838&start=9

Hints

In spring you have some control over AIs with these commands:

/aireload
/ailist
/aikill
/aicontrol