Having an error with my Pressure Locking script
Just to learn a bit, i tried to program a script to lock off areas which get depressurized (idea taken from MMaster's script), but i always seem to get the same error: "Caught exception during...
View ArticleGet direction to waypoint
Hi I have a long, straight line of blocks (a monorail track) and a few gps waypoints (stations) along it. I have a cab on the track which can go forward or backward (no turning) How can i determine a...
View ArticlePrecise maximum velocity
What is it? I know it's 104.4. I also know my space master mode says 104.38. I need to know the exact value (with double precision) so I can use it to hit moving targets with dumbfire projectiles that...
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 ArticleLooking for a script that can trigger stuff if my ship is close to the...
Looking for a script that can trigger stuff if my ship is close to the maximum weight capacity of my current atmospheric thruster. Like let's say i'm mining I want to know when to stop mining before I...
View ArticleNeed help with ingame scripts
I have been trying to use in game scripts. I feel like the instructions for a lot of them have a VERY steep learning curve. And if i cant understand how to use something, its pretty much useless to me....
View ArticleSome clarification about If statement needed
Spoiler: Code Toggle Spoiler Code: [CODE] //Check if the flight computer is working and check program integrity. //Same for the program that handle fuel level. if(FlightComputer.IsFunctional) {...
View Article[solved]Get direction to waypoint
Hi I have a long, straight line of blocks (a monorail track) and a few gps waypoints (stations) along it. I have a cab on the track which can go forward or backward (no turning) How can i determine a...
View ArticleRecurring problems with "Assembly not found. Please recompile."
I am working with a local game, obviously with in-game scripting enabled. I have been progressing well, but keep having inexplicable issues with compiling the script. Compiling indicates success, 'Exit...
View ArticleLonger Sensor range for greater programming possiblity
I've been having a great time learning c#, but I am finding that my ability to program AI into my ship is limited by the fact that my ship can only see 50 meters in any given direction. My ship cannot...
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 ArticleGuaranteed clean slate?
I'm looking for a way to know for sure that my script is starting from scratch. No leftover persisent variables, no previously compiled script still running even when the edit area shows as blank. No...
View Articlequestion/issue with TIM
I'm building my station in my new world and so far all I have set up are designated cargo containers for ores and ingots and just now finished getting refineries down ( from the big refineries mod )....
View ArticleLooking for a production script?
I am looking for a script that shows me what my assemblers are doing. I would like to see current item being made, how many of that item are left, and if there is a issue, lack of material, ect. Most...
View ArticleObtaining Filled % from a tank
I have been unable to utilize GetOxygenLevel() to obtain the fill % from a Hydrogen (or oxygen) tank. Here is what I have been trying: Code: void Main(string argument) { var tankArray = new...
View ArticleRead line by line from LCD
Maybe its a silly question but I am curiouse if there is a built-in way for reading text from an LCD line by line insted of getting the whole text and having to break it to parts..
View ArticleSandbox.Common.ObjectBuilders.MyObjectBuilder_PhysicalObject forbidden in...
Hello there, I just noticed that one of my inventory management scripts is not working anymore What my script did, was to check if there are two items of the same type/subtype combination within one...
View ArticleRunway Script problems [SOLVED]
Spoiler: Code Toggle Spoiler Code: /* Simple script to control the lights of one or more runways, it will handle the color and blink offset of the lights version 0.1 */ string SearchSTR = "RW"; int...
View ArticleRotorPart
Hey guys, quick question, probably a noob one, but hey im noob How would i go about checking if a rotor part is part of a grid during a foreach loop?
View ArticleHello, i have a problem in C#
Hello Everyone, recently i was playing with my mining ship and .... well i dont know why, but some parts of it just dont work. Code: void Main() { Color ColorMining = new Color(255,100,0); Color...
View Article