Search the Community
Showing results for tags 'teleporters'.
Found 2 results
So you want a teleporter for players on your map? This is possible. I made two scripts for this purpose, one that teleports anyone, and another that teleports only players from a specific team. Ofcourse you can use other scripts for this but i will focus this tutorial on the two i made myself which are available in 4.0 The two scripts are called "z_Enter_Teleport_Random" and "z_Enter_Teleport_Random_Team". You can also use this for the teleporters as it looks much cooler than a stupid pedestal: http://multiplayerforums.com/index.php?/files/file/212-teleport-tubes/ First lets move on to the Editor and we place a CtfPedestalGold on the map which will function as the visual indicator for this teleporter, stepping on this pedestal will teleport a player to another location. Expand (1)Object, then (2)Simple, then (3)CTF_Objects and finally select (4)CtfPedestalGold Now click the make button and it will appear on your map: Now, the way my scripts work is simple: You place 5 "Daves Arrow" on your map, the ID of each of these Arrows are used by the script and randomly select one of them to teleport the player to. So we are now gonna place 5 of these Dave Arrows on the map. Expace (1)Object, then (2)Simple, then select the (3)Daves Arrow and (4)make 5 of them on the map near the location where you want players to teleport to: Now double click on each of the Arrows and note their ID in notepad: In my example they are: 100438 100439 100440 100441 100442 Now that we have the ID's let's finally actually create the area that will teleport the player. Expand (1)Object, then expand (2)Script Zone and there select the (3)Script_Zone_Star and click (4)Make to place one on your map. A green box will appear on the map, position it over the pedestal, you can resize it with the black boxes at each corner, hold shift to size it up and down. Make the box appear like on the example screenshot below: Now double click on the green box, a new window will appear. Goto its "Scripts" tab. There click on "Add" and scroll down to z_Enter_Teleport_Random and select it. Here you enter all the five ID's we wrote down in Notepad earlier: The endresult should look like this (based on my example ID's above): Now save your map, make a mix file and try it out! Players that step on the pedestal will be teleported to the locations of the Dave Arrows you placed randomly. PS: If you want a TEAM oriented teleporter then use z_Enter_Teleport_Random_Team and do the same thing but with Team enter 0 for Nod and 1 for GDI, then only players of that team can use the teleporter.
108 downloadsLaeubi: All models are ready to use, you just need to add them to your map (on a flat surface). Since the last version I have optimised the texture sizes and material types in other words you get better FPS. and replaced 'n_ped.tga' with 'n_pedpmc.tga' texture zunnie: For a nice tutorial to use teleporters on your map please see this topic.