b422fcc1153068bebcf4a7009411a5120a8f0d9e
DCS
Soundfiles for created Missions with Moose in /MOOSE_SOUND
Example Missions that helps with creating scripted missions in /MOOSE_MISSIONS
MIST, Moose, CTLD, aso. are in the /Scripts folder
DCS Lua Usage
Open the workspace
Open DCS-Lua.code-workspace in VS Code to load the Lua settings and recommended extensions.
Script placement
- Use
scripts/for your editable Lua source files. - Copy the final Lua files into your DCS mission or export folder as needed.
DCS script tips
- DCS mission scripts typically use
world.addEventHandlerandenv.info. - Use
Lua.runtime.version = "Lua 5.1"compatibility settings for DCS. - Declare DCS globals in VS Code settings to reduce false diagnostics.
Example workflow
- Edit
scripts/hello_dcs.lua. - Save changes and verify syntax highlighting in VS Code.
- Export or copy the script to your DCS mission folder.
- Test in DCS World and watch the
dcs.logoutput.
Description
Languages
Lua
100%