AI:Development: Difference between revisions

From Spring
Jump to navigationJump to search
Knorke (talk | contribs)
AI "frame skipping"
Abma (talk | contribs)
add hints
Line 28: Line 28:
==AI "frame skipping"==
==AI "frame skipping"==
http://springrts.com/phpbb/viewtopic.php?f=15&t=24838&start=9
http://springrts.com/phpbb/viewtopic.php?f=15&t=24838&start=9
==Hints==
In spring you have some control over AIs with these commands:
<code><pre>
/aireload
/ailist
/aikill
/aicontrol
</pre></code>


[[Category: AI]]
[[Category: AI]]
[[Category: Development]]
[[Category: Development]]

Revision as of 05:11, 26 November 2012

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 AI dev environment, what now?

It may be a good idea to look at some of the other AIs for Spring, to check out the AI related links page and visiting Springs AI dev forum.

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