Page 1 of 1

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

Posted: Sat Jan 01, 2022 4:57 pm
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

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

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

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

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

Posted: Sun Jan 02, 2022 3:35 am
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

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

Posted: Sun Jan 02, 2022 4:22 am
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.

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

Posted: Sun Jan 02, 2022 5:24 am
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