ID:168408
 
How would I go about linking maps to eachother? each are diffrent files but I don't want to go through all the trouble of recreating one map file and layering it wasting space. I would rather have diffrent map sizes than all the same size with a huge load of wasted space.
Make a new area as a kinda starting point for each map, then use usr.loc = locate(Somewhere_start)
Handy if you set the start area more than 1 square to, avoids unpredictable mob placement when theres someone already there :)

I use a door tile and overide Enter() to teleport them into another map file on an /area/Welcome_matt tile, and a similar door tile to teleport them to the old front door of the old map.

Can get a lil messy, but I guess Ill get better :)
If you bound your maps, SwapMaps can do this quite effectively! Look it up in DM.libraries.
I don't beleive you'd be wasting space because I beleive that when you compile, the maps are placed together as different z levels, and as you may know, the maxx and maxy will increase to fit the largest map. I could be wrong though.
In response to Ireus
Ireus wrote:
I use a door tile and overide Enter() to teleport them into another map file on an /area/Welcome_matt tile, and a similar door tile to teleport them to the old front door of the old map.

Teleportation should be done in Entered(), not Enter().

Lummox JR
In response to Lummox JR
A good way to link maps together, is with my libary.

It allows you to call "teleports" by their points
Example:
StepA
TAG="StepA"
TAGTO="StepB"
StepB
TAG="StepB"
TAGTO="StepA"

That will easily find whatever map you want (as long as it's included) and will warp to that certain "point" on the map, using the advanced tag features.
In response to Flame Sage
which library and where?
[edit]
never mind, found it on your BYOND member page.

Still wondering just how it would work though... is a special type of turf verb required so when a person walks into it it switches to the other turf that its connected to?
[edit edit]
and FlameSage... how does that server2server work. I can't get any answers about byond passport or what it is.