Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Unreal Tournament III Editor - How to Make Teleporters

Want to make a scripted event, but suck at scripting? Kismet too confusing? Too fat to exert loads of effort, or just want something flashier than an elevator? Well portals are the way to go!

Step 1 - Adding the Teleporter

Go to The Generic Browser and access the Actor Classes tab. Expand Navigation Point>Teleporter>UTTeleporterBase>UTTeleporter. Click to highlight the UTTeleporter selection (it is in bold), and right click anywhere on the level and add UTTeleporter here.
1.jpg

2.jpg

2) Positioning the Teleporter

As you may already know, when actors have their collision through the ground they give an icon stating "bad size." A lot of times if the ground is not level enough the teleporter will give this warning. The simple fix is to raise the teleporter above ground level -- just slightly -- until it shows up in the editor.
3.jpg
The direction the teleporter is facing is also important (although not absolutely necessary). Open the properties of the teleporter -- either by pressing F4 or double clicking the mesh -- and expand the movement section. The Yaw should be set accordingly to rotate the teleporter. The arrow icon is the direction that the player will come OUT of -- when entering the connecting teleporter. Although teleports can be entered from any angle, they work best when flush against a wall; that way, player movement is restricted to uni-direction.

3) Setting the teleporter's parameters

I'm not sure if this is important, but I like unchecking bAcceptsDecalsDuringGameplay, bAcceptsDynamicLights, and bAcceptsFoliage -- found under the Collision subset -- for optimization purposes.
5.jpg
Next, it is a good gameplay choice to increase the collision radius of the Teleporter -- That way a player can enter it from a larger area. I set mine to 64 UU (unreal units) because that is the standard width of a character.
6.jpg

*Note: 64 UU's is always the safest bet when establishing any collision radius*

4) Directing the Teleporter

Perhaps the most important part of teleporting is knowing where to go ;). Without these parameters, a teleport is virtually useless. Under Object and Teleporter Enter a Tag for the selected teleport to be referenced as (any name you choose), and a URL for the destination teleporter (remember what you typed -- as it will be the basis for the next teleporter). In this example I used Tag = A and URL = B, but if it were a real game I would name each teleport based on location (ex: base_hill, cave_R, cave_L etc.).
7.jpg
Congratulations! The first teleporter has been set! Now on to the next one!

5) Creating a Second Teleporter
Repeat the same steps as before for the first teleporter. The main difference for the second teleporter is that the Tag (self-referencer) and URL (desitnation) will be different. A teleporter doesn't have to teleport back to itself (e.g. A->B, B->C, C->A) -- but in order for the mesh to show up it must lead to another physical teleport. In this example my second teleport references the first teleport as it's destination (Tag = B, URL = A).
8.jpg

6) Building Paths for Teleportation

In order for a teleporter to show up in-game, paths (2) must be built before running the level (otherwise, the teleports will work but are invisible). Also, by clicking the hotkey "D" -- or the icon shown in the picture (1) -- a real-time preview reveals the teleporter as working. Don't be fooled though -- this preview will work EVEN if the teleports are not set up correctly.
9.jpg

7) Testing
That's it! if everything is in order the teleport should work just fine. A preview of the next area is automatically generated at 15 fps -- slowing down framerates -- but a cool feature indeed. As you walk through you should spawn in the next area. Depending on the direction you entered the teleporter is the direction you will exit (again, why it is better to place in front of a wall).
10.jpg

Special Notes


[*]If you wish to have a one way teleporter, set the URL to the tag of the teleporter, or set the coordinates of the destination in Teleporter A's URL

[*]You can have as many teleporters as you want! Interconnecting works, and they look fancy.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top