Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

KermanIsPretty/SM-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Project has been archived because the offical developers of this game releasing there own version!

SM Exenstion for Lua Language Server

An extension to provide type support and some documentation to Visual Studio code for the modding aspect of Scrap Mechanic.

Contributors

  1. HardCoded - (docs & tracer)
  2. TechnologicNick - help with some function docs

How to install

Requirements

  1. Visual Studio Code
  2. Lua Language Server extension (github)
  3. git

Step 1

Clone the repository to a memorable location using git. Ex: git clone https://github.com/KermanIsPretty/SM-Extension.git

Step 2

Open visual studio code and navigate to the settings of the Lua language server.

Step 3

Scroll in the settings until you see library.

Step 4

Click add item and type in the full directory path of your memorible location followed by SM-Extension\.vscode\lua\sm.lua An example would be E:\Docs\SM-Extension\.vscode\lua\sm.lua

Step 5

Press ok or enter when you are finished entering the library location.

Step 6

Open your mod folder or what scripts you want to edit.

Questions?

Contact me on discord: TwentyCharatersGreat#5716 or look me up using 195930934480994304

FAQ

I am missing some functions?

You will need to add other libraries (see step 2 - 5).

  1. Util - <REPLACE WITH SM INSTALL PATH>\Survival\Scripts\util.lua
  2. AnimationUtil (tools) - <REPLACE WITH SM INSTALL PATH>\Data\Scripts\game\AnimationUtil.lua

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published