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

 {
	"starSystemLocations":{
		"askonia":[-4400,-4500],
		"corvus":[400,-9400],
		"galatia":[1550,-12450],
		"aztlan":[5900,-7300],
		"samarra":[4600,-11400],
		"valhalla":[700,-3500],
		"arcadia":[-2600,-12500],
		"magec":[-7150,-10800],
		"eos":[-12700,-11400],
		"duzahk":[-2500,-8250],
		"penelope":[-9500,-15500],
		"hybrasil":[-1000,1400],
		"yma":[3300,-500],
		"tia":[6700,-2500],
		"algebbar":[-9200,-7900],
		"canaan":[-17200,-7500], 
		"isirah":[-15200,-1600],
		"kumarikandam":[-12000,-4600],
		"thule":[-10000,-1400],
		"tyle":[-20500,-3000],
		"westernesse":[-14200,1600],
		"zagan":[-3900,3200],
		"mayasura":[-6000,400],
		"naraka":[11000,-7500],
	}
}

Elements

starSystemLocations

Array of arrays of star system name and absolute x,y coordinates (from sector center of 0,0)
Icon cross.png
At least two versions out of date. Last verified for version 0.8.1a. Please refer to Version History and update this page.

---

Return to Modding