Tutorial for writing Lua AIs?

Tutorial for writing Lua AIs?

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

Tutorial for writing Lua AIs?

Post by hughperkins »

If anyone is looking for a way to contribute something to the community, get their name in lights, get involved with the community, or have something to put on their cv, I for one would love to see a tutorial on writing Lua AIs.

Just really basic stuff, like: what is a Lua AI? How does its architecture compare to the C++ AIs? What can you do with it? Limitations? How to get started writing some really simple AI, that walks to the nearest metal, builds an extractor, and then builds a solar panel.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Tutorial for writing Lua AIs?

Post by abma »

Yes, improving the wiki page would be nice :-)

http://springrts.com/wiki/AI:Development:Lang:Lua
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Tutorial for writing Lua AIs?

Post by zwzsg »

It's like a widget, except it's a gadget, so that it can play another team than yours. It can use all of http://springrts.com/wiki/Lua_Scripting
Post Reply

Return to “AI”