ID:156413
 
Howdy!

My question is a quick one.

When you have several map files, each with 1 z level, for example:
Map_001.dmm,Map_002.dmm,Map_003.dmm,Map_004.dmm,Map_005.dmm

Map_002.dmm becomes z level 2,
Map_003.dmm becomes z level 3, and so on.

I'm going to work with maps that have different maxx and maxy values each, defined randomly.

So far, I've been working with only 1 map, and I've been using world.maxx and world.maxy (world.maxx = rand(5,10))
.
Now that I have added a second map file, however, a question pops up in my mind.
Defining world.maxx and world.maxy affects all map files included... so,
How would I go about defining randomly, automatically, each map's maxx and maxy values?

If I use world.maxx and world.maxy, it will affect all of the maps' sizes.
Is there something like, "Map_002.dmm.maxx"... ?

Thanks!

All maps share a single maxx/maxy value. If you have multiple dmm files with different sizes, the compilation process merges them into a single map with the maxx and maxy values set to the maximum in all the merged maps. The extra blank spaces are filled in with the turf type defined in world/turf.

So there is no way to define separate maxx or maxy values for different maps.
In response to Destroy
Yeah, just confirmed what you said.
Thanks!