Skip to content

AlexZanderD/DCS-Scripting-Library-Updated

 
 

Repository files navigation

info

I did not make thes files credit goes to https://github.com/asherao/DCS-Scripting-Library i modified the files to put all recent functions and updates in these files also now Enumerators, Server Functions, AI Tasks, Events should be included if i forgot something let me know i will try to update these files then

DCS-Scripting-Library

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.

DSE Demo

Features

  • 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
  • Enumerators
  • Server Functions
  • AI Tasks
  • Events

Instructions

  • 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
  • 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.
    • Example: F:\Github\DCS-Scripting-Library-main
      • image
  • Open a new lua file.
  • Start typing atmosphere and you should see suggestions.
  • All done!

Bonus

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.

Acknowledgements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%