Page 2 of 2

Re: My questions to own blocks

Posted: 12 Jun 2015, 13:35
by xrayjay
ManiaDesign wrote:In the items by xrayjay the icon is in the gbx-file..?
sure it is, where else?... read the doc, there´s the answer > http://doc.maniaplanet.com/creation/imp ... _item.html

Re: Texture-Problem

Posted: 12 Jun 2015, 13:41
by Florenzius
Thanks,

but how to get an icon for the folder? I don't found this.

Re: Texture-Problem

Posted: 12 Jun 2015, 17:19
by TMarc
ManiaDesign, you are blind, or you still don't know English "good" enough? :roll:

Because it jumps into your eyes directly after opening the link xrayjay has given...
Note 3 : Icon : if you want to see an icon for your item in the editor, you need to provide a icon file.
Unlike the other files which are explicitly referenced in the item.xml file, the icon file is automatically retrieved and imported.
The icon must be a tga 64x64, it must have the same base name than the item.xml file and be placed in a sub folder icon.
see sample : Work/Items/Samples/DynamicObjects/Icon

Re: Texture-Problem

Posted: 12 Jun 2015, 17:48
by Florenzius
I did read it, but there no explanation how to create icons for objects and not for folders.

Re: Texture-Problem

Posted: 12 Jun 2015, 17:59
by TMarc
That's right, this was never implemented, as far as I know.

See here viewtopic.php?f=514&t=26686&p=208825 and here viewtopic.php?f=321&t=13673&p=160038#p160038

Re: Texture-Problem

Posted: 12 Jun 2015, 18:09
by Florenzius
Oh, thank you TMarc :thx: