Gravity aligning thrusters
Hello, I wanted to try and create a script that uses thrusters on rotors to rotate them to match gravity for a modular miner I was going to try and build. I was wondering if anyone here had tried a...
View Article[API Request] An Interface for block state for IMyTerminalBlock
I have also submitted this to the API Requests Thread and I am posting it separately here so that it can have it's own discussion. I would like an Interface that is connected to IMyTerminalBlock that...
View ArticleBlock scripts requests thread
As programmable blocks came to SE, and not all players are programmers, I guess a thread with block requests is reasonable. Basically, if you want a script on your block, post explanation here. Other...
View ArticleSave and load variable?
So I'm trying to automate mining on my ship, I have pistons that need to go after each other in order to not break the drills. So I created a simple program. Code: public void Main(){ IMyPistonBase...
View ArticleUsing Echo in separate class
Hello, I have the Main method and I want to call another class. Inside the separate class (being a full script with it's own methods and class variables), I want to use Echo to display an output to the...
View ArticleUpperLimitDeg = UpperLimitRad
IMyMotorAdvancedStator UpperLimitDeg behaves like UpperLimitRad. UpperLimitRad behaves normally. LowerLimitDeg behaves normally. LowerLimitRad behaves normally.
View ArticleSuspension Strength per Tonne
Does anyone have a more accurate formula to adjust suspension strength? I've dabbled with the following formula: 0.0036x² - 0.1x + 6 Be careful with it, because it becomes increasingly inaccurate over...
View ArticleAccessing GridTerminalSystem from Sub-class without statics?
Sorry if this is a really obvious question but I couldn't find an answer elsewhere. Since I started in-game scripting, I've always created a static reference to the master Program - something I almost...
View ArticleAutogenerated API index
This index contains all types and members available to ingame scripting - with exception to the .NET types, because including those would have made the listing far too big. There will be links to...
View ArticleInterface extension
Instead of doing this. PHP: class InventoryTable{    public IMyInventory Inventory { get; set; }    public VRage.MyFixedPoint PreviousMass { get; set; }} I was thinking of doing this. PHP: interface...
View ArticlePB Scripting Guide: How To Use Self-Updating
Greetings engineers! As you all have (hopefully) read in last week's update post, the PB now has some fancy new self-updating features which means you no longer need timer blocks! This self-update...
View ArticleNew way to read inventory?
I got this error on test, in the EasyAPI code (which I had updated to handle currently live changes but that hasn't been pushed to github or the store). There is no argument that corresponds to the...
View ArticleNew to coding, need a little help :-)
Hi there! So I've *just* yesterday started coding, so complete newbie here. Read up on the basics for C# and started to try it out ingame with a few trial program blocks, started with just turning on...
View ArticleIMyMechanicalConnectionBlock throw exception only when loading session
Hi o/ I face a strange behavior with IMyMechanicalConnectionBlock object. Here's a code who works on function main() script; but not on program() only when call 1st time after loading a game, if I...
View ArticleQuick Introduction to Space Engineers Ingame Scripts
I have created a quick introduction tutorial on how to create Space Engineers scripts. https://github.com/malware-dev/MDK-SE/wiki/Quick-Introduction-to-Space-Engineers-Ingame-Scripts Got any questions?...
View ArticleMy first ingame script [help]
Error In line 72 which is: "GridTerminalSystem.SearchBlocksOfName("[Mining stop]", Alerts);" Error CS1503 Argument 2: cannot convert from...
View ArticleGetting a warning in script
Hi there, can someone tell me why am I getting a Warning after compiling this script? And does anyone know if it breaks something within the code? Warning: 'IMyShipConnector.IsConnected' is obsolete:...
View ArticleMDK: Malware's DevKit for Space Engineers
https://github.com/malware-dev/MDK-SE MDK-SE (Malware's Development Kit for SE) A toolkit to help with ingame script (programmable block) development for Keen Software House's space sandbox Space...
View ArticleUsing depency injection (DI) and several files
So, after coming back to SE after like 4 years, I have some reqeusts for the C# scritping system (not sure if they are implemented alaready). Allow for people to define a class in a separate file, then...
View ArticleIMyInventory GetItems working?
Hmm The behavior of this has changed from how it was before and how it was during the release tests and it seems to be broken. from the ingamte script interface for "IMyInventory" the method "GetItems"...
View Article