How to add new, custom avatars/icon images?
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
How to add new, custom avatars/icon images?
by Sprague » 13 Nov 2017, 17:41
I want to add a new avatar to the game, so I can choose it as my icon. I tried just pasting in the image (100x100px, .jpg) into the icon folder (C:\Users\XXX\AppData\Local\Forge\Cache\pics\icons), but it doesn't show up in game. Is there some file I need to edit to make my avatar usable?
Re: How to add new, custom avatars/icon images?
by RumbleBBU » 14 Nov 2017, 04:41
Ah, that directory is for quest opponent icons.
The player and normal duel avatars are defined in the skin files. The ones you normally see would be under the default skin although different skins can define new ones. In other words, you need to navigate to res/skins/default, find the avatars image file (IIRC, it's called "sprite_avatars.png", can't check right now on this computer), and edit it. It's basically a bitmap of 100x100 tiles, and you need to place your new images in that grid. You can replace images you don't want or increase the file size and add new ones. Just keep in mind that the grid size must be increased in steps of 100 pixels.
This probably isn't really documented anywhere but maybe it should be.
The player and normal duel avatars are defined in the skin files. The ones you normally see would be under the default skin although different skins can define new ones. In other words, you need to navigate to res/skins/default, find the avatars image file (IIRC, it's called "sprite_avatars.png", can't check right now on this computer), and edit it. It's basically a bitmap of 100x100 tiles, and you need to place your new images in that grid. You can replace images you don't want or increase the file size and add new ones. Just keep in mind that the grid size must be increased in steps of 100 pixels.
This probably isn't really documented anywhere but maybe it should be.
Re: How to add new, custom avatars/icon images?
by Sprague » 14 Nov 2017, 15:28
Worked perfectly, thanks!
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 142 guests