Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Why do some images not show up in the level editor? (https://forums.graalonline.com/forums/showthread.php?t=86394)

Exhausted 06-17-2009 05:59 PM

Why do some images not show up in the level editor?
 
I'm honestly not sure where I was supposed to ask this, so sorry if this is the wrong section.

But why do some images show up, but others do not? Especially on character NPCs. One hat might show up, but another won't, or even a body, and in some cases a head.

Is there a folder I'm supposed to put images in if I want them to show in the level editor?

Crono 06-17-2009 05:59 PM

I find it best to place them in your Graal folder.

cbk1994 06-17-2009 06:10 PM

24 or 32-bit images won't show up in the level editor. This means any PNG with semi-transparency or more than 256 colors, or that was exported wrong. GIFs and MNGs can always show, from what I understand, but GIFs do not support semi-transparency or more than 256 colors, which is why PNG is a superior format.

If you need to see an image offline only, you can drag it on "gif2mng.exe" in the Graal directory (C:/Graal or so), and it will make a copy as an 8-bit PNG (it converts GIFs to PNG8, PNGs that aren't 8-bit to PNG8, and animated GIFs to animated MNGs).

Exhausted 06-17-2009 08:49 PM

Thanks, I'l try that.

xXziroXx 06-18-2009 01:26 AM

Delete FILENAMESCACHE.txt and restart the editor, tadaa!


All times are GMT +2. The time now is 11:40 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.