Provides a baseline Scripting Library for DCS for use in VS Code. This incudes Intellisense and auto code completion. You have the option to add other Environment by simply drag and droping the .lua file into the directory. What's unique about it is that you don't have to have other windows open or be imbeded in a project to access the features it provides.
- Intellisense
- Auto Code Completion
- Links to Documentation
- Singleton Functions
- env
- timer
- land
- atmosphere
- world
- coalition
- trigger
- coord
- missionCommands
- VoiceChat
- net
- Class Functions
- Object
- Scenery Object
- Coalition Object
- Unit
- Airbase
- Weapon
- Static Object
- Group
- Controller
- Spot
- Object
- Enumerators
- Server Functions
- AI Tasks
- Events
- Download and install VS Code. https://code.visualstudio.com/download
- Download the Lua Language Server by sumneko using the VS Code Extention feature.
- Downlad this git. Extract the contents to a safe location.
- Example:
F:\Github\DCS-Scripting-Library-main
- Example:
- In the Lua Language Server by sumneko Extention settings scroll down near the bottom where it says "Lua > Workspace: Library".
- Click "Add Item" and insert the folder path from above.
- Open a new lua file.
- Start typing
atmosphereand you should see suggestions. - All done!
You can add other libraries such as MIST, DCT, or CTLD by putting the .lua file in a "Lua > Workspace: Library" folder and then designating that folder as a library.
- Grimes via https://wiki.hoggitworld.com/view/Simulator_Scripting_Engine_Documentation
- Hoggit Discord

