endless-sky / endless-sky-editor

Map editor for the Endless Sky universe.
GNU General Public License v3.0
68 stars 44 forks source link

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

Open MrMeepNL opened 4 years ago

MrMeepNL commented 4 years ago

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?

tehhowch commented 4 years ago

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.

MrMeepNL commented 4 years ago

ok thanks for explaining!