Combinator which can read entity
Moderator: ickputzdirwech
-
- Burner Inserter
- Posts: 5
- Joined: Sat Mar 20, 2021 5:49 pm
- Contact:
Combinator which can read entity
It would be awesome to have combinator which can read neigbour entity like a SINGLE train wagon or a car or a tank and output it on wire.
Re: Combinator which can read entity
mods have to implement this in a really performance intensive manner, but the base game could implement it as a part of the entity update.DaleStan wrote: ↑Sun Mar 21, 2021 12:37 am You're looking for https://mods.factorio.com/mods/Optera/I ... y%20Sensor
Re: Combinator which can read entity
Yes, polling trains (in manual mode) and cars really hurt performance. That's why IS has an option to only read automatic trains, which is a fair bit better than polling every n ticks.ptx0 wrote: ↑Sun Mar 21, 2021 1:47 ammods have to implement this in a really performance intensive manner, but the base game could implement it as a part of the entity update.DaleStan wrote: ↑Sun Mar 21, 2021 12:37 am You're looking for https://mods.factorio.com/mods/Optera/I ... y%20Sensor
Reading entire trains from train stops though is the way to go.
My Mods: mods.factorio.com
Re: Combinator which can read entity
or use a buffer box at each wagon and measure that - it'll indicate when one is empty and the others aren't
doesn't it poll every n ticks even for automatic trains?
Re: Combinator which can read entity
Technically yes, but it reads from a cached entity and doesn't have to run find_entities to see if the thing is still there.
My Mods: mods.factorio.com