Using Skill Ratings
The matchmaking system of Kronos has skill rating checks built into it by default.
Overview
The basic idea is that the each session advertises the average skill rating of players in the given session. When searching for sessions, the matchmaking system will compare against the advertised skill rating to see if it is within an acceptable range.
IMPORTANT: You are responsible for feeding up-to-date skill rating values about players and sessions alike for skill based matchmaking to work properly.
Using Skill Ratings
When creating a session, a default skill rating value can be given to the session via the "Elo" param. After that point, the session's host is responsible for updating the advertised skill rating when players join/leave the session. You can do this via the UpdateSession
function.
When matchmaking, you can set the base skill rating to search for and a range around it. These are the "Elo" and "Elo Range" params respectively. Matchmaking can make multiple attempts to find a session in the given skill range. This is dictated by the "Elo Search Attempts" param. If no sessions are found then the base skill rating will be increased by "Elo Search Step" amount.
Determining Skill Ratings
If the player is solo, the "Elo" should be the player's skill rating.
If the player is in a party, the "Elo" should be the average skill rating of the party members. You can use the GetPartyEloAverage
helper function if the player is in a party. Please note that player skill ratings must be set for each party member. For more information please refer to the Party Player Skill Rating section of the documentation.
Last updated