For some reason, when I build (using ucc make) it throws errors about being unable to find out, or am improper format.
I understand that you can import pcx or bmp, and it's advised to use bmp as pcx is very finicky.
For ut99, you need your texture size a power of 2 (mine is 128x128), and be color indexed (256 color indices).
I use gimp for this, and export as bmp.
I have a package folder structure like this:
<Root of ut99 install>/<mod name>
And then have a Textures, Models, and Classes folders. I also added my mod name to the correct ini and it is picked up by ucc to build.
I made a basic brown 128x128 texture (and have it in the Textures folder) and exported it's bmp and imported it into my uc class like this:
Code: Select all
#exec TEXTURE IMPORT NAME=SKIN_Brown FILE=Textures\brown.bmp GROUP="Skins"
Code: Select all
BMP uses an unsupported format (0/0)
Can't find file 'Textures\brown.bmp' for import
CustomItem.uc(8) : ExecWarning, Import texture SKIN_Brown from Textures\brown.bmp failed
BMP uses an unsupported format (0/0)
I ensued the image is the right dimensions and 256 color indexed and located in the package folder structure.
Any ideas?