| Blockland Forums > Modification Help |
| Item Icon not working |
| (1/2) > >> |
| Bauklotz:
I have a item with the following variable: iconName = "./icon.png"; And in the same directory as the script containing the item, I have a icon.png (which is attached). But when I pickup my item, the icon doesn't appear, and it's just a plain normal one with a "L" on it (item uiName starts with a L). |
| Packer:
64x64 not 96x96? Unless icons are 96x96 and I've just missed something. |
| Bauklotz:
Hmm? Gonna try making it 64x64 and report back. EDIT: Changing it to 64x64 didn't work. |
| Demian:
I see my Light Disc there. =) MSN me and I'll fix- oh wait you're already in the taskbar. Hi. --- Quote from: Packer on February 14, 2011, 08:21:34 AM ---64x64 not 96x96? Unless icons are 96x96 and I've just missed something. --- End quote --- Item icons are 96x96. |
| TheKhoz:
--- Quote from: Demian on February 14, 2011, 09:59:05 AM ---I see my Light Disc there. =) MSN me and I'll fix- oh wait you're already in the taskbar. Hi. Item icons are 96x96. --- End quote --- Because the default gun is 64x64, it's automatically 96x96? Nope. The default gun is 64x, plus my add-ons have icons that work, and they are 64x. Edit: You might have to make it: iconName = "./Icon_Lightdisk"; for it to work. Not sure that it will work, but that is how I did my icons, and they always worked. |
| Navigation |
| Message Index |
| Next page |