Teleporters

Tutorials for Call of Duty mapping

Moderator: Core Staff

Post Reply
Lethal323

Teleporters

Post by Lethal323 » July 8th, 2007, 11:03 pm

Start by creating a Trigger>Multiple

Give it the following values:

Key: Targetname
Value: teleporter



Image


Now pretty up your map...

Thats it for the mapping, wasn't that hard?

Now for the scripting...

Make a new text document and name it (yourmapname).gsc

Put this in it...

Code: Select all

main()
{
thread teleporter();
}
teleporter()
{
trigger = getent ("teleporter", "targetname");
while(1)
{
trigger waittill ("trigger",user);
user iprintlnbold ("Now Teleporting...");
wait(1);
user setOrigin( (-104, -64, 12) );
wait(1);
}
}
BE SURE TO CHANGE THE ( (-104, -64, 12) ) NUMBER TO YOUR OWN CO-ORDINATES
( (X, Y, Z) )


Image


THAT'S IT!

User avatar
St.Anger
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 431
Joined: November 7th, 2005, 3:28 pm
Location: Den Hague - Netherlands
Contact:

Post by St.Anger » July 9th, 2007, 1:50 pm

Very nice to see someone working on tuts... Thanks!!
St.Anger [TW]

Image
Image

Lethal323

Post by Lethal323 » July 9th, 2007, 2:16 pm

Not a problem, just let me know what you guys want next...

User avatar
Cpt.Cool
CJ Worshipper
CJ Worshipper
Posts: 204
Joined: May 31st, 2007, 2:27 am
Contact:

Post by Cpt.Cool » August 31st, 2007, 2:39 pm

i used it in one of my maps :wink:
Image
Image
YaNo wrote:I use Cool as my UO compiler :) Try it, it works!

Scorpion
CJ Wannabe
CJ Wannabe
Posts: 39
Joined: November 18th, 2007, 9:14 pm
Location: Burnley,United Kingdom

Post by Scorpion » December 25th, 2007, 4:06 pm

How Would I get it Just to Say Teleporting

But Not TelePort anyone!

Thanks! :roll:

User avatar
YaNo
CJ Worshipper
CJ Worshipper
Posts: 460
Joined: May 5th, 2005, 9:34 pm
Location: Azeroth
Contact:

Post by YaNo » December 25th, 2007, 9:35 pm

-|DW|-Scorpion wrote:How Would I get it Just to Say Teleporting

But Not TelePort anyone!

Thanks! :roll:
Just delete the teleport stuff.
Ive done it for you.

Code: Select all

main() 
{ 
thread teleporter(); 
} 
teleporter() 
{ 
trigger = getent ("teleporter", "targetname"); 
while(1) 
{ 
trigger waittill ("trigger",user); 
user iprintlnbold ("Now Teleporting..."); 
wait(1); 
} 
} 

Scorpion
CJ Wannabe
CJ Wannabe
Posts: 39
Joined: November 18th, 2007, 9:14 pm
Location: Burnley,United Kingdom

Post by Scorpion » December 25th, 2007, 10:16 pm

Thanks

:lol:

BatterY
CJ Worshipper
CJ Worshipper
Posts: 238
Joined: January 29th, 2010, 10:27 pm

Re: Teleporters

Post by BatterY » January 30th, 2010, 8:45 pm

how to make multiple teleporters?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests