endless-sky-editor
endless-sky-editor copied to clipboard
Question: Why are my map editor lines red?, How do you link wormholes?
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?
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.
ok thanks for explaining!