Space Engineers

Space Engineers

Auto Assembler V1.0
52 Comments
Shorty 1 Nov, 2022 @ 3:44pm 
Hey, I fixed the bugs and uploaded it here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2883197675

If the original author starts maintaining this again, then I'll take this down
kn-heal 13 Sep, 2021 @ 8:58pm 
can you fix this plz been trying to fix it for over two months now no go
kn-heal 10 Oct, 2019 @ 1:59pm 
anyone know if there is a component crafting script out there that actuly works
kn-heal 11 Sep, 2019 @ 2:24pm 
doesen't work anymore
Saikred™ 4 Nov, 2018 @ 1:49am 
This works but requires one change.
Change one of the lnes near the bottom from
if(item.Content.SubtypeName == assembler.material)
to
if(item.Content.SubtypeId.ToString() == assembler.material)
Should work happily after that.
Cattasraafe 11 Aug, 2018 @ 4:54am 
Is this script still working?
Endoor 8 Apr, 2018 @ 12:21pm 
It does work for me. But you need to specify the same name on the assembler as in the script
Example: Assembler {SteelPlate:4000}
If you misspell with Steelplate or SteelPlates it wont work.
And you need some storage area with {Storage} so it know where to count.
DaddyCool1964 26 Mar, 2018 @ 10:42am 
Don't work at the Moment. It started the Assembler, but don't stoped it
Slye_Fox 17 Feb, 2017 @ 3:14am 
How do I find the name of mod components?
Willy Gmod 11 Dec, 2016 @ 3:16am 
I've made a tutorial for this, but it's in french, sorry : https://www.youtube.com/watch?v=1iRZVX9dFBY
hasezoey 5 Jul, 2016 @ 10:31am 
How i use it? :)
BIO 19 Jun, 2016 @ 11:39am 
can you make a blueprint in action please it would be very usefull
larkdragon 29 May, 2016 @ 4:41pm 
update item name is SuperConductorConduit need this in sript and assmbler name
larkdragon 29 May, 2016 @ 4:18pm 
I add SuperConductor to the component list and used that name on an assembler and it works just fine. Remeber to add the name in the script as well as the assembler that is key
TheLoneWolf 29 May, 2016 @ 5:16am 
What is the name for SuperConductor Conduits? , i tried {Superconductor} but dosent work.
RealCherno 19 May, 2016 @ 2:53am 
thank you man its working
Gresh'Kaal 5 May, 2016 @ 3:55pm 
Thanks a ton for making this, it's incredibly useful so far!
jackik 27 Mar, 2016 @ 4:19pm 
could you give us a blueprint of this script working with every component in a very compressed way? would make this ridiculusly easy.
Willy Gmod 20 Mar, 2016 @ 3:20pm 
Thanks :)
rockyjvec  [author] 20 Mar, 2016 @ 11:24am 
@Willy Gmod, It's fixed. :-)
Willy Gmod 20 Mar, 2016 @ 11:21am 
Hello, this script is awesome, but can you update it please ?
Crusha 25 Feb, 2016 @ 11:29pm 
Nice thx guy. You save my day ;)
rockyjvec  [author] 25 Feb, 2016 @ 9:12pm 
@Crusha, just uploaded a fixed version for the latest update.
Crusha 25 Feb, 2016 @ 8:59pm 
After the new update the script dont work. Any update for this script ?
Sanctum 22 Jan, 2016 @ 12:52pm 
Try, just for fun - Load the old world where it did not work.
Go to your control panel.
Select all (ctrl+a).
Add owner "ME".
[YES]...

See if it works then.

This fixes issues with timer blocks, scripts, button panels... etc...
GoliathMrk1 11 Jan, 2016 @ 6:17am 
Ok so it ain't a Case sensitive issue,

i started a new world and it seems to work now. must be something with either, my old world or the mods it used.

Thanx for the assistance.

GoliathMrk1 9 Jan, 2016 @ 6:22am 
that might be it i know i just type, so let me check and ill let you know.

BTW thanx for the quick responce :D
rockyjvec  [author] 8 Jan, 2016 @ 9:15pm 
@GoliathMrk1, I think the tags are case sensitive so make sure you are using "Assembler {SteelPlate:5000}" and "Cargo {storage}" (upper case P in SteelPlate and lower case S in storage)
GoliathMrk1 7 Jan, 2016 @ 11:51am 
Deleted previous post.

So it seems the program block responds, tested by switching off one assembler and the programming block switched it on again.

Seems like the limits are not working?

I got it set up as follows "Assembler {Steelplate:5000}" and i'm on 32,5k steel plates in the storage container marked "Cargo {Storage}".

Awesome mod takes away a lot of time wasted queue components, and Automation.

Who doesn't love automation LD
Monkeyking 4 Dec, 2015 @ 9:09pm 
i will test it soon, thanks for the quick help :)
rockyjvec  [author] 4 Dec, 2015 @ 8:45pm 
@Monkeyking, I haven't tested it, but try these:
Superconductor, hslaSteel, AzimuthSuperchargerComponent
Monkeyking 4 Dec, 2015 @ 8:00pm 
hi, great script :) just a Little question... do you know the nessessary names for Superconductor Conduits, HSLA Steel plates (Mech's Gears and Things Mod), and Azimuth Supercharger (Azimuth Mod Pack)? would be great :)
WJSabey 17 Sep, 2015 @ 2:02pm 
I think I found the problem. It's counting items in storage once per assembler. Change line 213 to "if(alreadyCounted)" and it seems to work right.
Pontiac 2 Sep, 2015 @ 9:06pm 
I have the same problem with 2 or more assemblers making things and they don't start up. I've not yet figured out the code (I hate C#) but I'm going to see if I can fix it since I'm not producing materials fast enough for a few of my ships.
Critor 30 May, 2015 @ 10:02am 
It seems that since the last patch (DX11) this mod is now getting an error.
Error:

"Script execution terminated, script is too complex. Please edit and rebuilt script."

Is anyone else getting this???
Critor 14 May, 2015 @ 6:50am 
@rockyjvec I am also having the same issue as @Morphik . I have 7 Assemblers trying to manufacture "Construction" Components qty:5000 . However i only ever get about 300 made, then the assemblers switchoff.
Is there a limit on the max number of assemblers you can have making a single product???
Marziopan 1 May, 2015 @ 2:33pm 
thx :)
rockyjvec  [author] 1 May, 2015 @ 2:31pm 
@MarsAttacks, nice! looks cool!
Morphik 9 Mar, 2015 @ 1:26am 
I've encountered a bit of a problem. When I set 4 or more assemblers to construct the same item to the same amount, the script switches them all to off? is this intended?
Dantirya 13 Feb, 2015 @ 12:20pm 
"Script execution terminated, script is too complex. Please edit and rebuilt (sic) script."

Happens after about 10 seconds on a 3-second timer when my assemblers are turned on, when they're turned off it runs without issues.
Hitori 11 Feb, 2015 @ 7:59am 
Good list, will save me time on a script i working on.
If only it was more complete tho, oh well i will complete the rest my self.
hipergo 23 Jan, 2015 @ 9:00am 
thank you very much
rockyjvec  [author] 22 Jan, 2015 @ 5:20pm 
I added all the subtypes above and at the top of the script.
rockyjvec  [author] 22 Jan, 2015 @ 4:22pm 
That's a lot of radio components :-). Okay, I'm adding it now. I'll post as soon as it's done.
hipergo 22 Jan, 2015 @ 2:12pm 
same thing with gravity generators =/
man I need the list so bad
hipergo 22 Jan, 2015 @ 12:03pm 
looking forward for the list
made 3k+ radio components during night cause of wrong name, now disassembling it =)
rockyjvec  [author] 19 Jan, 2015 @ 4:34pm 
I'll generate a list of all the subtypes and include it at the top of the script in the next version. Here are the names you were looking for:
25x184mm NATO Ammo Container: "NATO_25x184mm"
5.56x45mm NATO Magazine: "NATO_5p56x45mm"
200mm Missile Container: "Missile200mm"
hipergo 19 Jan, 2015 @ 10:34am 
Very nice script.
What is the correct name for:
25x184mm NATO Ammo Container;
5.56x45mm NATO Magazine;
200mm Missile Containe?
Siegmeyer 16 Jan, 2015 @ 5:32am 
Great! I was looking for comething like this for a whille.
MatBe 16 Jan, 2015 @ 12:40am 
This is really awesome, great way to work around the current limitation in coding with assemblers! The limitation with just one product type per assembler is not that bad since there's not that many products that you need to have auto assembled anyway.

A few tips that I changed myself in the code, but that you might want to consider: Use ( ) instead of { } for the names of containers - at least I could not use { } in the namespace without copy pasting it into the game. This might be a language/keyboard issue, though. Also, consider adding an easily editable string at the top of the code, to simplify changing the cargo container search parameter from {aas} to something more convenient of your choice.

Great script/idea, I'm looking forward to seeing future updates!