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

Cl avatar convert png: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎See also: clean up, replaced: See Also → See also)
m (Replacing {{console command}}. This operation was performed by a bot.)
Line 1: Line 1:
{{Lang}}{{Console command}}
{{Lang}}{{this is a|console command|name=cl_avatar_convert_png}}
{{Command|cl_avatar_convert_png}} is a console command that create PNG images from RBG files. It requires <code>[[sv_cheats]] 1</code> to work.
{{Command|cl_avatar_convert_png}} is a console command that create PNG images from RBG files. It requires <code>[[sv_cheats]] 1</code> to work.



Revision as of 18:17, 7 January 2024

English (en)Translate (Translate)

cl_avatar_convert_png is a console command available in all Source Source games.

cl_avatar_convert_png is a console command that create PNG images from RBG files. It requires sv_cheats 1 to work.


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


Converted rgb 'avatars/default.rgb'->'avatars/default.png'.
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