FlexMatch for team battle royale ruleset

0

Hello,

We have a Battle Royale game supporting 10 teams of 3 players each for a total of 30 players per match.

We want to be able to start matches with less than 10 teams if they have been waiting for a long time.

For example, if there are 8 teams who have been matchmaking for 5 minutes, we want to be able to start the game with those 8 teams if 10 minutes have passed and no other team has joined.

We have looked into Expansions, but we can't reduce the "Quantity" of teams. This forces us to only start matches with at least 10 teams.

This is our current rule set:

{
    "name": "trios_battle_royale",
    "ruleLanguageVersion": "1.0",
    "playerAttributes": [{
        "name": "skill",
        "type": "number",
        "default": 10
    }],
    "teams": [{
        "name": "t1",
        "minPlayers": 3,
        "maxPlayers": 3,
        "quantity": 10
    }]
}

How do we start matches with less than 10 teams?

1回答
0

manually create all 10 teams

{
    "name": "trios_battle_royale",
    "ruleLanguageVersion": "1.0",
    "playerAttributes": [{
        "name": "skill",
        "type": "number",
        "default": 10
    }],
    "teams": [{
        "name": "t1_0",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_1",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_2",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_3",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_4",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_5",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_6",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_7",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_8",
        "minPlayers": 3,
        "maxPlayers": 3,
    },
    {
        "name": "t1_9",
        "minPlayers": 3,
        "maxPlayers": 3,
    }]
},
  "expansions": [
      {
          "target": "teams[team_9].minPlayers",
          "steps": [
              {
                  "waitTimeSeconds": 300,
                  "value": 0
              }
          ]
      },
      {
          "target": "teams[team_8].minPlayers",
          "steps": [
              {
                  "waitTimeSeconds": 600,
                  "value": 0
              }
          ]
      },
  ]
}
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ