Search Unity

Displaying steam names

Discussion in 'Multiplayer' started by rycornx, Jan 16, 2020.

  1. rycornx

    rycornx

    Joined:
    Oct 4, 2017
    Posts:
    125
    In a game I'm working and plan on putting on Steam i want to be able to have the players name above their head, since it's a multi player, to help differentiate each other. How do have the game acquire and display the player's name on Steam?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    You sign up as a Steam publisher, pay the $100 to add your game, add the steamworks API to your game, initialize the API in one of your early scenes, then use the steamworks API to get the player's Steam name. Then you upload the build to Steam using the tools in their SDK. On your Steam account you download the game like any other steam game in your game library, launch the game, and cross your fingers you did every step correctly and see if it works :p

    Check out Steamworks.net as it is a good place to start, link below, and you'll need the version of the Steamworks SDK that the version of Steamworks.net was built against, which is usually not the absolute latest since Steam seems to release new minor updates somewhat frequently. You'll be able to download that after you have your Steam publisher account set up. The docs for Steamworks.net are sparse, and the Steam publisher interface is pretty confusing, so be ready for a whole lot of trial and error.

    https://steamworks.github.io/
     
    Last edited: Jan 16, 2020
  3. rycornx

    rycornx

    Joined:
    Oct 4, 2017
    Posts:
    125
    Thanks