Skip to content
Map editor for the Endless Sky universe.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
endless-sky-editor.iconset Added an icon for the editor. May 15, 2015
.gitignore Updated the Qt project to use a custom Info.plist on Mac OS X. May 27, 2015
AsteroidField.cpp Add missing #includes Aug 12, 2018
AsteroidField.h Modified the asteroid field display to cover the entire system view e… May 14, 2015
DataFile.cpp Add missing #includes Aug 12, 2018
DataFile.h Switched to QString everywhere. This avoids constant conversions to a… May 4, 2015
DataNode.cpp Cleaning up some bugs and formatting issues from the previous PR, plu… Jun 11, 2017
DataNode.h Made changes to get the map editor working on Mac OS X. May 14, 2015
DataWriter.cpp Add missing #includes Aug 12, 2018
DataWriter.h Switched to QString everywhere. This avoids constant conversions to a… May 4, 2015
DetailView.cpp Add missing #includes Aug 12, 2018
DetailView.h Added a function for randomizing commodity prices in a given region o… Jun 12, 2017
Galaxy.cpp Add missing #includes Aug 12, 2018
Galaxy.h Stability fixes and new menu options (#17) Feb 18, 2018
GalaxyView.cpp Add missing #includes Aug 12, 2018
GalaxyView.h Stability fixes and new menu options (#17) Feb 18, 2018
Info.plist Fixed drag-and-drop of files onto the app icon on Mac OS X. May 21, 2015
LICENSE Initial commit May 1, 2015
LandscapeLoader.cpp Added the ability to view and change landscape pictures (chosen from … May 8, 2015
LandscapeLoader.h Added the ability to view and change landscape pictures (chosen from … May 8, 2015
LandscapeView.cpp Cleaning up some bugs and formatting issues from the previous PR, plu… Jun 11, 2017
LandscapeView.h Added support for drag-and-drop of the map file into the editor windo… May 21, 2015
MainWindow.cpp Add missing #includes Aug 12, 2018
MainWindow.h Stability fixes and new menu options (#17) Feb 18, 2018
Map.cpp Add missing #includes Aug 12, 2018
Map.h Stability fixes and new menu options (#17) Feb 18, 2018
Planet.cpp Add missing #includes Aug 12, 2018
Planet.h Stability fixes and new menu options (#17) Feb 18, 2018
PlanetView.cpp Stability fixes and new menu options (#17) Feb 18, 2018
PlanetView.h Cleaning up some bugs and formatting issues from the previous PR, plu… Jun 11, 2017
README.md Updated the readme. Jun 12, 2017
SpriteSet.cpp Add missing #includes Aug 12, 2018
SpriteSet.h Added the ability to view and change landscape pictures (chosen from … May 8, 2015
StellarObject.cpp Add missing #includes Aug 12, 2018
StellarObject.h Stability fixes and new menu options (#17) Feb 18, 2018
System.cpp Add missing #includes Aug 12, 2018
System.h Stability fixes and new menu options (#17) Feb 18, 2018
SystemView.cpp Add missing #includes Aug 12, 2018
SystemView.h Stability fixes and new menu options (#17) Feb 18, 2018
endless-sky-editor.6 Decided to call the first editor release "0.7.10" rather than "0.7.11". May 15, 2015
endless-sky-editor.desktop Added an icon for the editor. May 15, 2015
endless-sky-editor.icns Added icons for Mac OS X. May 19, 2015
endless-sky-editor.png Added an icon for the editor. May 15, 2015
endless-sky-editor.pro Updated the Qt project to use a custom Info.plist on Mac OS X. May 27, 2015
main.cpp Fixed handling of drag-and-drop onto the .exe itself, in Windows. May 27, 2015
pi.h Fixed some file permissions that got inadvertently changed. May 21, 2015

README.md

endless-sky-editor

Map editor for the Endless Sky universe.

To compile the editor, you will need to install Qt Creator. Binary releases will happen occasionally, but are not as high a priority right now as the development of the game itself.

Editing a map file

To edit a map file, use File -> Open... and browse to the file you want to edit. If it is in a standard game data location (i.e. an “images” folder exists one level up) the editor will also load the landscape images and sprites for planets.

There are keyboard shortcuts (shown in the menus) for automatically generating systems, asteroids, commodity prices, etc. These shortcuts only work if you do not currently have a text entry box selected.

The Galaxy tab

In the Galaxy tab, left click on a system to select it. You can then drag it around to reposition it, or double-click to switch to the System tab. To pan the view, click and drag on the background (i.e. the space in between systems). The large circle around the selected system shows the range of a jump drive.

To add a new star system, right click on the background. When a system is selected, you can toggle hyperlinks to that system by right clicking on other systems.

To randomize commodity prices, click on the name of one of the commodities in the list (not the price, or you’ll go into text editing mode) and then press ‘C’. The entire region of space connected to the currently selected system will have new commodity prices assigned. Keep randomizing the prices until you end up with something that makes sense, e.g. food and clothing cheaper in “frontier” regions and medical goods and equipment cheaper on more developed worlds.

You can delete the currently selected system by pressing the delete key.

The “galaxy” objects in the map file define background images, including the big image of the galaxy itself and the text labels for different regions of space. Right now, you need to add these to the map file manually. The existing labels use 24-point Zapfino font, with the fill color set to #AABBCCDD.

The System tab

In the System tab, you can edit the stellar objects in a single star system, including their orbital positions and paths. Usually it’s sufficient to just generate random star systems (using the keyboard shortcuts in the “System” menu) until you get one that matches what you want the system to contain. You can also click and drag objects to change their orbits, and there are keyboard shortcuts for randomly changing sprites or adding objects to the system.

For some special objects (like wormholes and unusual stars) you will need to edit the map file manually to add them in. For example, to create a wormhole you might just create a gas giant as a placeholder, then manually change its sprite. You will also need to edit the map file manually if you want to specify a star system’s background haze or ambient music.

In the sidebar on the left, you can view and edit a system’s commodity prices, fleets, and minables. Fleet names need to match something defined in the game data files. The “period” of a fleet is the average number of frames in between times that that fleet appears. (A frame is a 60th of a second, so a fleet with a period of 3600 appears once a minute.) Minables can be randomized by pressing ‘H’; you can also edit them manually.

In the game data, a “planet” specifically means a stellar object that you can land on. To define planet data for an object, double-click it in the System view.

The Planet tab

In the Planet tab, you can select a landscape photo for the planet by clicking an image in the gallery. If you hover your mouse over the current image, it will tell you how many planets that image is used for. (This is to help make sure certain photos don’t end up overused.)

Every planet must have a description and a landscape photo. The one exception is wormholes, since the planet dialog does not come up when you land on them. A wormhole should be defined in the map file only if its path should be shown on the map, and its spaceport text should be filled with a placeholder if NPC ships should land on it.

As with the fleet list, the shipyard and outfitter lists need to use names of shipyards and outfitters that are defined elsewhere in the data files.

The “bribe” amount is given as a fraction of your fleet’s net worth. Security is a value between 0 and 1 indicating the chance of your cargo and outfits being checked for illegal items. Required reputation controls whether you can land on a planet; for example, some high-security worlds may not let you land even if you’re friendly, and some low-security pirate worlds may let anyone land even if they’re hostile to you.

For tribute, the threshold is the raw combat rating you must have in order to demand tribute from a planet. The tribute amount is the daily payoff in credits. Currently each planet can only define a single defense fleet type.

You can’t perform that action at this time.