29.08.2008, 22:45
Dleg, Im not sure but I think:
sizeX and sizeY are the sizes in meters of the whole water tiled map.
ofsX and ofsY are the position on the whole tiled map where starts the smaller "land" map which is given by map_T, map_c etc. To check: measure placing objects in a mission at the extremities of the whole map and also placing an object somewhere on the islands such that this place is easy to identify also on map_T for example (it can be a singular position on a road for example). Then if this place has coordinates (X,Y) in the mission (px, py) pixel coordinates on map_T we should have
X=X0+ofsX+px*200 and similar for Y
Here X0 is the x coordinate of the lower left corner of the whole tiled map as determined in the mission.
sizeX and sizeY are the sizes in meters of the whole water tiled map.
ofsX and ofsY are the position on the whole tiled map where starts the smaller "land" map which is given by map_T, map_c etc. To check: measure placing objects in a mission at the extremities of the whole map and also placing an object somewhere on the islands such that this place is easy to identify also on map_T for example (it can be a singular position on a road for example). Then if this place has coordinates (X,Y) in the mission (px, py) pixel coordinates on map_T we should have
X=X0+ofsX+px*200 and similar for Y
Here X0 is the x coordinate of the lower left corner of the whole tiled map as determined in the mission.