•   almost 2 years ago

What is meant by role of a player

I was going through the data available here https://docs.google.com/document/d/19H3FsWYEli6ShIV5_5fmhq2xDdfcQOCXlRiNvKZLYL8
I do not understand the information about the role that suits a player best in any of the file. From where I get the information that a player might be suitable for a particular role

  • 3 comments

  •   •   almost 2 years ago

    Yeah, since the notion of a role in Valorant is kinda blurry (when compared to LoL w/ lanes), it's a bit harder to get the role:

    In the live stats data, we show which agents were selected by the players. You can use that selected agent PUUID and query DataDragon (Riot's public API) to get the agent info (including their role) using the PUUID.

    ref: https://developer.riotgames.com/apis#val-content-v1

  •   •   over 1 year ago

    Hi Tony, you mentioned
    > we show which agents were selected by the players
    Which file has the info about agent. I checked players.json, but could not find it

  •   •   over 1 year ago

    Hey! In every game file (e.g. any file in the /games folders), there should be a "config" event that shows the selected map & agent PUUIDs. Then, using the link above (DataDragon) you can fetch the agent metadata. The players.json file only contains information about the player, not the agent

Comments are closed.