This article's documentation is for anything that uses the Source engine. Click here for more information.

cl_avatar_convert_rgb

From Valve Developer Community
Jump to: navigation, search

cl_avatar_convert_rgb is a console command available in all Source Source games. cl_avatar_convert_rgb is a console command that create RGB files from 64 x 64 PNG images. It requires sv_cheats 1 to work.


Save 64 x 64 size PNG picture into game ...<MOD>/avatars/ folder. Launch game with console enabled, in mainmenu, turn sv_cheats 1 and use command cl_avatar_convert_rgb
Game will create RGB files from all valid PNG files inside ...<MOD>/avatars/ folder. Console also spew output message:


Converted rgb 'avatars/default.png'->'avatars/default.rgb'.
Note.pngNote:Works (only in Counter-Strike: Global Offensive) ?

See also

cl_avatar_convert_rgb

cl_avatar_convert_png

sv_reliableavatardata

Change players avatar from server