{ "$comment": "Single source of truth for the whole build. See docs/adding-a-map.md.", "tileSize": 256, "maxZoom": 9, "attribution": "Maps by re3mr.com · 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.", "$comment_trim": "Optional trim.points is a playable-area polygon in normalized map coordinates from 0 to 1. outsideTransparency controls the unplayable area's transparency without deleting source pixels.", "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 }, "trim": { "points": [ [ 0.046459, 0.270467 ], [ 0.028356, 0.498749 ], [ 0.046567, 0.504974 ], [ 0.03652, 0.569709 ], [ 0.027728, 0.674281 ], [ 0.018936, 0.75022 ], [ 0.02082, 0.798771 ], [ 0.044683, 0.819935 ], [ 0.085502, 0.817445 ], [ 0.113133, 0.846078 ], [ 0.133857, 0.897119 ], [ 0.156464, 0.930732 ], [ 0.193515, 0.958119 ], [ 0.258197, 0.987997 ], [ 0.296504, 0.94567 ], [ 0.342974, 0.88467 ], [ 0.375001, 0.883425 ], [ 0.4064, 0.923262 ], [ 0.449731, 0.95065 ], [ 0.49683, 0.974303 ], [ 0.534025, 0.957967 ], [ 0.56214, 0.917038 ], [ 0.587755, 0.867298 ], [ 0.609238, 0.826159 ], [ 0.639265, 0.841769 ], [ 0.668572, 0.837368 ], [ 0.694327, 0.830326 ], [ 0.696992, 0.802157 ], [ 0.7001, 0.696523 ], [ 0.768484, 0.693002 ], [ 0.812889, 0.660431 ], [ 0.846636, 0.614657 ], [ 0.879052, 0.579445 ], [ 0.920349, 0.538072 ], [ 0.967418, 0.487016 ], [ 0.980295, 0.441241 ], [ 0.98296, 0.287192 ], [ 0.985399, 0.204951 ], [ 0.976607, 0.168849 ], [ 0.961536, 0.147685 ], [ 0.849127, 0.141461 ], [ 0.81082, 0.172584 ], [ 0.773141, 0.193747 ], [ 0.748022, 0.211176 ], [ 0.751162, 0.272176 ], [ 0.723531, 0.29085 ], [ 0.693388, 0.295829 ], [ 0.663873, 0.29334 ], [ 0.641265, 0.310768 ], [ 0.623054, 0.302054 ], [ 0.622426, 0.253503 ], [ 0.559628, 0.267196 ], [ 0.528857, 0.278401 ], [ 0.512529, 0.223625 ], [ 0.505621, 0.1564 ], [ 0.525717, 0.066767 ], [ 0.485526, 0.02693 ], [ 0.412356, 0.196523 ], [ 0.316885, 0.233495 ], [ 0.323102, 0.333847 ] ], "outsideTransparency": 1.0 } }, { "id": "customs-dorms", "name": "Customs — Dorms", "parent": "customs", "psd": "sources/customs/customs-dorms.psd", "baseLayers": [ "LOCATION" ], "crop": null, "minZoom": 0, "place": { "cx": 1090.96, "cy": 1043.24, "w": 70.0, "h": 79.81 }, "trim": { "points": [ [ 0.016534, 0.056157 ], [ 0.016534, 0.530272 ], [ 0.11564, 0.567148 ], [ 0.147173, 0.983316 ], [ 0.992575, 0.993852 ], [ 0.985067, 0.046938 ] ], "outsideTransparency": 1.0 } }, { "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": 826.6, "cy": 765.64, "w": 450.0, "h": 450.0 } }, { "id": "interchange", "name": "Interchange", "psd": "sources/interchange/interchange.psd", "baseLayers": [ "3DRENDER" ], "crop": null, "minZoom": 0, "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 }, "trim": { "points": [ [ 0.138459, 0.015537 ], [ 0.102744, 0.060734 ], [ 0.044971, 0.324388 ], [ 0.002954, 0.506121 ], [ 0.017135, 0.55791 ], [ 0.060727, 0.572976 ], [ 0.247177, 0.572034 ], [ 0.288143, 0.65113 ], [ 0.281316, 0.734934 ], [ 0.308101, 0.80838 ], [ 0.369551, 0.839454 ], [ 0.429425, 0.841337 ], [ 0.474068, 0.837571 ], [ 0.960412, 0.817797 ], [ 0.985097, 0.600282 ], [ 0.981946, 0.362994 ], [ 0.906841, 0.050377 ], [ 0.793395, 0.012712 ] ], "outsideTransparency": 1.0 } }, { "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 }, "trim": { "points": [ [ 0.17138, 0.204358 ], [ 0.137772, 0.238208 ], [ 0.102872, 0.334414 ], [ 0.106749, 0.443981 ], [ 0.137126, 0.509009 ], [ 0.173965, 0.534842 ], [ 0.17849, 0.553549 ], [ 0.230194, 0.564238 ], [ 0.228255, 0.579382 ], [ 0.212098, 0.607887 ], [ 0.22567, 0.659553 ], [ 0.268326, 0.653317 ], [ 0.282545, 0.58918 ], [ 0.277375, 0.561566 ], [ 0.295471, 0.563347 ], [ 0.338774, 0.581163 ], [ 0.362687, 0.593634 ], [ 0.40082, 0.620358 ], [ 0.445415, 0.636392 ], [ 0.479023, 0.651536 ], [ 0.506814, 0.648863 ], [ 0.528789, 0.655099 ], [ 0.557226, 0.705874 ], [ 0.591481, 0.726362 ], [ 0.632844, 0.742396 ], [ 0.659989, 0.717454 ], [ 0.672269, 0.684495 ], [ 0.739485, 0.687167 ], [ 0.817042, 0.688949 ], [ 0.840309, 0.775356 ], [ 0.905586, 0.76912 ], [ 0.954059, 0.569583 ], [ 0.936609, 0.451998 ], [ 0.910757, 0.287202 ], [ 0.782141, 0.294328 ], [ 0.745302, 0.012838 ], [ 0.58114, 0.019073 ], [ 0.446061, 0.024418 ], [ 0.296118, 0.045797 ], [ 0.206927, 0.076975 ] ], "outsideTransparency": 1.0 } }, { "id": "shoreline-resort", "name": "Shoreline — Resort", "parent": "shoreline", "psd": "sources/shoreline-resort/shoreline-resort.psd", "baseLayers": [ "BGCOLOR PATTERN", "BASEMAP+2DLAYERS" ], "crop": null, "minZoom": 0, "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 }, "trim": { "points": [ [ 0.550609, 0.029787 ], [ 0.562865, 0.058292 ], [ 0.514782, 0.064999 ], [ 0.534581, 0.108594 ], [ 0.511954, 0.219257 ], [ 0.505354, 0.319861 ], [ 0.452557, 0.368486 ], [ 0.433701, 0.456514 ], [ 0.520439, 0.474958 ], [ 0.512896, 0.682872 ], [ 0.395988, 0.713892 ], [ 0.291336, 0.80695 ], [ 0.295108, 0.883241 ], [ 0.311135, 0.962885 ], [ 0.399759, 0.992228 ], [ 0.573236, 0.99642 ], [ 0.834394, 0.992228 ], [ 0.862679, 0.873181 ], [ 0.865507, 0.827909 ], [ 0.855136, 0.766708 ], [ 0.784425, 0.75581 ], [ 0.764627, 0.682034 ], [ 0.774997, 0.595682 ], [ 0.795739, 0.529452 ], [ 0.837223, 0.516038 ], [ 0.910762, 0.517715 ], [ 0.944703, 0.47412 ], [ 0.957902, 0.422141 ], [ 0.951303, 0.373516 ], [ 0.942817, 0.334952 ], [ 0.95036, 0.281296 ], [ 0.942817, 0.225964 ], [ 0.934332, 0.177339 ], [ 0.893791, 0.160572 ], [ 0.884363, 0.138775 ], [ 0.906991, 0.125361 ], [ 0.904162, 0.091826 ], [ 0.873992, 0.068352 ], [ 0.840994, 0.076736 ], [ 0.833452, 0.111109 ], [ 0.822138, 0.131229 ], [ 0.776883, 0.130391 ], [ 0.747656, 0.125361 ], [ 0.749542, 0.04404 ], [ 0.593978, 0.045716 ], [ 0.58455, 0.016374 ] ], "outsideTransparency": 1.0 } }, { "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 } } ] }