Wondering if this is possible.
We know from Pennywise's Compass script we can essentially plot coordinates of a planet, and we know that we can use Digi's Projector Preview Mod to create small previews of ships/planets etc etc. What...
View Article[wip] kScript; a flowchart based graphical programming interface for space...
kScript (the K stands for Keen) is a little project I have been working on for the past few weeks, which will hopefully make ingame programming much more accessible. Most of you already know that a...
View Article[Beta] Space Engineers Workbench - A feature rich IDE for Space Engineers...
Hello all. My name is Tim and I'm a professional and hobbyist software developer. I had posted my original thread in the modding forum, but I think this forum may be more appropriate. For the last few...
View ArticleNeed help with LCD panel method
This block of code does exactly what I want it to. Code: var screen = (IMyTextPanel)GridTerminalSystem.GetBlockWithName("LCD Panel"); screen.ShowTextureOnScreen(); This code throws an error. Code:...
View ArticleNeed Help Understanding SE syntax
So I was having difficulty understanding the syntax of SE scripting since I had no knowledge of C#, but I do know .net, html, css, and some php. So i decided I would teach myself C# as well. So I went...
View ArticleGet power consumption of a single block
Is there any way to do this? I know that it was not possible a few months back, but since then the way you access the power from a programme has been reworked and this might have changed things. The...
View ArticleDetailedInfo dosen't work on IMyReactor
When i use DetailedInfo on reactor block, I get an error. Should it work without errors?
View ArticleEasyAPI not functioning - Assembly Not Found
With the recent update a script called "EasyAPI" have ceased to function due to "assembly not found". I cannot get the script to work and I need it working ASAP. I've contacted the author of the codes...
View Articlehow to catch advaced rotor "Angle" value ?
hi, I can get all other values but not "Angle" for rotor block. var rotor = GridTerminalSystem.GetBlockWithName("Rotor_drill") as IMyMotorAdvancedStator; float angle = rotor.GetValueFloat("Angle");...
View ArticleWhat's wrong whith my scripts with detailed info?
Firstly I was thinking that detailed info didn't work only for IMyReactor. Now it didn't work with rotors. What I'm doing wrong? Code: Code: void Main(string argument) { //variables string...
View ArticleIndex was out of range
Hi, I am having issues with some code, it compiles but when I run it I get an error message saying: "Caught exception during execution of script: Index was out of range. Must be non-negative and less...
View ArticleIMySolarPanel interface is empty?
I tried to fix my old solar tracking script and found out that IMySolarPanel currently is empty. How can I get current output, max output and defined output now?
View ArticlelocalOrientation
Consider the code: Code: Matrix localOrientation; gyroscope.Orientation.GetMatrix(out localOrientation); currentVector = localOrientation.Forward; Is localOrientation.Forward in relation to the ships...
View ArticleAdditional information for the programmable block
After my frustration trying to get certain basic physics information about the current grid, I managed to create a workaround by making a workshop mod to expose some otherwise inaccessible values. This...
View ArticleRotation scripts
I want to know what the best way is to rotate a ship to face a certain direction by script. I have been using the script below and it works fine. Most of it I've written myself (except for Joe's...
View ArticleTuning Thruster Control with PID
I have a script that works, well at higher speeds - it responds in a decent time and adjusts thrust accordingly with maybe a little yo-yo effect. But at low speeds its really not very good, if I set my...
View ArticleLong range Lock-On concept, no turrets.
Hello, space engineers! I want to share with you a concept of long-range lock-on. It's described in this short video. I will add script later and transfer this thread to "ingame scripting" tree. But,...
View ArticleComparing Block Orientations
Although I sometimes think I'm getting a good understanding of vectors and vector math, I have become confused once again. My goal is to cycle through the all thrusters on a ship and compare the...
View ArticleNobody owns script
I'm looking for a script that when I press a button on a button panel a programming block sets all blocks to nobody, any ideas?
View ArticleDamage Reporter
Hello, I have small problem with my code posted bellow. I wanted to have simple dmg report, which would display only damaged blocks and how much they are damaged. Problem is that, when one blocks is...
View Article