Dark Sheer
Deity
Originally posted by nonnob3
Hi,
I can't get the unit Srormtrooper to work. In the game it has different colors and crashes then. And the FLICster that I have does not have all the features that Kryton told me.
I somehow need to edit transparency on the flc files.
But then when I do so , the backround becomes black!!!!
I need help!!!!!!
Can some tell how to fix this problem by using paint shop pro, animation or anything![]()
Thanks
Ok, ok. In order to compile the flcs into a Civ3 flc using Flicster, all the flc must be properly named and the name must match those in the ini file, say StormtrooperAttackA.ini. In the ini file you will see the following:
file=StormtrooperAttackA.flc
xs_orig= 240
ys_orig= 240
x_offset= 68
y_offset= 62
anim_time= 1250
SW=StormtrooperAttackA_SW.FLC
S=StormtrooperAttackA_S.FLC
SE=StormtrooperAttackA_SE.FLC
E=StormtrooperAttackA_E.FLC
NE=StormtrooperAttackA_NE.FLC
N=StormtrooperAttackA_N.FLC
NW=StormtrooperAttackA_NW.FLC
W=StormtrooperAttackA_W.FLC
The first line tell Flicster that the compiled file is to be called StormtrooperAttackA.flc and the 8 lines at the bottom tells Flicster which file is to be used for each of the direction. The dimension of all the flc files must be the same (eg. All 100 x 100 or something).
The xs_orig and ys_orig is basically the max size of the flc, which is 240x240 and same for all unit flc. The x_offset and y_offset is basically when the top left corner of the flc is from the top max point of 0,0. Its basically x/2 and y/2 of your flc and thats what keep the flc in the center when it is played in Civ3.
Anim_time controls the speed of the animation. Do remember that when you compile the flc in animation shop you need to make each frame with the delay of 1 only. A delay of 10 will become 10 frames when saved and that will make your real animation 10 times slower in Civ3.
As to your color problem, I believe it can all be solved with the palette. Just use load palette in PaintShopPro and edit to palette to contain the color you want. Keep the last one pink as that is your transparent background color. And when you create a new flc, do not create as transparent but instead create it as Opaque with pink (255,0,255) as the opaque color. If you have already created the flc using transparent, all you need to do is to create a blank opaque flc with the same dimension and insert your flc into this new flc by using add frames from file.

Lastly, the first 64 color in the palette is used for Civ colors and should not be used for other purposes. The last 64 color before the pink is used for shadow and it also should not be used for other purposes. You actually only need the last 8 for shadow unless you plan to have 64 shade for your shadow. Just fill the other 56 spots with some color your are not using in the flc and you should be fine.
Hope that helps with your problem.
