Space Engineers

Space Engineers

Not enough ratings
Auto Assembler Mk II (English/Deutsch)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
390.540 KB
Dec 19, 2023 @ 3:59pm
1 Change Note ( view )

Subscribe to download
Auto Assembler Mk II (English/Deutsch)

Description
.-+ Auto-maintain Base Components - the ABC of Space Engineers +-.

(en)Automatically creates a basic set of components stored under "Custom Data" in a specific container
(de)Stellt automatisch einen unter "Custom Data" hinterlegten Grundstock an Komponenten
in einem spezifischen Container her

Original Script Created 2017 by n30nl1ght, inspired by wuddi[UA]
Update to Version 2.0 for "Space Engineers v.1.203.505 b1" (VRage 2.0) 20.12.23 by R31

- features dynamic screen display
- features autorun, no timer block needed (only program block)
- added more specific error warnings (also helpfully for proper installation)
- added more common components (extended CustomData list to 28 items)
- features default quota size, adapted to the respective container size (small/large)
- self healing CustomData field (now also in Program Block),
fills with default values on incorrect user-input (or intended deletion of content)
- clicking on disassemble mode renews queue
- now working specifically with marked assembler and marked container
(no random container filling until selected container is filled by manually oversized quota)
- translated to English (comments in Ger)

=====================================================================
INSTALLATION :
1)
(en) The script can simply be inserted into a program block.
Nothing needs to be set in the script itself.
(de) Einfach das Skript in einen Progammblock einfügen.
Es muss nichts im Skript selbst verändert werden.

2)
(en) Once the program is running, you can adjust the quota in the
Control Panel of the program block under "Custom Data" if required.
To return to default values (e.g. when changing to a larger container),
simply delete or invalidate "Custom Data".
(de) Sobald das Programm läuft, kannst Du wenn nötig die Quota im
Control Panel des Programmblocks unter "Custom Data" anpassen.
Um Standardwerte zurückzuerhalten (z. B. bei Wechsel auf einen größeren Container),
einfach "Custom Data" löschen.

3)
(en) One assembly plant must be named: "ComponentAssembler" w/o quotes.
(de) Eine Assemblereinheit muss in: "ComponentAssembler" (ohne Anführungszeichen) umbenannt werden.

4)
(en) To hold items, rename a container: "ComponentContainer" w/o quotes.
(de) Um Items zu empfangen, muss ein Container in: "ComponentContainer" (ohne Anführungszeichen) umbenannt werden.
=====================================================================

Thank you for your refreshing contribution, Pounce.

This version was designed for the best possible and most user-friendly simplicity and effectiveness to assign a dedicated assembler to a connected container >anywhere< in the grid - not necessarily the next one next door.
The script therefore only monitors this assembler if it stops during the automatically requested production due to a lack of resources.
The master/slave function given by the game and thus each of the infinite number of possible configurations of the grid was deliberately not taken into account, as subordinate assemblers would not even know which container they should fill.
To increase the production speed, you can add productivity modules to the assembler or create additional sets of assembler container program units, whereby the names (assemblerTag&storageTag directly following the installation instructions within the script) would then have to be adapted in the script to avoid confusion and to ensure the consistency of the function.

If you simply want all assemblers to fill all connected containers continuously and randomly with maximum efficiency, leave the script out and just create a production queue and activate the repeat mode of the assembler. Unfortunately, in this case the quantity control of the individual components does not work, which is the noble goal of this script.
Perhaps there is already another script that meets your requirements. If not, I also need a definition of what exactly you want to achieve.

I hope I have been able to clear up all your doubts and clarify how the script should best be used.
5 Comments
Envie Jul 2 @ 9:06am 
gab es ein update? das script funktioniert bei mir nicht
n30nl1ght Mar 24 @ 2:17pm 
Danke das du das Skript überarbeitet hast, war lange nicht mehr im Game :-)
Muss irgend wann auch mal wieder das Game starten^^
Rei  [author] Apr 14, 2024 @ 2:12am 
@CSBRO I had to deep dive into SE scripting for extending this one already like that and believe only the modder themselves can provide you that information as the new components names are not listed in any official manual.
cologned CSBRO Mar 16, 2024 @ 4:59am 
how do you add components to the list that are provided by a mod?
Pounce Dec 22, 2023 @ 9:21pm 
Seems to not give slaved assemblers any work, i noticed only the master assembler working and switched his conveyor off. The script throws out an warning that the master assembler has no ressources but the slaved ones stay idle and get no calls to produce,
The slave assemblers pull occasional ressources but they are immediatly removed.
When i drastical raise quota for steelplates with master assembler conveyor on the same, it works off the order but the slaved ones stay idle