Passero Posted September 14, 2020 Posted September 14, 2020 I want to learn some scripting myself and for that, I want to see how other missions are implemented so when I have a mission that uses LUA scripts, can I somehow see those scripts? I'm referring to the action where you can select a LUA script and now where you can directly enter the LUA in the textbox... These are missions I got from other people and not the default missions that come with modules... I assume these scripts are embedded in the mission file but I want to read them so I can see how certain things are done...
=475FG= Dawger Posted September 14, 2020 Posted September 14, 2020 I want to learn some scripting myself and for that, I want to see how other missions are implemented so when I have a mission that uses LUA scripts, can I somehow see those scripts? I'm referring to the action where you can select a LUA script and now where you can directly enter the LUA in the textbox... These are missions I got from other people and not the default missions that come with modules... I assume these scripts are embedded in the mission file but I want to read them so I can see how certain things are done... The mission file (.miz) is just a compressed file. Rename it.zip and open the archive using 7zip or other app of your choice. There is a file structure within. l10n is where user scripts are.
Habu_69 Posted September 15, 2020 Posted September 15, 2020 FYI the Moose Use Guide (https://github.com/FlightControl-Master/MOOSE_GUIDES) has much information about the the workings of the DCS scripting engine. Good reference even if you do not wish to use the Moose scripting environment.
Passero Posted September 15, 2020 Author Posted September 15, 2020 I was watching his tutorials... I will probably use his framework. Object oriented programming is so much nicer so really good he build such a framework.
Recommended Posts