Lua Library for custom dcs mission generation
- main.lua
- config.lua
- Library Files
- Event Listener
./compile.ps1 (or ./compile.ps1 <mission>) compiles each mission into compiled/<mission>.lua for a single DO SCRIPT FILE upload, using the "Script Load Order" block in mission/<mission>/README.md.
Every .lua file must be in the load order except *.model.lua files and other missions' directories, or the mission won't compile. Files the mission editor calls should register a function on MagnusDCSScripting rather than run top-level code, so they load once and the mission editor calls the function.
low def = 768 × 1024 pixels high def = 1536 × 2048 pixels
Go to DCS World/Scripts/MissionScripting.lua and un/comment:
-- sanitizeModule('os')
-- sanitizeModule('io')
-- sanitizeModule('lfs')