In response to Chrishero
You can't just tell it a map file to teleport to, you have to get the x,y,z cordinates to warp to, your TOWNSOMETHIN'.dmp has x,y,z's as well, so you need those too.
In response to FIREking
FIREking wrote:
Spelling isnt a big deal, i just thought i would let you know how to spell it correctly! =P

FIREking

Yes, that is "exactley" how "your" gonna want to spell it.
In response to Chrishero
Chrishero wrote:
YES THANK YOU

im not seeing how this works, because you are using multiple map files?

I think the intention here is that everyone uses one map file, and has multiple layers. If you use multiple map files, it often gets complicated. I can see the multiple maps working for some situations, but for your specific situation, i believe that you would want just one map.

Correct me if im wrong, but its not possible to specify which map you want to send an atom to, simply because its not designed to do that? I believe the only way to specify is if you have multiple maps, each with only 1 z layer, and you can switch between the maps by using a z layer according to the order of the maps in alphabetical order.

example:

you have map1.dmp
you have map2.dmp

map1 has 1 z layer
map2 has 1 z layer

map1 is refered to by z layer 1
map2 is refered to by z layer 2

am i correct on this? I believe so, sorry, i dont mean any confusion, i just wanted to point out that using multiple maps can get confusing, and isnt necessary because you are given the great feature of multiple z layers in one map file.

FIREking
In response to Vortezz
Vortezz wrote:
FIREking wrote:
Spelling isnt a big deal, i just thought i would let you know how to spell it correctly! =P

FIREking

Yes, that is "exactley" how "your" gonna want to spell it.

i dont mean any harm here, but im just wondering why you are beating around the bush with quotated words?

Just come right out and say what you mean!

FIREking
In response to FIREking
Almost, you have your z levels confused:

map1 now has z level 2, and map2 has z level 1.
In response to FIREking
FIREking wrote:
Just come right out and say what you mean!

Okay.

I am mocking how you are so caught up about other people's spelling and punctuation, though you don't seem to think about yours.

No harm meant, just poking a bit of fun ;)
In response to Vortezz
Vortezz wrote:
FIREking wrote:
Just come right out and say what you mean!

Okay.

I am mocking how you are so caught up about other people's spelling and punctuation, though you don't seem to think about yours.

No harm meant, just poking a bit of fun ;)

Yes, i understand that I am not the most perfect speller in the world, and the sentence that you are reading right now isnt even correct at all.

But in a gaming world, i think that the designer should at least know how to spell the word Teleport!

And btw, No harm recieved, I appreciate people pointing out my mistakes, as it will improve me when i take the initiative to do so.

FIREking
In response to FIREking
i != I the way you're using it, sorry had to do it.
In response to Nadrew
maybe at the begging of the post, i should post this:

" i " = I
"i" = i
"I" = I

just to clear up the confusion!

But then again, I havent even capitalized the beggining of the first two sentences in this post, and I started this sentence with a conjunction(But). Also, I didnt use my apostrophy in the word haven't.

FIREking
In response to FIREking
If this has gone unanswered, heres my take on how to warp to other maps and Z levels.

Since the compiler stacks all the maps up into one big one, and complicates warping to a Z level by number I would suggest having an object on each Z level with a special keyword that you can warp to. Heres an example (untested)
obj/Z_Warp
var/keyname = ""


turf/Teleporter
var/destination_txt
var/destination_loc
Entered(O)
..()
if(!ismob(O)) return 1
var/mob/M = O
if(destination_txt && destination_loc)
for(var/obj/W_Warp/W)
if(W.keyname==destination_txt)
M.loc = locate(destination_loc)


Hope that helps.
Alathon
In response to SSJ4_Gohan_Majin
turf/door
icon='door.dmi'
Entered()
usr.loc = locate(29,20,1)

There.I perfectly fixed the code,its a perfect code as long as you have a map or location will be a bad var.

Legend
Bold text = Your wrong here...

Also the code you did is incorrect too, it will cause problems.

To actually make that work to perfection you would need to have it like this:

turf/door
icon='door.dmi'
Entered()
usr.loc = locate(29,20,1)


There you go Chrishero, that should work correctly for you.

Lee
In response to Nadrew
So it assigns them z-layers in the order they appear? The highest map (least alphabetically) would get the highest z layer and it would just go down the list and assign each a z layer?

What if:

map1 has 1 z layer
map2 has 4 z layers

Will map1 be z-layer 5? And will map2 get assigned z-layers 1-4?

This could be something worth while to me because the game I'm working on has many z-layers and it would be helpful to have 2 sizes of maps.
In response to English
You can't have 2 sizes of maps, all maps resize to the largest map.
In response to Nadrew
Ah, nevermind then.
In response to Mellifluous
Nadrew already pointed out that his indentation was bad, I'm sure he saw his mistake and learned what he has done wrong.

FIREking
Page: 1 2