Teleport Help Topic
by Robot Marble · in Marble Blast · 12/08/2006 (9:19 am) · 22 replies
This is a topic to help with installing your Teleport Item:
There are 2 Categories that you can fit into.
How to tell what category you are in:
1. When you enter a Telport Trigger in the game you get a promt that says Teleport Activated Stay Still in a green box at the bottom. When you go into the ingame editor and you try to make a trigger one of the options is Teleport Trigger. If this is what happens to you read the Solve Section 1.
2. When you enter a Teleport Trigger in the game you don't get a promt that says Teleport Activated Stay Still or fade. Or the Demo Level dosn't open and you get red text in the Console. If this is what happens to you read the Solve Section 2.
Solve:
1. Open console and The Teleport on The Demo Level you should get this script:
If you don't see this you should take the origanal triggers.cs file from my download and put it in marble/server/scripts press replace when promted. Open the origanal Triggers.cs file and add the Teleport script at the bottom of the page to the bottom of the file.
2. 1) Check you Polyhedrons 2. re-install.
There are 2 Categories that you can fit into.
How to tell what category you are in:
1. When you enter a Telport Trigger in the game you get a promt that says Teleport Activated Stay Still in a green box at the bottom. When you go into the ingame editor and you try to make a trigger one of the options is Teleport Trigger. If this is what happens to you read the Solve Section 1.
2. When you enter a Teleport Trigger in the game you don't get a promt that says Teleport Activated Stay Still or fade. Or the Demo Level dosn't open and you get red text in the Console. If this is what happens to you read the Solve Section 2.
Solve:
1. Open console and The Teleport on The Demo Level you should get this script:
Teleport Client: 2844 goscoty called! Transforming from (Coordinates 1) to (Coordinates 2)
If you don't see this you should take the origanal triggers.cs file from my download and put it in marble/server/scripts press replace when promted. Open the origanal Triggers.cs file and add the Teleport script at the bottom of the page to the bottom of the file.
2. 1) Check you Polyhedrons 2. re-install.
About the author
#2
12/08/2006 (9:20 am)
Please Tell me what category you where in
#3
I do have this, though:
serverCmdTeleportPlayer : Unknown Command
12/08/2006 (11:30 am)
Not in any of the 2 categories, lol.I do have this, though:
serverCmdTeleportPlayer : Unknown Command
#4
12/08/2006 (12:21 pm)
Same coding for me! RB, you must have some file that you forgot to add with the zip.
#5
There's something missing in here. I don't know what is. Perhaps go to the MBG folder and go to every single folder in there and click on the "last modified" tab above and then look @ the dates so that you can pick up all the files that were modified.. shall we say... for the last week?
12/08/2006 (12:44 pm)
Heck, I even created an electricity.wav without success.There's something missing in here. I don't know what is. Perhaps go to the MBG folder and go to every single folder in there and click on the "last modified" tab above and then look @ the dates so that you can pick up all the files that were modified.. shall we say... for the last week?
#6
12/08/2006 (2:53 pm)
I think I know whats wrong Matan Can you post the triggers.cs script for microsoft. The only one who got the green box was perishingflames so I think that the microsoft game is coded differently. he script should work, but Your putting it in the wrong place. Try to find a file with scripts like the one I made, but of the help and out of bounds triggers in it that is where you should put the script I made
#7
http://video.google.com/videoplay?docid=-593375058634575740&hl=en
12/08/2006 (2:54 pm)
Watch the vid:http://video.google.com/videoplay?docid=-593375058634575740&hl=en
#8
12/08/2006 (3:19 pm)
I'm going to email Alex Swason for help.
#9
12/08/2006 (3:43 pm)
I got the green box...but it didn't teleport.
#10
12/08/2006 (3:56 pm)
I got everything but no teleport
#11
12/09/2006 (5:13 am)
Same with Alex Swason I'm downloading the Mac Demo and I'm going to augment it until the teleport works I'm goign to write down everything I do and hopefully I can get this to work.
#12
12/09/2006 (5:20 am)
It oribly only works on mac since you are on a mac it only works for you and other mac users
#13
12/09/2006 (5:28 am)
It doesn't work for me on mac...oh yeah and rb, everyone sees a green box( pc and mac), not only me (mac users).
#14
12/09/2006 (5:40 am)
Every mac user exsept for PF?
#15
12/09/2006 (6:14 am)
Luke, he meant that everyone got the green box but no one but RM can teleport.
#16
12/09/2006 (6:25 am)
I know that i like to go with the odds
#17
12/09/2006 (6:26 am)
Luke, with such comments you show yourself even more stupider.
#18
12/09/2006 (6:43 am)
Then whats 5000 X 50000 + 800 =____
#19
12/09/2006 (6:49 am)
250,000,800
#20
12/09/2006 (7:08 am)
250,000,800) you used that program "calculator"
Torque Owner Robot Marble
//----------------------------------------------------------------------------- datablock TriggerData(TeleportTrigger) { tickPeriodMS = 500; }; datablock AudioProfile(TeleportBuzz) { fileName = "~/data/sound/fx/electricity.wav"; description = AudioClose3d; preload = true; }; function TeleportTrigger::onEnterTrigger(%data, %obj, %colObj) { %checkname = %obj.getName(); %client = %colObj.client; if(!%client) { echo("not a client!"); return; } echo("Teleport client:" SPC %client); if(%checkname $= "TeleportTrigger1") { // if the player didn't recently beam over here... otherwise // he would be looping around between the two, I guess... if(!$from2to1) { %target = "TeleportTrigger2"; CommandToClient(%client,'bottomprint',"Teleport Activated Stay Still",2,10); $teleSched = schedule(2000,0,"goScotty",%client,%target); $teleSound = serverPlay3D(TeleportBuzz,%client.player.getTransform()); %client.player.setCloaked(true); $from1to2 = true; $from2to1 = false; } } else { if(!$from1to2) { %target = "TeleportTrigger1"; CommandToClient(%client,'bottomprint',"Teleport Activated Stay Still",2,10); $teleSched = schedule(2000,0,"goScotty",%client, %target); $teleSound = serverPlay3D(TeleportBuzz,%client.player.getTransform()); %client.player.setCloaked(true); $from2to1 = true; $from1to2 = false; } } } function TeleportTrigger::onLeaveTrigger(%data, %obj, %colObj) { %checkname = %obj.getName(); %client = %colObj.client; echo("TeleportTrigger::onLeaveTrigger called!"); cancel($teleSched); alxStop($teleSound); %client.player.setCloaked(false); // if the player leaves the target trigger, // he can use it, too... if(%checkname $= "TeleportTrigger1") { $from2to1 = false; } else if(%checkname $= "TeleportTrigger2") { $from1to2 = false; } } function goScotty(%client, %target) { echo("goScotty called!"); // beam me up! commandToServer('TeleportPlayer', %client, %target); } function TeleportTrigger::onTickTrigger(%data, %obj) { }