ID:2895098
 
(See the best response by Lummox JR.)
Code:
// 1 z level
#include "shared_world.dmm"
// 5 z levels each
#include "action_zones.dmm"
#include "action_zones.dmm"
#include "action_zones.dmm"
#include "action_zones.dmm"
#include "action_zones.dmm"


Problem description:
Dream Maker not including multiple copies of files is a smart choice but here I'm intentionally trying to include multiple copies of a .dmm file. Unless I'm mistaken there's no relevant header space on a map file that I can use to #pragma my through this. I could always copy the action zones file into uniquely named files but for now I think it'd be safer to include the one map multiple times.
From what I've read .dmm files are templates that are stacked in compilation order into a true world map resource, so if mulitple includes were enabled my example code would result in a 21 z level tall map where each of my action_zones were populated with unique (non-area) objects laid out exactly the same way. Or am I mistaken?

Are there any other methods for including multiple copies of a single file?
Best response
The #pragma multiple directive is only available in code files, I'm afraid, although I get why you'd consider doing this.

It's best not to think of .dmm files as templates but as resources that happen to be sections of the world map.

However, if your map is very large, 21 z levels could amount to an awful lot.
In response to Lummox JR
Lummox JR wrote:
However, if your map is very large, 21 z levels could amount to an awful lot.

Yeah it adds up fast. They're not gigantic maps but they're big enough I'd prefer not to load only the relevant portions each round.
For now I'm planning everything around the assumption I'm going to go over budget at 21. I should be able to get them down to 10 without much compromise. A smaller, easier to learn environment should work better so it's a good constraint to have.

If it does bloat out past 21 I'll probably have to switch back to instancing players but if I can get a better result by putting the burden on the map that'll be very nice.
If they're not gigantic maps, then I'd suggest duplicating them multiple times across each Z level.