What are some good Lua programming references, either books or online?
What are some good Lua programming references, either books or online?
[charsig=http://lotrosigs.level3.turbine.com/0e21500000006cb29/01004/signature.png]undefined[/charsig]
If you are at all familiar with programming and want to jump right in, the Lua language reference is a great place to pick up on the language syntax and commands:
http://www.lua.org/manual/5.1/
As to the Turbine implementation and their API, the latest docs are at:
http://www.lotrointerface.com/downlo...mentation.html
My recommendation would be to play around with editing some existing plugins to see how other authors have implemented features and get a feel for the language. Also, see some additional comments at:http://www.lotrointerface.com/forums...ead.php?t=1658
I highly recommend the book Programming in Lua. The first edition of the book is available for free online. It has a very good overview of how both basic and advanced concepts are implemented in Lua.
http://www.lua.org/pil/
However, as Garan has suggested, if you're already familiar with programming or scripting, you may learn more quickly just by looking at how other authors' LOTRO plugins work. The API available for Lua scripting in LOTRO is still quite small, so now is a great time just to jump in and learn.![]()