Thanks, but if this isn't a bug and working as intended it will complicate things I believe. I wanted to write some helper classes , where you would be able to set the intensity at a certain X,Y coordinate. Something in the line of

public void setIntensityAt(TypeLayer layer, uint32 x, uint32 y, byte value1, byte value2, byte value3, byte value4)

it would look for the Intensity object in the array for x and y and then set the values. Except for finding the right index for the x, y coord , this is fairly easy. But if I can't count on a 100*100 terrain being x:50 and y:50 ... well I'm a bit screwed ...

I'll have to sleep on this, see if I can figure out a math formula or algorithm to find the right tile and set the layer intensity

edit:

I was curious and created a 256*256 area and counted the tiles and the result was 128*128 so the size / 2 equation was kept ? Tomorrow I'll try a 300 * 300 and see what that gives

Last edited by Celludriel; 26/07/14 10:14 PM.