Manage cable and wire visibilities

Place to get help with not working mods / modding interface.
Post Reply
Hermios
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Sat Aug 13, 2016 2:57 pm
Contact:

Manage cable and wire visibilities

Post by Hermios »

Hi
There are actually two questions
1- How can I make that my wires and cables are not visible? (But still connect two entities)
2- How can I avoid that two electric poles are not automatically connected with cables - or to remove the cables after they have been built? I didn't find any method to get all connected neighbours thru copper cables (only for wires).

Many thanks

Niko

Hermios
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Sat Aug 13, 2016 2:57 pm
Contact:

Re: Manage cable and wire visibilities

Post by Hermios »

For those interested, I found the solution of the second question :
Use the table "entity.neighbours.copper", to get the list of all neighbours connected through the copper.
(Found with the mod "Almost wireless circuits")
Has someone a solution for the first one?
Thanks

Niko

User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Manage cable and wire visibilities

Post by aubergine18 »

It's not currently possible to have invisible wires, or add new types of wire, etc.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

Post Reply

Return to “Modding help”