I already found this tutorial on how to teleport***, and it works perfectly fine, but how do i teleport to a specific point on another map?
for example on legend of zelda ocorina of time, hyrule field is center point for all the cities in the game, if I leave kokirko village i teleport to where kokoriko village is on the hyrule field map, same goes for all the other cities with its corresponding spot on the map. How if possible could i do that?
***http://www.sandboxgamemaker.com/wiki/in ... nother_map
Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
teleporting to specific spot on another map?
Re: teleporting to specific spot on another map?
So, you mean you want to start a map in a specific spot everytime you load the map?
just place a playerstart entity where you want to start in a map
just place a playerstart entity where you want to start in a map

Re: teleporting to specific spot on another map?
Something like that. i have 5 entry points in my main field that connect to 5 cities and i would like each time i leave one of the 5 cities i appear on the field in front of that cities entrance. For example if i leave city A to go to the field, ill appear in front of the entrance to city A, but if I go to city B, I would like to appear in front of city B on the field.
thanks for replying.
thanks for replying.
-
- Member
- Posts: 66
- Joined: July 21st, 2011, 1:06 am
- Name: Dallas
- IRC Username: Kooldoode
- Location: Cloud 9
Re: teleporting to specific spot on another map?
lol I love how so many people refer to Ocarina of Time, haha good game though.
hmm I know how to create worlds inside a bigger world...but im not sure this would help in your case.
my only question is how does the world know that if your leaving city a to put your character infront of city a and not city b, and vice versa.
**i have my own ocarina, made it myself and will soon start making them to sell.
hmm I know how to create worlds inside a bigger world...but im not sure this would help in your case.
my only question is how does the world know that if your leaving city a to put your character infront of city a and not city b, and vice versa.
**i have my own ocarina, made it myself and will soon start making them to sell.
They say to Fight for world peace, and yet they also say Fighting never solved anything.
I love PAS <3
I love PAS <3
- RonnieNeeley
- Member
- Posts: 203
- Joined: May 5th, 2010, 6:35 pm
- Name: Ronnie Neeley
- Location: Illinois
- Contact:
Re: teleporting to specific spot on another map?
Basically he is asking how do you make them go from one map to a specific player start in another map.
Sandbox is based on the Cube2 engine, which is essentially an FPS game engine. Due to the mechanics of Sauerbraten (the game made with Cube2), I don't think they implemented this as an option as Sauerbraten didn't have a need for it.
As far as my knowledge goes, you'd have to program that feature in yourself. Please correct me if I'm wrong.
Sandbox is based on the Cube2 engine, which is essentially an FPS game engine. Due to the mechanics of Sauerbraten (the game made with Cube2), I don't think they implemented this as an option as Sauerbraten didn't have a need for it.
As far as my knowledge goes, you'd have to program that feature in yourself. Please correct me if I'm wrong.
Tritium - An MMORPG :: viewtopic.php?f=10&t=1246
"Like" Tritium on Facebook :: http://www.facebook.com/pages/Tritium/162872407060264
My Music :: http://www.facebook.com/InternetSlaveMaster
"Like" Tritium on Facebook :: http://www.facebook.com/pages/Tritium/162872407060264
My Music :: http://www.facebook.com/InternetSlaveMaster
-
- Member
- Posts: 410
- Joined: August 19th, 2009, 1:27 am
- Name: S
- IRC Username: S
- Location: Estonia
Re: teleporting to specific spot on another map?
He would certainly have to program it himself, the question here is whether it is possible to do with cubescript (then it would be fairly easy) or would it require modifying the source.
-
- Member
- Posts: 66
- Joined: July 21st, 2011, 1:06 am
- Name: Dallas
- IRC Username: Kooldoode
- Location: Cloud 9
Re: teleporting to specific spot on another map?
lol well i have no clue in programming at all......trying to learn it but most of it is still just random letters, numbers and characters
They say to Fight for world peace, and yet they also say Fighting never solved anything.
I love PAS <3
I love PAS <3
- spikeymikey0196
- Member
- Posts: 25
- Joined: September 15th, 2010, 3:08 pm
- Name: Michael
Re: teleporting to specific spot on another map?
have you tried making a trigger that is linked to the teleporters/spawns?
Trigger A to Spawn A, Trigger B to Spawn B etc
Trigger A to Spawn A, Trigger B to Spawn B etc
- Tony
- Member
- Posts: 113
- Joined: November 13th, 2011, 5:04 am
- Name: Tony
- Location: Cincinnati, Ohio, USA
Re: teleporting to specific spot on another map?
In the Game's Trigger folder, e.g. data/rpg/games/GAME-NAME-HERE/triggers
Do something like this:
And then in the appropriate script file,in: data/rpg/games/GAME-NAME-HERE/scripts
Same deal, remember naming convention, and do this:
When your player-character collides with the trigger, it will be sent to the named map, to the teledest entity named 0.
You''ll want to spawn a teledest entity to land on, on the destination map.
Hope this was helpful.
Do something like this:
Code: Select all
r_trigger_name "Give the Trigger a Name Here"
r_trigger_script 19 //Be sure to send to the correct script and remember script naming convention
r_trigger_mdl "ahab/castle_door" //model file path and name used here
r_trigger_flags $TRIG_INVIS //makes the flag invisible even
Same deal, remember naming convention, and do this:
Code: Select all
r_script_signal collide [
r_teleport actor 0 MAP-NAME-HERE
]
You''ll want to spawn a teledest entity to land on, on the destination map.
Hope this was helpful.
Rockin' the Web for All the Right Reasons