Extended circut wire reach

This is the place to request new mods or give ideas about what could be done.
Pbenz2
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Jan 06, 2020 3:35 am
Contact:

Extended circut wire reach

Post by Pbenz2 »

I currently have big power poles modified to supply power to one chunk, and a wire reach of 32. I have finally gotten to the point where I need to automate/use circuits, BUT the circuit wire reach is apparently not the same as the regular wire reach. Is it possible to modify this to allow the circuit wire reach to be the same as the regular copper wire reach?
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Extended circut wire reach

Post by eradicator »

@Bilka:

circuit_wire_max_distance seems to be only in the example, but i can't find a proper entry for it anywhere?
https://wiki.factorio.com/Prototype/EntityWithHealth
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.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3730
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Extended circut wire reach

Post by DaveMcW »

https://wiki.factorio.com/Prototype/Ele ... e_distance

Your example is valid for type="container", but not all EntityWithHealth prototypes.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Extended circut wire reach

Post by eradicator »

DaveMcW wrote: Sun Jan 12, 2020 11:05 am https://wiki.factorio.com/Prototype/Ele ... e_distance

Your example is valid for type="container", but not all EntityWithHealth prototypes.
It's not my example. I was asking a question. The question was roughly "Is seperate wire reach implemented in some parent prototype or is it a per-prototype implementation?".

Also @OP states that his electric pole has different reaches for copper and circuit wire. Which should be impossible if maximum_wire_distance controls both distances for electric poles. (I don't have access to factorio currently >_>)
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.
Pbenz2
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Jan 06, 2020 3:35 am
Contact:

Re: Extended circut wire reach

Post by Pbenz2 »

Yeah so I am trying to connect my LTN stations to by big power poles. I can connect from power pole to power pole (32 block distance) but cant connect from the pole to the stations over a distance of maybe 10 blocks...
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Extended circut wire reach

Post by orzelek »

Pbenz2 wrote: Sun Jan 12, 2020 3:47 pm Yeah so I am trying to connect my LTN stations to by big power poles. I can connect from power pole to power pole (32 block distance) but cant connect from the pole to the stations over a distance of maybe 10 blocks...
Circuit wires are silly - you need to edit circuit_wire_max_distance property of train-stop entity. They check for distance on both sides.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Extended circut wire reach

Post by eradicator »

orzelek wrote: Mon Jan 13, 2020 7:37 am
Pbenz2 wrote: Sun Jan 12, 2020 3:47 pm Yeah so I am trying to connect my LTN stations to by big power poles. I can connect from power pole to power pole (32 block distance) but cant connect from the pole to the stations over a distance of maybe 10 blocks...
Circuit wires are silly - you need to edit circuit_wire_max_distance property of train-stop entity. They check for distance on both sides.
Duh. Obviously this is a weakest link situation. Dunno what's supposedly "silly" about a connection using the longest distance that *both* ends support. You can't connect a medium power pole to a large one on the other side of the chunk either, not sure why you'd expect to be able to do that.
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 “Ideas and Requests For Mods”