Giter Club home page Giter Club logo

spaceengineers-scripts's Introduction

Space Engineers scripts

Toolkit for scripting a Programmable Block in the Space Engineers game.

Features

  • IntelliSense for the game API (DLLs are plugged in SpaceEngineers.csproj)

  • Automatic export to game local storage when saving a Script.cs

Requirements

  • Git for Windows

  • .NET SDK (notice <TargetFramework>net6.0</TargetFramework> in SpaceEngineers.csproj)

  • VS Code with C# extension (build and debug assets are not required)

Usage

Create a new script

Run the Create Space Engineers script task from the Terminal -> Run Task... menu, then enter a name for the new script. This name will be used as the dir name and C# namespace/region identifier.

You can copy scripts\Template -> scripts\[NewName] manually and replace all Template entries with [NewName] in Script.cs file.

Save and Export

Add the following key binding to %userprofile%\AppData\Roaming\Code\User\keybindings.json:

{
  "key": "ctrl+s",
  "command": "workbench.action.tasks.runTask",
  "args": "Export Space Engineers script",
  "when": "resourceFilename == Script.cs && editorTextFocus"
}

When you save the Script.cs by pressing Ctrl+S, its dir will be copied to the game local storage.

Git filters (optional)

To prevent committing your local settings, run utils\git\config.bat.

spaceengineers-scripts's People

Contributors

reksar avatar danielbaulig avatar avril112113 avatar ndnes avatar

Watchers

Joshua King avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.