Hi, I was wondering if there was a way to make smooth map transitions. So if I am walking to the edge of my map and I want to contine on to another Z level but its still the same "island" just another zone, it dosen't have that teleport feel. I hope I am making sense.
ID:160042
Nov 29 2008, 2:54 pm
|
|
Nov 29 2008, 4:52 pm
|
|
you are making sense, however I have heard there is no easy way to do this. The only way I can see is to make your map slightly longer and make parts overlap so that you will not see the black but just farther on in the island, and part way you teleport.
|
In response to KingCold999
|
|
Ok so maybe with EDGE_PERSPECTIVE, and make the turf contine to the edge but make the teleports lets say 10 tiles before the edge, then on the next Z level.... Hmm, do I have somthing here? Maybe someone could input some more advise?
Map, Inside box is the teleport, outside is the edges. __________________________ | ______________________ | | | | | | | | | | | | | | | | | | | | | | | | | | |____________________| | |_________________________| |
ya there is a such thing. In the way i'm thinking (most likely there is an easyier way that i know how to do) first you have to make a turf that is ... well the location (you can name it diffrent but this is just example)
<code> turf Next_part 1 icon = "Sand" // you dont have to use sand icon_state="Sand1" // just incase you have more than one thing of sand in the sand icon file name = "Sand" usr.loc=locate(1,1,2) //Note that the z axis is 2 2 icon = "Sand" // you dont have to use sand icon_state="Sand1" // just incase you have more than one thing of sand in the sand icon file name = "Sand" usr.loc=locate(CHANGE, THESE,2) //Now you have to change either the X or the Y axis to what you want it to be </code> and than carryon by changeing the x or y axis. and note that i have said earlyier that there is probabally an easyier way to do this but this is my best guess xD i'm still not that good at coding (NOTE DO NOT COPY THERE IS PROBABLLY MORE THAN ONE MISTAKE IN THIS THING XD) |
In response to Xxdragonslxx
|
|
Whoops i forgot the enter part xD REMAKE THIS ONE SHOULD WORK xD
turf Next_part 1 icon = "Sand" // you dont have to use sand icon_state="Sand1" // just incase you have more than one thing of sand in the sand icon file name = "Sand" Enter() usr.loc=locate(1,1,2) //Note that the z axis is 2 2 icon = "Sand" // you dont have to use sand icon_state="Sand1" // just incase you have more than one thing of sand in the sand icon file name = "Sand" Enter() usr.loc=locate(CHANGE, THESE,2) //Now you have to change either the X or the Y axis to what you want it to be |
In response to Xxdragonslxx
|
|
you can either use the Enter() or Entered() built in proc's
|
In response to Xxdragonslxx
|
|
Instead of constantly replying to yourself, how about editing your post?
|
In response to Xxdragonslxx
|
|
Also, be sure to put DM code in <dm> tags.
//Like so.
|
[link]
I'd guess you're talking about this suggestion and the following discussion, which got a reply by the BYOND team. |