メインコンテンツまでスキップ

ゲームセッションを設定する - ピアツーピアで参加可能なセッション - (Unreal Engine モジュール)

Last updated on October 23, 2024

Create Session Template

注記

If you created a Session Template in the AccelByte Gaming Services (AGS) 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.

  1. Log in to the AGS Admin Portal and go to your Byte Wars Unreal game namespace dashboard.

  2. Go to Multiplayer > Matchmaking > Session Configuration. On the Session Template tab, click the Add Session Template button.

  3. 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).
  4. Click Next until you arrive at the Summary. Ensure your configuration is correct and click Create.

  5. 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).