The Great Apple said:
One thing that would speed up the whole process, and I think somebody meantioned earlier, would be to be able to load palletted storyboard files, without having to input the values. It would be amazing if all you had to do was render, use SBB to make a storyboard, pallette the storeyboard, and load the storyboard straight to .flc. At the moment you have to remember the individual settings for each storyboard, and it takes a while to sort them all out every time.
I have thought about SBB - Civ3Flc compability, but it seems to me too many problems to make it.
At first, as I know, SBB uses 24bit bitmaps, but Civ3Flc just 8bit. The problem is I don't know, how to convert 24 to 8 and place all colors to the necessary palette indexes. I mean, first 64 colors must be civ-specified and last 32 - for shadows and smokes.
The second problem is I really need 3 files for storyboard.
1st - BMP or PCX file, properly speaking the storyboard;
2d - palette file, I need it to implement original palette for storyboard (which has own RGB values for last 32 colors);
3d - C3F file, the small file with the following structure:
Type Name Size Description
BYTE Name[64]; 64 Image file name
WORD Width; 2 Image width
WORD Height; 2 Image height
BYTE FrmWidth; 1 Frame width
BYTE FrmHeight; 1 Frame height
BYTE FrmCount; 1 Frames per direction
BYTE DirCount; 1 Directions number
WORD Delay; 2 Frame delay (ms)
BYTE XOffset; 1 Left offset
BYTE YOffset; 1 Top offset
BYTE FileType; 1 File type
BYTE PalType; 1 Palette type
BYTE LeaderHead; 1 Animation type (unit or leaderhead)
Total size: 79 bytes.
Without this information I cannot make right loading of storyboard.
P.S.
Guys, I have a question! Please, explain me how convert SBB storyboard to FLC? I have got a 24bit bitmap and need to make a FLC file, but don't know, how... Can you help me?