Is there any way to make the maximum connection distance of poles exceed 64

Place to get help with not working mods / modding interface.
Post Reply
sdgmlj
Fast Inserter
Fast Inserter
Posts: 127
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Is there any way to make the maximum connection distance of poles exceed 64

Post by sdgmlj »

It seems that the maximum number is limited to 64. Is there any way to exceed this number?
I just don't like inserting a lot of poles

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Is there any way to make the maximum connection distance of poles exceed 64

Post by DaveMcW »

Not in data.lua

In control.lua you can connect 2 poles close together, then teleport one as far as you want.

sdgmlj
Fast Inserter
Fast Inserter
Posts: 127
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Re: Is there any way to make the maximum connection distance of poles exceed 64

Post by sdgmlj »

DaveMcW wrote:
Sat Jan 01, 2022 5:40 pm
Not in data.lua

In control.lua you can connect 2 poles close together, then teleport one as far as you want.
I couldn't understand.

I only know that "maximum_wire_distance = 64" is the maximum number. I want a larger number. Can you tell me the specific operation? Thank you

User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: Is there any way to make the maximum connection distance of poles exceed 64

Post by ptx0 »

sdgmlj wrote:
Sun Jan 02, 2022 3:35 am
DaveMcW wrote:
Sat Jan 01, 2022 5:40 pm
Not in data.lua

In control.lua you can connect 2 poles close together, then teleport one as far as you want.
I couldn't understand.

I only know that "maximum_wire_distance = 64" is the maximum number. I want a larger number. Can you tell me the specific operation? Thank you
it's a game engine limit. you cannot do it with prototypes. you have to use control scripting to detect a placed pole and move it.

sdgmlj
Fast Inserter
Fast Inserter
Posts: 127
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Re: Is there any way to make the maximum connection distance of poles exceed 64

Post by sdgmlj »

ptx0 wrote:
Sun Jan 02, 2022 4:22 am
sdgmlj wrote:
Sun Jan 02, 2022 3:35 am
DaveMcW wrote:
Sat Jan 01, 2022 5:40 pm
Not in data.lua

In control.lua you can connect 2 poles close together, then teleport one as far as you want.
I couldn't understand.

I only know that "maximum_wire_distance = 64" is the maximum number. I want a larger number. Can you tell me the specific operation? Thank you
it's a game engine limit. you cannot do it with prototypes. you have to use control scripting to detect a placed pole and move it.
Thank you, but I can't write a script. It seems that I can only ask someone else to write one

Post Reply

Return to “Modding help”