Page 1 of 1

Region Editing

Posted: Fri Mar 26, 2010 1:36 am
by Ordos
I've been region editing but have found that if, for instance, I establish a region with these coordinates:
1793 1021 1824 1064

They end up covering a region more like:
1795 1052 1855 1087

I've even discovered that the regions defining where towns like Trinsic or Cove start and end are skewed, but each time by an unrelated amount.

Is there a problem with my map or tiledata files?

or is region editing always this imprecise?

is there a region manger program which might help?

Thanks,

Ordos

Re: Region Editing

Posted: Fri Mar 26, 2010 3:38 am
by Turley
Depends on your core version
<pol98 regions are internally stored as a 32x32 grid
>=pol98 4x4 grid

Re: Region Editing

Posted: Fri Mar 26, 2010 9:33 am
by Ordos
Oh wow, that's kinda strange.

I'm using pol095, so I suppose when I define regions, the end result will atleast be no more than 32 tiles away from where I've actually defined it. Is that correct?

Thanks for the info!

Re: Region Editing

Posted: Fri Mar 26, 2010 12:50 pm
by Tomi
the coordinates you define have to be dividable by 32

Re: Region Editing

Posted: Fri Mar 26, 2010 2:46 pm
by Turley
or to be 100% correct:
old core: coords get bitshifted by 5
new core: bitshifted by 2
:)

Re: Region Editing

Posted: Sat Mar 27, 2010 1:06 am
by Ordos
Tomi wrote:the coordinates you define have to be dividable by 32
Omg, lol :) Ok thanks! I'll give it a test.