What do these loader prototype properties mean?

Place to get help with not working mods / modding interface.
Post Reply
User avatar
GreenLightning
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Aug 24, 2018 10:44 am
Contact:

What do these loader prototype properties mean?

Post by GreenLightning »

I noticed these optional properties on the loader prototype "container_distance", "belt_distance", "belt_length" and was wondering what exactly the purpose of each of them is, as they are not documented in the wiki.

Specifically, I am trying to create loaders for faster belts, but the loaders do not output a fully compressed belt. It seems to work for speed=0.29375 (141 items/sec), but fails for speed=0.59375 (285 items/sec). The speed of the loaders is set to the speed of the transport belts. Also, the chest -> unloader -> loader -> chest throughput seems to be limited to around 118 items/sec for both kinds of loaders. Any help with that would also be greatly appreciated.

Thank you in advance!
Last edited by GreenLightning on Fri Oct 04, 2019 10:37 pm, edited 1 time in total.

Bilka
Factorio Staff
Factorio Staff
Posts: 3127
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: What do these loader prototype properties mean?

Post by Bilka »

GreenLightning wrote:
Fri Sep 27, 2019 11:58 pm
I noticed these optional properties on the loader prototype "container_distance", "belt_distance", "belt_length" and was wondering what exactly the purpose of each of them is, as they are not documented in the wiki.
I documented them now, they're just used to determine how big your loader is.

I recall a mod a long time ago that advertised a belt speed fix for loaders, perhaps loaders simply need to have their speed set higher than that of the associated belt tier.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2915
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: What do these loader prototype properties mean?

Post by Optera »

Bilka wrote:
Sat Sep 28, 2019 6:20 am
I recall a mod a long time ago that advertised a belt speed fix for loaders, perhaps loaders simply need to have their speed set higher than that of the associated belt tier.
That probably was one of my now deprecated mods.

Loader Redux syncs loader speed to belt speed.

Code: Select all

data.raw["loader"]["loader"].speed = data.raw["transport-belt"]["transport-belt"].speed
I have yet to hear of belts not being fully compressed.

However there is a limit to how fast loaders can operate, but i can't recall he actual number.

User avatar
GreenLightning
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Aug 24, 2018 10:44 am
Contact:

Re: What do these loader prototype properties mean?

Post by GreenLightning »

Hi all and thanks for your input.

I am actually building on top of Loader Redux and using the same line to sync the belt speed.

I made a test to measure the loader throughput exactly. The setup is chest -> unloader -> loader -> chest with no belts in between and some circuit combinators to measure the number of ticks it takes to transfer a given amount of items. I tested several super fast loaders and the result is that it always takes 1000 ticks to transfer 2000 items. So the limit seems to be 1 item / lane / tick or 120 items/sec, which is sadly not fast enough for the belts I am targeting, namely the Terra Transport Belts from Darkstar Utilities, which have the above mentioned speeds of 141 and 285 items/sec (which is a really a lot faster than the base game speeds and still a lot faster than Bob's Logistics' belts).

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: What do these loader prototype properties mean?

Post by Deadlock989 »

In my experience, any speed above 60 item/s can cause unwanted issues, whether belt or loader. Items are moving at 7.5 tiles per second at that speed.

120 item/s would be 15 tiles a second, that's an entire quarter of a tile per tick. Not surprised that the engine would have difficulty with that. Belts would be skipping animation frames past that speed as well.
Image

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: What do these loader prototype properties mean?

Post by eradicator »

GreenLightning wrote:
Fri Oct 04, 2019 10:56 pm
So the limit seems to be 1 item / lane / tick or 120 items/sec,
I heared that recent engine changes lifted some of the limitations that inserters were suffering. Have you tried miniloader?
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Modding help”