I thought I'd take a little break from programming and try my hand at creating a unit, ok so I cheated and got some static images from another game.
Anyway as you should know the palettes in my image would have started from index 0 to x, but the first 64 colours need to be the civ colour, so I've got this problem of getting my colours to start at index 64. So I created a program that takes my colours from my image and saves them back out, but now starting at index 64, so know civ is free to place the civ colour in the first 64 indexes.
Also the original image needs to have 160 or less colours, as the first 64 are the civ colour and the last 32 being alpha colours, oh and the very last index(255) being magenta.
So if any one would like this utility then I'll tidy it up and post it here, or if you've no idea what the hell I'm on about then say and I'll see if I can explain some more.
Cheers.
James.
Anyway as you should know the palettes in my image would have started from index 0 to x, but the first 64 colours need to be the civ colour, so I've got this problem of getting my colours to start at index 64. So I created a program that takes my colours from my image and saves them back out, but now starting at index 64, so know civ is free to place the civ colour in the first 64 indexes.
Also the original image needs to have 160 or less colours, as the first 64 are the civ colour and the last 32 being alpha colours, oh and the very last index(255) being magenta.
So if any one would like this utility then I'll tidy it up and post it here, or if you've no idea what the hell I'm on about then say and I'll see if I can explain some more.
Cheers.
James.
Comment