AI:Development: Difference between revisions

From Spring
Jump to navigationJump to search
Line 17: Line 17:
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.
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 AI dev environment, what now?==
==I have setup my development environment. What now?==


* Look at some of the other [[AI:Skirmish:List|AIs for Spring]]<br>
* [[AI:Skirmish:List|AIs for Spring]] - look at some of the AI agents that have already been built for Spring<br>
* Check out the [[AI:Links|AI related links]] page for ideas on how to conceptualize AI agents or how to tackle specific problems<br>
* [[AI:Links|AI related links]] - check that page for ideas ranging from how to conceptualize AI agents all the way to how to tackle very specific problems like pathfinding<br>
* Visit the [http://springrts.com/phpbb/viewforum.php?f=15 Springs AI dev forum]<br>
* [http://springrts.com/phpbb/viewforum.php?f=15 Springs AI dev forum] - comunity's forum dedicated to AI development<br>


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

Revision as of 16:14, 19 October 2014

Development < AI Development

How to write a Skirmish AI for Spring

Quick Start

Please choose your preferred programming language:

For a general explanation about Springs AI API, see 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?

  • AIs for Spring - look at some of the AI agents that have already been built for Spring
  • AI related links - check that page for ideas ranging from how to conceptualize AI agents all the way to how to tackle very specific problems like pathfinding
  • Springs AI dev forum - comunity's forum dedicated to AI development

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