[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: How to use different Unit Tiles in CF ?



On 06.07.2004 22:59, Alan Wilson wrote:
Hello,
Now I have Crimson Fields working, I thought I'd give those new roman
units I did the other night a quick try out to see how they looked:)....
but I must be missing something.

I replaced CFUnits.bmp with RomanUnits.bmp (e.g. mv CFUnits.bmp CFUnits.old;mv RomanUnits.bmp CFUnits.bmp) and then
re-compiled, but when I do a make now I get the following errors (am I
missing something obvious ?)

../tools/mkunitset ../gfx/CFUnits.bmp ../gfx/u_infantry.bmp ../gfx/
u_artillery.bmp ../gfx/u_fighter.bmp ../gfx/u_railgun.bmp default.units
Couldn't find palette
make[1]: *** [default.units] Error 255

Do I need to create a new palette as I've used colours outside of the
ones currently used in CFUnits.bmp ?
No. This probably just means that you saved the file as a 16 or 32bit
bitmap. mkunitset needs a palettized image (ie. 8bit, <= 256 colours),
though. If you do the conversion make sure that colour 0 is your
transparent colour.

Jens