Counter-Strike 2

Counter-Strike 2

48 평점
How to set up server-side avatars and forced player names
sasha5K 님이 작성
This guide teaches you how to load player names and avatars from the game server. Very useful for LAN and tournament production.
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Getting started
First things first you should check that you have both of the following things:
  • A working CSGO client
  • A working CSGO server
Setting avatars
Converting avatars for server use

The pictures you want to use as avatars for the players need to be the size of 64x64 and should be in png format. The game needs to know which steam profile gets which avatar, that's why you need to name it after the steamID64.

Here is an example:



You can find out the ID by either looking at the URL field

However if the person has a custom ID you can just copy the URL and find out the steamID64 here[steamid.io]

Now go to your client main directory and create a folder named "avatars" as shown in above picture.
You should have a similiar directory to this now: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\avatars

Paste all your png files in this folder and launch the game. Once you are in-game open the console and run the command "cl_avatar_convert_rgb".

This will convert the png files in rgb files which will be used by the server.

Side note: If you do not have all IDs or want everyone to have the same avatar, simply name the one file you want to use "default".

Uploading avatars

Now that we have our rgb files we have to create the same directory in the server. Once done with that just put all the rgb files in there. You do not need the png files anymore.

Activating the avatars on the server

In order to activate server-side avatars just set the cvar "sv_reliableavatardata 2".
If you do not need the avatars anymore set the cvar to 0 again.
Setting up player names
Preparing the name file

Setting up names can be done via the "sv_load_forced_client_names_file" cvar.

In order to use it create a text file. The name is up to you.

Copy the following template into the file:
"Names" { "76561198064051923" "insert the name you want to force here" "76561198024905796" "kennyS" }

Now you can edit the file accordingly. For assigning names to the correct steam account you need the SteamID64.

You can find out the ID by either looking at the URL field

However if the person has a custom ID you can just copy the URL and find out the steamID64 here[steamid.io]

Uploading name file

Copy the file in your root server directory (...\csgo\)

Now you need to add the +sv_load_forced_client_names_file "your_file_name.txt" cvar to the server launch parameters.
Video instructions
Additional notes
I also have a guide on how to use advanced scoreboard functions for spectators
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=516354540
Or how to create a 5v5 match on a dedicated server with eBot for free.
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=517696809

Your team is looking for a nice and professional looking logo or you just need a new personal avatar? Then you should check out https://www.modurist.com/ for professional logo designs for eSports orgs, teams and gamers.

Support me
댓글 21
zfg 2020년 5월 3일 오전 5시 57분 
Once you set the players name the clan tag stopped appearing in front of players name. Any ways to fix this?
bort 2019년 5월 5일 오후 12시 06분 
Does this still work for panorama?
Furiosa 2017년 11월 27일 오전 11시 38분 
Thanks so much for this, you're the only one that made this guide. :loveboxx:

Anyway, will you make guide for this too? http://blog.counter-strike.net/index.php/2017/06/18898/
akz 2017년 11월 1일 오후 3시 27분 
Is there any way to set the tags for the players?
Larppis 2017년 11월 1일 오전 7시 40분 
Thanks!
sasha5K  [작성자] 2017년 11월 1일 오전 7시 36분 
Guide has been updated, setting up player names is now ezpz.
sasha5K  [작성자] 2017년 11월 1일 오전 4시 11분 
I'll take a look into it when I have time.
Larppis 2017년 11월 1일 오전 2시 53분 
With the new update there is an easy command to force the player names, would you please update this guide?
sasha5K  [작성자] 2017년 5월 11일 오후 12시 05분 
Regarding the player names, unfortunately no.
Larppis 2017년 5월 11일 오전 10시 02분 
Any progress on this?