Normally for entities/tiles on a surface tiles are at integer coordinates, and entities are positioned by their centre with the tile top-left being an integer. e.g. a tile may be at 10,12 and an inserter on it would be 10.5,12.5.
But in blueprints, most of the time it seems to me the entities are shifted by -0.5 compared to what I expect, except in some cases (I think if track is present).
Does anyone have any idea exactly what is going on here? Is it always shifted for some reason if a curved-rail or straight-rail is not present?
e.g. in these the belts are both in the same place relative to the hazard tiles. But when I create a blueprint with and without track, and look at the entities in the blueprint, they are positioned differently.
Without track:
Code: Select all
0eNqNkd1qwzAMhV8l07UNW2j346foRWEXYwwnEYmYYwdbKc1C3n1y2sFgGfRSsvSdo+MZKjfiEMkzmBmoDj6BeZshUeutyz2eBgQDxNiDAm/7XHG0Pg0hsq7QMSwKyDd4BvOwvCtAz8SEF9JaTB9+7CuMMvAfQ8EQkqwFn1UFpWV0ykQFDUWsL0/lov4wy5uZ99tI8czkroa3bWgR/lHp7JeNjZaw6oiMOlLb5RDmbbkbVsXAGrD59R8KnJUrpHd3xMSFLg5XOvlWqlfiLoxcHKOtP2X6hDGt0o+7XbkvX/bPT+WyfAOl66CW
Entities:
{entity_number=1,name="transport-belt",position={x=-1,y=1},direction=2}
{entity_number=2,name="transport-belt",position={x= 0,y=1},direction=2}
Tiles:
{position={x=-1,y=-2},name="hazard-concrete-right"}
{position={x= 0,y=-2},name="hazard-concrete-right"}
Code: Select all
0eNqNkt1ugzAMhV+F+TqpCiv74Sl2UWkX0zQFsMAaBJS40xji3eek3VR1P+1NJCc53zmxM0PZ7XB0ZBmKGagarIfiaQZPjTVd2ONpRCiAGHtQYE0fKmeog0UB2RrfoUgXdVbCzlg/Do51iR0fibPlWQFaJibcm8dierG7vkQn9G+GFwg1Levor2AcvKgGG0yFtFYwySromhxW+5MsZDshZn+l+oHU61UeqekqP8+9vpj7D1a6wdQdWnEaJ40qLeZfTq35MK7WMrnKIaN2oUEQwv3anQukEiCOrjj6HAo6Iy+Rvastek508nCgk22keiRuk60z1atcfUPno+/NZpPl2X1+d5styyf088yQ
Entities:
{entity_number=1,name="straight-rail", position={x= 0 ,y=0 },direction=2}
{entity_number=2,name="transport-belt",position={x=-0.5,y=1.5},direction=2}
{entity_number=3,name="transport-belt",position={x= 0.5,y=1.5},direction=2}
Tiles:
{position={x=-1,y=-2},name="hazard-concrete-right"}
{position={x= 0,y=-2},name="hazard-concrete-right"}
]