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?

ray
질문됨 2년 전287회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠