Civetta_ITA Posted October 9 Posted October 9 (edited) Hi everyone, I'm getting into scripting for DCS and I'd like to learn Lua specifically for that purpose. I already have experience with Python, Java, and C++. Lua looks quite different from what I'm used to, and I’d appreciate some advice on the best way to approach learning it. Are there any particular resources, tutorials, or example scripts that helped you get started? Would you recommend focusing on generic Lua first, or jumping straight into DCS-related use cases? Thanks in advance! Edited October 9 by Civetta_ITA =========== My System: WIN11, 64GB, AMD Ryzen9 7950X3D, AMD Radeon RX 7900 XTX ===========
Solution Tobias00723 Posted October 10 Solution Posted October 10 Welcome to the DCS LUA fun! Lua itself if fairly easy to pickup and you will get that in no time (especially with your experience) the other hand learning the limits, functions and possibilities in the DCS Scripting engine is HARD I would start here -> Also heard something about a "TGFB" that they did something cant remember what Hope this is already a start.... also 'hoggitworld' is a ~good source 1 DCS Mission Scripting Wizard | TGFB Owner | Dev of HIP Dynamic Server | Maker of TGFB Dynamic | tgfb-dcs.com | Contact me | TGFB Discord
kira_mikamy Posted October 13 Posted October 13 Knowing Lua is definitely a plus, but it’s not super essential when you’re just getting started. Once you understand when to use things like an if statement or a for loop, you’re already halfway there. Of course, deeper Lua knowledge will speed up your workflow and open more possibilities over time. I started scripting in DCS without actually knowing Lua..I began by using only MOOSE. Then Lua came naturally as I progressed, and now I have no issues working with any type of script. Still, I prefer using MOOSE for DCS rather than relying on the native APIs. P.S. Judging by your name, I guess you’re Italian (I am too). Not sure if I can say this here, but if you want, look for “DCS ITALIA” on Discord, we can get in touch there in the future. 1
Recommended Posts