endless-sky-editor icon indicating copy to clipboard operation
endless-sky-editor copied to clipboard

Question: Why are my map editor lines red?, How do you link wormholes?

Open MrMeepNL opened this issue 5 years ago • 2 comments

I'm pretty noob, but I am trying to do some custom map-making. When I create hyperlinks between systems, they display red. Does that indicate anything?

I know you have to manually create wormholes, but how do you link them code-wise?

MrMeepNL avatar Oct 22 '19 17:10 MrMeepNL

The link color reflects differences in either the commodity or the government, if one is selected, between the two systems. Otherwise it is drawn red.

https://github.com/endless-sky/endless-sky-editor/blob/4f13cbb46b4ad78618d0876838d6cef789837273/GalaxyView.cpp#L574-L585

As for wormholes, you are better off not attempting them at all with the current map editor. To manually create them, refer to the same planet name from multiple systems when defining a system's objects.

tehhowch avatar Oct 22 '19 23:10 tehhowch

ok thanks for explaining!

MrMeepNL avatar Oct 23 '19 07:10 MrMeepNL