Page 1 of 1

Some questions about wires

Posted: Sun Oct 22, 2017 4:19 pm
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.

Re: Some questions about wires

Posted: Sun Oct 22, 2017 7:52 pm
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