1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

[Question] Assemblers pull/push manipulation

Discussion in 'Gameplay Help' started by kunamaro, Oct 29, 2016.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. kunamaro

    kunamaro Trainee Engineer

    Messages:
    5
    Hello,

    I would like to do something : force emptying of the "ingots inventory" of a coop of assemblers.
    I mean, I have a factory and used some sorters for sort all my minerals, ingots, components etc ... Dat work nice, coop assemblers too, but at a moment, assemblers are full and don't want to empty. I puted a sorter in "drain all" mode for test to empty assemblers, but don't work ... I don't know how to affect the "first inventory" with pull/push action. I found some answer but these saied to use proogramable block. I wanted to know if it's possible without, i want to use pull/push mecanics, and if possible, only sorter, and manipulate priority between differents part of a foundry.

    If it's not possible to do that without programable block, someone have a script please ?

    Sorry for my english btw, and thx by advance !

    Kuna
    --- Automerge ---
    Up please ? I really need an information :(
     
    Last edited: Oct 30, 2016
  2. ViroMan

    ViroMan Senior Engineer

    Messages:
    1,123
    You tried to use a sorter to pull ingots from the inventory. How did you do it? Do you set the sorter's white list to ingots then set it to drain all? There is also the possibility that the sorter is pulling the ingots out and placing them back in the assembler if your assembler has multiple pipes to it.
     
  3. kunamaro

    kunamaro Trainee Engineer

    Messages:
    5
    For the assemblers part, in the order i have a container with ingots, and pipe from this container to the assemblers. I obviously have a sorter for set this pipe in 1 direction only (no white or black list for dat, he is just here for prevent all component to come back in this container).
    After that, i puted a pipe from assemblers to the ingots container, with a sorter in whitelist *ingots*, drain all. At the start that did what you said: Ingots come from the container, passe into assemblers and return to container. So i just put a switch button for power off all my sorters in the foundry, and just put one the "Evacuation sorter". But still don't work. I can't interact with the ingots inventory in assemblers (same for ore in refinery i think). I tried the hold technique with a connector in drain/Throw all + a collector with my sorter (in drain all) just before the connector, and a switch button for turn one/off the connector, but obviously don't work, the sorter don't want to pull the first inventory. I can post a screen of my foundry if you want, but it's a bit ... "messy" ? (don't know if it's the good word in english)

    Thx for reply
     
  4. tankmayvin

    tankmayvin Senior Engineer

    Messages:
    2,864
    I haven't relied on the default sorting system for a very long time, so don't quote me on this. But I think blocks like the assembler and reactors cannot be drained in this manner.

    The assembler and the reactor ingot inventories do not have the CanSend flag set to true and thus will not respond to pull requests from any blocks regardless if they have a sorter or connector set to drain.

    The only way you can do what you'd like - and IMO this is an essential feature to prevent assemblers from clogging up or hoarding is to use an inventory management script and a PB.
     
  5. kunamaro

    kunamaro Trainee Engineer

    Messages:
    5
    That was i feared ...
    Have you a link with all component of Space Engineers Library given for the Programable block please ? Or maybe a script for dat exist ??
     
  6. tankmayvin

    tankmayvin Senior Engineer

    Messages:
    2,864
    I highly recommend you use TIM:

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

    It is very easy to use. Once you setup the program block on a loop, it is entirely managed by tags/strings in the names of the blocks you want to control. No actual programming required.

    To be clear on how you use it. You should subscribe to that steam workshop link. Then you build a program block on the grid you want to control. You click the edit code button.and load the code from the workshop script browser. To run the code you need to then build a timer that is setup to start itself - I use 1 second of timer. That timer must also run the program block where TIM is loaded.

    My assemblers are setup in TIM to hold 200 of each ingot, but only 1 Uranium ingot at a time.
     
  7. kunamaro

    kunamaro Trainee Engineer

    Messages:
    5
    Okay i will check that ! Thx for helping and explications ! I will try that tomorrow ! :)
    --- Automerge ---
    Annww dat work perfectly 0.0 Thanks alote ! that will help me for lot of things :3
    Should i close the post ? if it's possible i mean, or let it open for others or other questions ?
     
    • Friendly Friendly x 1
  8. Himloia

    Himloia Trainee Engineer

    Messages:
    2
    I have no idea
     
Thread Status:
This last post in this thread was made more than 31 days old.