AI:Development: Difference between revisions

From Spring
Jump to navigationJump to search
Line 20: Line 20:
* '''[http://springrts.com/phpbb/viewforum.php?f=15 Springs AI dev forum]''' - comunity's forum dedicated to AI development<br>
* '''[http://springrts.com/phpbb/viewforum.php?f=15 Springs AI dev forum]''' - comunity's forum dedicated to AI development<br>
* '''[[AI:Development:Interface|AI Interfaces & Wrappers]]''' - technical description of the Interfaces that expose the SpringRTS engine to the AI agents<br>
* '''[[AI:Development:Interface|AI Interfaces & Wrappers]]''' - technical description of the Interfaces that expose the SpringRTS engine to the AI agents<br>
* '''[[AI:Development:System|Introduction to Springs AI interface system]]''' - general explanation about Spring's AI API. (this is not crucial information for an AI developer to know)<br>
* '''[[AI:Development:System|Introduction to Springs AI interface system]]''' - architecture of SpringRTS and how it interacts with the AIs<br>


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

Revision as of 16:45, 19 October 2014

Development < AI Development

How to write a Skirmish AI for Spring

Quick Start

The SpringRTS engine receives commands from an AI agent and sends back game state to the AI through an Interface. See these pages for tutorials on how to setup a development environment and how to build your first AI agent:

I have setup my development environment. What now?

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