Files
TarkovMaps/maps.json
T

165 lines
4.0 KiB
JSON

{
"$comment": "Single source of truth for the whole build. See docs/adding-a-map.md.",
"tileSize": 256,
"maxZoom": 9,
"attribution": "Maps by <a href=\"https://re3mr.com\" target=\"_blank\" rel=\"noopener\">re3mr.com</a> &middot; CC BY-NC-SA 4.0",
"$comment_world": "The overall map is the base everything else sits on. It is rotated by `rotate` degrees (counter-clockwise) to put north at the top; 31 deg was measured from the Customs zone outline, whose detail map is north-up and 2.6:1 east-west. `overallScale` is world pixels per overall-map pixel, set so Customs lands at its native 7832 px.",
"world": {
"image": "sources/overall/overall.jpeg",
"rotate": 45.0,
"overallScale": 64
},
"$comment_place": "`place` is in ROTATED overall-map pixels (the north-up image, which is what tools/place_preview.py draws a grid over): cx/cy = centre, w = width, optional h = explicit height for independent vertical/horizontal stretch. Positions are deliberately approximate -- the game's maps do not tile exactly onto the satellite view.",
"maps": [
{
"id": "customs",
"name": "Customs",
"psd": "sources/customs/customs.psd",
"baseLayers": [
"LOCATION"
],
"excludeLayers": [
"Map Borders"
],
"crop": [
0,
860,
7832,
3875
],
"pxPerMeter": 7.39,
"place": {
"cx": 998.79,
"cy": 979.34,
"w": 281.5,
"h": 142.0
}
},
{
"id": "customs-dorms",
"name": "Customs — Dorms",
"psd": "sources/customs/customs-dorms.psd",
"baseLayers": [
"LOCATION"
],
"crop": null,
"minZoom": 6,
"place": {
"cx": 1047.0,
"cy": 990.0,
"w": 70.0,
"h": 79.81
}
},
{
"id": "woods",
"name": "Woods",
"psd": "sources/woods/woods.psd",
"baseLayers": [
"re3mr.com/Map&Art/Map&OverlayArt/RawMapLayer",
"re3mr.com/Map&Art/Map&OverlayArt/WaterDetail"
],
"crop": null,
"place": {
"cx": 833.68,
"cy": 766.15,
"w": 450.0,
"h": 450.0
}
},
{
"id": "interchange",
"name": "Interchange",
"psd": "sources/interchange/interchange.psd",
"baseLayers": [
"3DRENDER"
],
"crop": null,
"minZoom": 6,
"place": {
"cx": 1202.97,
"cy": 849.77,
"w": 218.5,
"h": 122.9
}
},
{
"id": "reserve",
"name": "Reserve",
"psd": "sources/reserve/reserve.psd",
"baseLayers": [
"Day copy"
],
"crop": null,
"place": {
"cx": 848.04,
"cy": 1113.56,
"w": 238.0,
"h": 132.75
}
},
{
"id": "shoreline",
"name": "Shoreline",
"psd": "sources/shoreline/shoreline.psd",
"baseLayers": [
"Baselayer"
],
"crop": null,
"place": {
"cx": 852.5,
"cy": 1340.5,
"w": 460.0,
"h": 333.75
}
},
{
"id": "shoreline-resort",
"name": "Shoreline — Resort",
"psd": "sources/shoreline-resort/shoreline-resort.psd",
"baseLayers": [
"BGCOLOR PATTERN",
"BASEMAP+2DLAYERS"
],
"crop": null,
"minZoom": 6,
"place": {
"cx": 1045.65,
"cy": 1220.14,
"w": 130.0,
"h": 73.12
}
},
{
"id": "lighthouse",
"name": "Lighthouse",
"psd": "sources/lighthouse/lighthouse.psd",
"baseLayers": [
"Day"
],
"crop": null,
"place": {
"cx": 546.0,
"cy": 1198.5,
"w": 375.0,
"h": 421.72
}
},
{
"id": "streets",
"name": "Streets of Tarkov",
"psd": "sources/streets/streets.psd",
"baseLayers": [
"Map - 3D map portion at the bottom [Update this when new basemap available]"
],
"crop": null,
"place": {
"cx": 1021.9,
"cy": 433.27,
"w": 220.0,
"h": 140.02
}
}
]
}