Space Engineers

Space Engineers

56 ratings
Accelerometer
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script
File Size
Posted
Updated
390.540 KB
16 Mar, 2021 @ 8:33am
11 Apr, 2023 @ 7:40am
4 Change Notes ( view )

Subscribe to download
Accelerometer

Description
Accelerometer

Introduction

This is a pretty simple mod which adds a readout of your current acceleration to your HUD. It is designed for use along another of my mods, Deadly Acceleration, but can be used standalone.

Features

  • Displays your angular + linear acceleration as text alongside the vanilla HUD
  • Metric (m/s²) or GForce (g) unit display
  • That’s it

Multiplayer

Tested in hosted and dedicated multiplayer.

Configuration

These options can be edited through the TextHudAPI menu. They persist across all worlds and servers and are tied to each player.

  • Position: Has X and Y values. These govern the position on the screen of the display. -0.64, -0.64 is the default
  • Unit: Can be GForce or Metric. Metric is default
  • Autohide: Whether to hide the display when acceleration is 0. Defaults to true

Reuse/Licensing

All of my code in this mod is licensed under the GNU GPLv3. Some parts of this code are not mine and I cannot and do not relicense them. Code that is not mine can be found in the following files:

  • Log.cs (author Digi)
  • Anything in TextHudAPI (TextHudAPI mod)

Please contact the respective authors for redistrubtion information about rights for those parts of the mod. In regards to my code:

This mod is GPLv3. That means you can reupload it or any mod that contains it as long as you:

  • Keep all existing license notices intact
  • Credit me
  • List your changes (easiest way is with git and github repo)
  • Make all the source code of the relevent mod avaliable freely and publically with no restrictions placed on its access
  • Make your mod GPLv3 as well
  • Give me your first born child

(ok that last one isn’t actually legally binding)

If in doubt, ask me in comments or the Keen discord (@Natomic). Full license is avaliable here[github.com]. I reserve the right to ask for your mod to be yeeted if you have reused my mod without obeying the license.

Source

Source code for this mod can be found here[github.com]
44 Comments
Yurisaki 8 Jun @ 4:19am 
how do i make it show GForces instead? i tried changing it in config but it doesn't do anything, any elpers? :1033:
DeltaWing 11 Mar @ 12:50am 
@ItsJustVirgil scroll down, pubgrub is a person and has a fix for the issue.

To the creator, please add validation before grabbing values from the config
ItsJustVirgil 19 Dec, 2023 @ 7:25pm 
I have the same error. What is pubgrub?
aczel2 22 Nov, 2023 @ 11:54am 
I had the same error, but the pubgrub2 solution fixed it.
SVIATOGOR 21 Oct, 2023 @ 2:20am 
It stopped working for you: "2426611028 ERROR: Object reference not set to an instance of an object."
Star_Kindler 7 Sep, 2023 @ 10:04pm 
Same exact problem and fix. Tysm @pubgrub2!
SoulDragonWithFlow 5 Aug, 2023 @ 5:36pm 
Same problem as everyone else, but Pubgrub's fix worked for me. :).
ᴱᶻAndre 25 Jul, 2023 @ 11:03am 
omg, youre the man pubgrub, tysm that fixed it!
Dev pls update the mod
pubgrub2 10 Jul, 2023 @ 7:36am 
The error was related the the config file being empty, after pasting in the settings it fixed it.

The config file can be found here: %AppData%\Roaming\SpaceEngineers\Storage\2426611028.sbm_Accelerometer/Accelerometer.cfg

If it is empty paste the follwing:
Unit = AccelUnit.Metric
Autohide = true

this fixed it for me.
Novoca1n3 19 Jun, 2023 @ 2:00am 
Another me too. Object reference error