So we know how to make terrain, and we know how to make grids. Getting from one terrain to another is easy, just put the two regions right next to each other. Connecting terrain to a grid or a grid to a grid is a little more complicated. For that, we need to use portals. Portals are essentially just doors from one region to another. Another way to move the player character around is to teleport to a specific point via a teleport trigger.

Setting Up

  1. Open up the Editor
  2. Select the mod project Tutorial08
  3. Open the region 'Tutorial-Connecting_To_Dungeons_Terrain.lvl' in Editor Mode. You'll see that it has a terrain region and a grid region. The terrain region has a cave sticking into a cliff face.

Tut08 01.jpg


Creating A Portal

Portals are built into certain types of objects. One of those objects is 'records -> underground -> naturalcave -> greecedngentrance_a01_ext.dbr', which is the cave object buried in the cliff face in the terrain region. That's one of the portals we'll be linking, but we still have to create one on the grid.

  1. Select the grid tool.
  2. Click on the grid region 'Tutorial-Connecting_To_Dungeons_Dungeon.lvl'. One way to create a portal on a grid is to drop an object that contains a portal, as one would on a terrain region. However, portals are also built into many grid features.
  3. You will notice a chunk of floor missing. You must place the cave entrance feature on a spot that has no floor.
  4. Select GreeceNatCave_EntranceG_Int01 from the feature list.

Tut08 02.jpg

  1. Place it in the gap. When you first place the entrance, it may be orient wrong. To rotate it, press the left or right arrow key and click to place it again. The arrow keys rotate the feature placement 90 degress, but you must place the feature again to see the rotate.

Linking Two Portals

  1. Select the portal tool.
    Tut08 04.jpg
  2. Click the higher ellipsis in the Link Portals Pane.
    Tut08 05.jpg
  3. Select the portal at the cave entrance in the cliff on the terrain region. You will not be selecting the object itself, but the actual hole inside of the object.
    Tut08 06.jpg
    You will notice a Portal number appear in the field next to the ellipsis.
  4. Click the lower ellipsis in the Link Portals Pane.
    Tut08 07.jpg
  5. Click on the plane on the open end of the entrance feature in the cave on the grid region. Rotate the camera so you are inside the cave, looking at the entrance feature.
    Tut08 08.jpg
    You will notice another portal number appear in the field next to the lower ellipsis.
  6. Click the 'Link' button in the Link Portals Pane.
    Tut08 09.jpg
    Over each of the portals, the name of the terrain on which they are located will appear. Now the portals are linked.
  7. Rebuild All Pathing and Rebuild All Maps for the sake of good habits.
  8. Save All.
  9. Open up the Art Manager.
  10. Find and Build '' in the 'Tutorial08\assets' folder. Now, if you play the map in game, the Portals are connected. Run the character into one of the portals, and the character appears at the linked portal.

Hints for Linking Portals

Fairytale messagebox info.png See Connecting Grids for more tips on successful portal connections.


Another way to move the player around the map is through teleportation. The user can be teleported via a trigger using the 'Teleport Player to N., N., N. )' action in the Quest Editor (Don't worry, I'll explain all about actions in the next tutorial). But how does one obtain the correct coordinates to teleport to?

Obtaining Teleport Coordinates

  1. Open up a world in the Editor.
  2. Open up a level in Editor Mode.
    Tut08 10.jpg
  3. Center the camera on the point you wish to find the teleport coordinates for.
  4. Select 'Camera -> Locate Coords' from the Menu Bar. A window displaying the X, Y, and Z coordinates for the point you are looking at will pop up.
    Tut08 11.jpg
Community content is available under CC-BY-SA unless otherwise noted.