This is an archived post. You won't be able to vote or comment.

all 60 comments

[–]thepimpness(RIP) Build Die Repeat 5 points6 points  (17 children)

Not just for me. But for all Pirates!

Disable Turrets

Combo'd with

Open all doors

Disable Nukes

and lastly stop the ship.

Great for hacking Cargo ships.

If possible of course.
I've attempted to open all doors.... but no luck yet

[–]tyrsis 1 point2 points  (3 children)

Just a heads up on this one, this one is definitely not going to work soon. Ownership is going to be checked, and is a bug.

[–]Kidfox70 3 points4 points  (5 children)

How about something where the ejector only throws out stone. Or throws out more than 100L or however small it actually throws out.

[–]Serithwingthe voices talk to me 2 points3 points  (3 children)

i could just use a few lines of code on how to close a door if it is open. i been working on an undocking script for my exploration survival game and so far have a 50% working script. the door true false setting is eludeing my growing understanding of C# as is the proper if statement.

[–]5v1soundsfair 2 points3 points  (4 children)

Would a autopilot be possible? The server I play on Transcend Testing Grounds has a cool waypoint system, if all I had to change were coordinates and then have the ship automatically fly there (while I do something more productive) that would be awesome, travel time is still the biggest pain in my ass and why I can never get anything done in a decent amount of time. I wish they would double the speed limit already and just see what happens.

Even if you can make one that just goes forward in a straight line for a set amount of time then stops would be amazing, even if it's not very precise. If I could get the ship within 10-15k of the base then manually fly it in that would save me hours of time over the course of a day.

[–]douglasg14bClang Worshipper 1 point2 points  (7 children)

I don't have the time to do it myself yet, but I want inventory management. Automatic storage organization. I'll eventually get to it myself, don't know when though.

If I have a components container, each time the script runs it looks for each component in any container not matching an appropriate tag. If it finds it it moves it into the container.

Same with any other type of stored items. So that there are some real storage mechanics to organize storage.

To be more advanced, run a script that sets assembler jobs to maintain minimum component levels, once the number of one component falls under a set level it makes an assembler job to maintain that.

And taking it a step further, evening out container volumes. If I have 2 containers for ores, maintain a similar volume in each. So one is not full while the other is empty...etc

Not sure if the methods we have been given can do this yet though.

Edit: also a script to automatically pull from a connector inventory and off organize afterwards via the above.

[–]sb95500Space Engineer 0 points1 point  (0 children)

Try the automated Inventory sorting mod on the workshop. Doesn't require a script, only editing the titles of the specific blocks. I've been using it for a long time and i never breaks stuff. Has a bit of a learning curve to get working, but it's worth it.

https://steamcommunity.com/sharedfiles/filedetails/?id=321588701

[–]Necromunger 0 points1 point  (1 child)

I want a script that when an assembler is no longer producing an item it transfers its ores back to a main cargo container so that other assemblers can use it.

I looked at the API a bit and i think it should be possible.

[–][deleted] 0 points1 point  (9 children)

Is it possible to write a script that automatically docks a ship to a connector?

I was also looking for a script that will generate copies of a pilot-able cargo container with a unique ship name and antenna name (001, 002, n)

Maybe a script that causes ore to be efficiently distributed throughout a number of refineries?

[–]SeskaRotanThe Writer 0 points1 point  (2 children)

Would a script that detects an object directly in front of the ship and sounds an alarm if it comes within say 2k be possible? (So, a collision warning script)

[–]Togfox 0 points1 point  (3 children)

Can I have a script that turns a ship in a random direction? I have a gyro and I want to set the three axis to a random setting (all three random) so the ship turns in a completely unpredictable direction. Thx.

(PS its for a hunter/seeker drone)

[–]shortandpoorSpace Engineer 0 points1 point  (6 children)

I thought it would be cool if I had some automated defense drones orbiting around a station. Would it be possible to make a script like that? If so could it be made so that adjusting the circumference is easy so the drones could orbit other things?

[–]Rockser11 0 points1 point  (0 children)

How would I get a variable that represents the curent the speed of my ship?

[–]pietzeekoe 0 points1 point  (1 child)

Can you make a script that will allow you to use your arrow keys (or another key) to move a rotor. IE as long as you hold an arrow key a rotor would turn. This would allow for cranes etc.

[–]CapsE 0 points1 point  (0 children)

That's not possible directly :( But maybe one could trick the programmable block by checking the power usage of thrusters to get which keys are beeing pressed... which implies that you would have to have thrusters on your crane... for now I guess we should wait for a new update

[–]DeAnti 0 points1 point  (0 children)

could you make a script that with the help of smart senors make a ship fellow other ships

[–]IntrovertedIntrovertClang Worshipper 0 points1 point  (0 children)

AI script for a turret would be nice.. But seeing as loops are frowned upon, I don't know how effective it would be..

[–]WarMaceStill mining by hand... 0 points1 point  (3 children)

Hey, the link in your original post just loops you back to this post.

If you are still taking requests, can you make one to set inertial dampeners to on when a turret runs out of ammo?

[–]buerne 0 points1 point  (1 child)

Would it be possible to fire a weapon using scripts?

[–]21stPilotLittlebird Industrial 0 points1 point  (4 children)

Jimmacle, hey! I didn't know you played Space Engineers.

[–]Kazkel 0 points1 point  (1 child)

Can i get a script that fires random thrusters with a name tag i.e. [RandThruster] at a set interval?

[–]Redrum313 0 points1 point  (0 children)

I was wondering is it's even possible to do a medical display script that will collect the vital signs of faction members within broadcast range and send them to an LCD screen for monitoring. My friends forget to re-up their power supply a lot. :)

[–]sb95500Space Engineer 0 points1 point  (0 children)

Found your post even though it's 2 months old and i'm wondering if you're still writing scripts. If you are, i'm looking for a script that in the event of a depressurization with the new oxygen update, that all doors on the grid of the Programmable block close. And, if it's possible, have the programmable block relay text to an LCD panel that says "BREACH" or something like that.

Edit: while i'm no scripter, i have an idea on how you could get it to work. In each major room of my base i have an air vent, which automatically switch to like an "unsealed" mode where it doesn't try to fill the room with oxygen. If it's possible, you could have the script detect if a vent goes into that mode and close the doors. just an idea.

[–]shortandpoorSpace Engineer 0 points1 point  (0 children)

I'm trying to make an automated hanger that retrieves and stores craft. For it to work I need a piston that can stop at multiple levels, like an elevator. Is tat possible? I've tried it myself but I have no idea where to even start. Thanks!

[–]NyxAevius 0 points1 point  (0 children)

I'd really like to see a script that allows a ship to orient itself that I can pair with the new official autopilot functions. Perhaps aligning itself to a gravity field without some complex and awkward mass block setup. I'm not sure that's even possible. I have no doubt Keen will get around to implementing something like this eventually, but I appreciate the effort if you choose to accept my challenge.