Starmap.json

From Starsector Wiki
Jump to navigation Jump to search

Description

The coordinates are in x,y format using absolute references from the center of the map, which is 0,0 starmap.json is used to define the coordinates of objects on the campaign layer starmap. It is helpful to refer to the Map of the known Modiverse thread to ensure minimal cross mod comparability issues, such as two mods using the same location

Warning

The map size is variable and it is possible to specify an absolute coordinate location that is nominally "outside" of the normal sector. This will cause the entity to spawn at that location but may be undesirable, such as automated procgen not spawning anything in between the nominal edge of the sector and the now far flung entity

Example

Al Gebbar:        [ -9200.0,  -7900.0]
Arcadia:          [ -2500.0, -11900.0]
Askonia:          [ -4400.0,  -4500.0]
Aztlan:           [  5900.0,  -7300.0]
Canaan:           [-15500.0,  -8600.0]
Corvus:           [   400.0,  -9400.0]
Duzahk:           [ -2300.0,  -7950.0]
Eos Exodus:       [-12700.0, -11400.0]
Galatia:          [  2850.0, -11550.0]
Hybrasil:         [  -200.0,    400.0]
Isirah:           [-14900.0,  -4400.0]
Kumari Kandam:    [-11800.0,  -4600.0]
Limbo:            [-79700.0, -49900.0]
Magec:            [ -7200.0, -10700.0]
Mayasura:         [ -6000.0,   -200.0]
Naraka:           [ 11000.0,  -7500.0]
Penelope's Star:  [ -9500.0, -14500.0]
Samarra:          [  4800.0, -14250.0]
Thule:            [-10600.0,  -1200.0]
Tia:              [  6300.0,  -1600.0]
Tyle:             [-19100.0,  -2700.0]
Unknown Location: [  4000.0,   2500.0]
Valhalla:         [   400.0,  -3300.0]
Westernesse:      [-13900.0,   1600.0]
Yma:              [  3300.0,   -500.0]
Zagan:            [ -3900.0,   3200.0]

Elements

starSystemLocations

Array of arrays of star system name and absolute x,y coordinates (from sector center of 0,0)

Helpful Console Commands

Existing systems as landmarks can be located with the Console Commands mod and commands such as;
runcode $print(Global.getSector().getStarSystem("Corvus").getLocation())

Icon check.png
Up to date for latest version, 0.97a.

---

Return to Modding