Moderator: Cartographers
degaston wrote:I wasn't happy with the map making tools out there, so I was working on my own. When I tested displaying troops at the territory coordinates using a CC xml file, all of the numbers appeared far away from where they should have been. Looking at the xml files revealed some strange numbers. For example, in Oasis, the Marlo territory coordinates contain <smally>489</smally> and <largey>646</largey>, but the small and large maps are only 476 and 635 pixels high, respectively. After some experimentation, it appears that the coordinates for every territory are offset from where they should be by +4x and +22y. I can compensate for this, now that I know it's there, but does anyone know why it's like this?
Gilligan wrote:degaston wrote:I wasn't happy with the map making tools out there, so I was working on my own. When I tested displaying troops at the territory coordinates using a CC xml file, all of the numbers appeared far away from where they should have been. Looking at the xml files revealed some strange numbers. For example, in Oasis, the Marlo territory coordinates contain <smally>489</smally> and <largey>646</largey>, but the small and large maps are only 476 and 635 pixels high, respectively. After some experimentation, it appears that the coordinates for every territory are offset from where they should be by +4x and +22y. I can compensate for this, now that I know it's there, but does anyone know why it's like this?
There's a good program I use for coordinates...Let me see if I can find a link. Not sure why that is happening to you, though.
<territory>
<name>Miami</name>
<borders>
<border>West Palm Beach</border>
<border>Tampa</border>
<border>Key West</border>
</borders>
<coordinates>
<smallx>747</smallx>
<smally>743</smally>
<largex>898</largex>
<largey>887</largey>
</coordinates>
<neutral>2</neutral>
</territory>
<territory>
<name>Key West</name>
<borders>
<border>Miami</border>
</borders>
<coordinates>
<smallx>717</smallx>
<smally>758</smally>
<largex>859</largex>
<largey>905</largey>
</coordinates>
<neutral>2</neutral>
</territory>
Users browsing this forum: No registered users