Space Engineers

Space Engineers

Automated Inventory Sorting Helper
4 Comments
Donny  [author] 7 Feb, 2015 @ 11:32am 
I meant the proportions array that you have, so I can use it/results from my testing to better balance the script.

That way your other faction mates can load up the better balanced proportions by default right away.

I just came up with the proportions off the top of my head and then had to go to work so I haven't actually had the chance to balance it yet so your input is most welcome.
Darkosis 7 Feb, 2015 @ 4:36am 
my current string for the large container on my small ship welder is:

[Component/Construction:P7:10000,Component/MetalGrid:P7:1000,Component/InteriorPlate:P7:10000,Component/SteelPlate:P7:10000,Component/Girder:P7:1000,Component/SmallTube:P7:1000,Component/LargeTube:P7:2000,Component/Component/Motor:P7:300,Component/Display:P7:200,Component/BulletproofGlass:P7:1000,Component/Computer:P7:1000,Component/Reactor:P7:2000,Component/Thrust:P7:2000,Component/RadioCommunication:P7:100,Component/SolarCell:P7:256,Component/PowerCell:P7:50]

I currently just keep a notepad on my desktop and copy that into any other welders i need, but having those proportions in your script would make it easy for other faction mates to load up their own welder (instead of hogging mine then crashing it) : (
Donny  [author] 7 Feb, 2015 @ 3:15am 
@Darkosis
Great to hear it's simple to use.
I'd love to see your adjusted proportions if you could pastebin them to me.

There is a way to do what you need, simply change the value of total_volume from the default to whatever you desire. The default value of ~6500 comes from using the adjusted inventory mod on small ship large containers at 1x inventory size divided by two.
I just tested to make sure it works correctly for your purpose and it does.
Keep in mind that it'll underfill if you're short on specific components.

There's nothing I can really do about that since my script can't control the amount of components you have but you can use some of the more advanced features of the inventory sorting mod to ensure that the minimum requirements are met and then brim the containers with whatever they can find. That'd just involve adding a bit to the end_string.
A simpler solution would just be to aim to fill a volume higher than the volume of the containers and hope that it works out.
Darkosis 6 Feb, 2015 @ 8:05pm 
I love the script ease of having adjusted amount proportions however, my dedicated welder ship i want to use this on is a small ship with multiple large cargo containers and this scrip doesn't come close to using all of the available storage space. My cargo containers have a volume of 80,000 and the script will only use 6,553. Is there a way to adjust this script simply to use all available space without changing any of your other settings?

BTW, thank you so much for the script, great helper script idea!