Seamless Travel And Setting GameMode Variables

READ ME! This wiki entry was started a year ago and hasn't been touched since. You might as well just leave again, there's nothing here worthwhile. If you have information on this, feel free to com...

Updated over 4 years ago Edit Page Revisions

READ ME!

This wiki entry was started a year ago and hasn't been touched since. You might as well just leave again, there's nothing here worthwhile. If you have information on this, feel free to complete the article, but I came here *looking* for information and found what mostly still resembles a template. How useful!

Purpose

The purpose of this tutorial is to provide a guide for using "Server Travel" and "Seamless Travel" to travel between non-streaming levels. This tutorial will also explain how to set the GameMode for the next level as well as set variables in that GameMode.

Anticipated Uses

The most likely use for this guide would be an online multiplayer game where players can form a Party and travel together. This guide also assumes that the levels are not streaming and that the gameplay rules can be changed for any level.

A great example would be the typical FPS online multiplayer game, like Halo. In Halo, players can form Parties and make custom games or join ranked sessions. In either case, any level could be used for a variety of game types (e.g. Death Match, CTF, Infiltration, etc.), any of which could then have various different rules (e.g. Number Of Lives, Time Limit, Vehicles, etc.) Players can also wear different armors. And in some games, these different armors may have gameplay effects, such as a stronger shield ability. So then the question arises, "How do you set the rules for a level, load all player data in that level, and do these securely to avoid cheating?"

Obviously, you have to transfer data from one level to another, because it would be ridiculous to create a new GameMode for each variation. Many suggest using the "GameInstance", since that persists throughout the entire game. But there is a GameInstance class created for each client and one for the server.

Requirements

You must have a registered account at to create Wiki pages.

Getting Started

Creating The Page

The first step is to create the page for your new tutorial. The easiest way to do that is to first come up with a name for your page and convert it to a URL friendly format. The name of this tutorial is "Wiki Tutorial Template". To convert it to a URL friendly name, simply replace all spaces with underscores. An underscore is this character here: _

If you accidentally used a bad URL, go ahead and create the page anyway. Once the page is created, view the source and at the top right of the page you will be given the option to Move it to a better fitting URL which will give it a new name.

Using This Template

To get the layout of your new tutorial done quickly, simply Edit this page and copy all of this page's content to your new page.

File:WikiEditButton.png

Embedding Images In Your Tutorial

Images are a great way to simplify tutorials. Sometimes a simple screen capture of a dialog box or blueprint graph can be invaluable. To embed an image, simply create a link to a file of a name of your choosing and save your page. View the source for the above paragraph as an example on how to create this link. Once your page is saved, your link will appear as blue clickable text.

  1. Clicking this link will prompt you to upload your file.
  2. Choose your image to upload

File:ImageEmbedExample.png

  1. Click Upload Image at the bottom!

File:ImageEmbedExample_Upload.png

Create More Sections As Needed