Set up game session - Joinable sessions with peer-to-peer - (Unreal Engine module)
Create Session Template
If you created a Session Template in the Admin Portal in a previous module, skip directly to the next tutorial.
Since Byte Wars has two game modes, Elimination and Team Deathmatch, we will be create two session templates.
-
Log in to the Admin Portal and go to your Byte Wars Unreal game namespace dashboard.
-
Go to Multiplayer > Matchmaking > Session Configuration. On the Session Template tab, click the Add Session Template button.
-
Fill in your Session Template configuration on the form that appears. The information below is for the Elimination game mode.
- Session Template Name: the unique name to identify your Session Template. Set it to unreal-elimination-p2p.
- Min Players: the minimum number of players required in the session. Set it to 1.
- Max Players: the maximum number of players in the session. Set it to 4.
- Joinability: the joinability of the session. Set it to Open.
- Server: the session connection type. Set it to Peer to Peer (P2P).
-
Click Next until you arrive at the Summary. Ensure your configuration is correct and click Create.
-
Repeat these steps to create a new Session Template for Team Deathmatch using the configuration below.
- Session Template Name: set it to unreal-teamdeathmatch-p2p.
- Min Players: set it to 1.
- Max Players: set it to 8.
- Joinability: set it to Open.
- Server: set it to Peer to Peer (P2P).