ID:153623
 
If I create a map from a template of a small size, it is placed on a new z-level. Every other map I create from that template is placed on that same new z-level until it is full (I am not deleting maps after creation). Once full, the maps are placed in the same location. Shouldn't it add another z-level when that one is full? I can work around this, but I'm just curious if that's how it is supposed to work.
Wall04 wrote:
If I create a map from a template of a small size, it is placed on a new z-level. Every other map I create from that template is placed on that same new z-level until it is full (I am not deleting maps after creation). Once full, the maps are placed in the same location. Shouldn't it add another z-level when that one is full? I can work around this, but I'm just curious if that's how it is supposed to work.

It's not supposed to put maps over each other; it's designed to create new z-levels. If it's not doing that it's a bug, but I've never observed that to happen in all my testing. I'll see if I can take a look.

Can you tell me what template size you're using, and what the size of the compiled world map is?

Lummox JR
In response to Lummox JR
It's not supposed to put maps over each other; it's designed to create new z-levels. If it's not doing that it's a bug, but I've never observed that to happen in all my testing. I'll see if I can take a look.

Can you tell me what template size you're using, and what the size of the compiled world map is?


Template: x = 17 y = 16 z = 1
Map: x = 250 y = 250 z = 1

It seems to happen with other sizes as well. The map I used for the template was created off an existing map.
In response to Lummox JR
It also happens in your demo, when the template size is smaller then the z-level. The z-level is filled but once full the maps seems to be created in the same location.


Map is located at 6,1,2 - 10,5,2
Map [0x2100000f] created.
Map is located at 6,6,2 - 10,10,2
Map [0x2100000e] created.
Map is located at 6,6,2 - 10,10,2


I never looked much into it, maybe I don't have the latest version or maybe the map is located where it isn't telling me :O. You could try out your demo to the lib sometime, save a 5 by 5 map and load more then 5 templates.