46
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r1
« on: June 24, 2020, 03:30:43 pm »
Here’s an overview of the way the DF map is organised, as copied from my notes. Note that these names aren't official and others might refer to them differently, but I believe I had based them on various references in the structures at the time. ("region tile" might be particularly confusing as it isn't directly related to actual regions).
At the lowest level we have local tiles; 1 local tile is the space the cursor takes up during regular fortress/adventure mode play. Coordinates of units, items, projectiles, etc are written in the local tile scale, where (x = 0, y = 0, z = 0) is the tile at the upper left corner of the lowest z-level on the currently loaded map.
Local tiles on each z-level are grouped into blocks, where
1 block = 16*16*1 local tiles
Blocks are visible during zoomed-in fast travel in adventure mode. Army coordinates use this scale.
Columns of blocks are grouped into region tiles as such:
1 region tile
= 3*3 block columns
= 48*48 local tile columns
Region tiles are visible when resizing your fort before embarking, or during zoomed-out fast travel in adventure mode.
Finally comes the world tile:
1 world tile
= 16*16 region tiles
= 48*48 block columns
= 768*768 local tile columns
These are the largest map tiles, visible on the world map before embarking, when checking the dwarf mode civilization screen map and when checking the adventure mode quest log.
At the lowest level we have local tiles; 1 local tile is the space the cursor takes up during regular fortress/adventure mode play. Coordinates of units, items, projectiles, etc are written in the local tile scale, where (x = 0, y = 0, z = 0) is the tile at the upper left corner of the lowest z-level on the currently loaded map.
Local tiles on each z-level are grouped into blocks, where
1 block = 16*16*1 local tiles
Blocks are visible during zoomed-in fast travel in adventure mode. Army coordinates use this scale.
Columns of blocks are grouped into region tiles as such:
1 region tile
= 3*3 block columns
= 48*48 local tile columns
Region tiles are visible when resizing your fort before embarking, or during zoomed-out fast travel in adventure mode.
Finally comes the world tile:
1 world tile
= 16*16 region tiles
= 48*48 block columns
= 768*768 local tile columns
These are the largest map tiles, visible on the world map before embarking, when checking the dwarf mode civilization screen map and when checking the adventure mode quest log.