Yurgon Posted February 5, 2014 Posted February 5, 2014 I've spent dozens of hours building a mission lately. At some point I realized that some tasks could not be achieved with the ME but would probably be fairly simple with LUA scripting. My problem was that I didn't find any good, basic introduction into the topic, starting with where and how to include LUA scripts into a mission, how to get any type of output (like using env.info() and where to find its output) and how to actually make use of all the examples that are spread around the various threads and wikis that do go into more detail. I think I figured out the basics and wouldn't mind writing an introduction, with step-by-step instructions, references, screenshots and everything, so that others will have a smoother introduction to the topic. But I just wanted to double-check that I'm not just too stupid to find such a guide and/or tutorial. Places where I've looked and that I would incorporate into such an introduction include: http://lua-users.org/wiki/ http://wiki.hoggit.us/view/DCS_mission_editor http://wiki.hoggit.us/view/Simulator_Scripting_Engine_Documentation http://forums.eagle.ru/showthread.php?t=47877 http://forums.eagle.ru/showthread.php?t=98616 http://en.wiki.eagle.ru/wiki/DCS_Mission_Editor_(ME)
Grimes Posted February 5, 2014 Posted February 5, 2014 Its a pretty basic intro, but it exists. http://wiki.hoggit.us/view/Scripting_Engine_Introduction The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Yurgon Posted February 5, 2014 Author Posted February 5, 2014 Its a pretty basic intro, but it exists. http://wiki.hoggit.us/view/Scripting_Engine_Introduction Yeah, that's definitely the best intro I found. It just left a couple of questions unanswered, and it took me ages to find it. Most importantly, it's not linked in any of the first posts in the sticky threads in this sub-forum - but that's where it should be mentioned. That's kind of what I'm aiming for.
Yurgon Posted February 7, 2014 Author Posted February 7, 2014 Well, now there is. :) As I wrote in that thread, that's the basic introduction that I had been looking for, with a step-by-step guide for the very first steps. I hope others will find it useful, but even if no one else does, I know that I have learned a huge amount of things about Lua scripting and the Mission Editor while I wrote that guide. In any case, it has already served a purpose. :)
Recommended Posts