Some questions about wires

Place to get help with not working mods / modding interface.
User avatar
tvardero
Burner Inserter
Burner Inserter
Posts: 15
Joined: Mon Oct 24, 2016 12:18 pm
Contact:

Some questions about wires

Post by tvardero »

1. Any idea how to make cables not saggy?

2. Any idea how make new type of wire? (f.e. blue)

3. How to make additional connection point on pole (Red, El, Green and f.e. blue) for new wire? I mean pole with 4 connection points (asymmetric pole, 8-way directed).

4. If I can't make cables not saggy, can I simply draw and store orange straight line in game?

5. Masked wires? (Wire/cable is under some entity sprite)

-----

General idea is make railway overhead poles with not saggy copper contact cable over rails. This contact cable is not main electric network cable, so this might be fourth on electric pole.

-----

Thanks in advance.
User avatar
tvardero
Burner Inserter
Burner Inserter
Posts: 15
Joined: Mon Oct 24, 2016 12:18 pm
Contact:

Re: Some questions about wires

Post by tvardero »

Just finded "__core__/graphics/copper-wire.png" and "core/prototypes/utility-sprites.lua".
Can I just draw straight line here (not in core/graphics, in mod/graphics) and be happy after? (viewtopic.php?f=11&t=31537 , viewtopic.php?t=49959)

I have read this and I see that here is no way to add new type of wire. Any solution?

UPD: that can solve all my problems: viewtopic.php?f=25&t=25701&p=162644&hil ... ne#p162644
Post Reply

Return to “Modding help”