darkpanda
Dark Prince
- Joined
- Oct 28, 2007
- Messages
- 829
@darkpanda 18, 36, 62, 230 display as magenta, 232 displays as red, 25 displays as grey, 45 displays correctly as you mentioned. The transparent colour is index 0 and wasn’t it there in the sheet all along? For the fortress icon and the resource icons and so on.
Do I understand correctly that I’ll need to make sp256/7.pal and iconpga.pal match?
No they should not match. From experience, what usually happens when using pictures from multiple resources at the same time, CIV will merge palettes from different pictures, to obtain a single palette (magenta is not merged):
- From SP257.PIC, the palette has colors up to index 127 and from 224 to 255, all the rest is shown as "magenta" meaning "no color".
- From ICONPGA.PIC, the palette has colors from index 85 up to 255.
So the resulting merged palette should without problem contain colors 0 to 84 taken from SP257.PIC, and colors 128 to 223 taken from ICONPGA.PIC.
However for colors 85 to 127 and 224 to 255, there is a conflict between SP257.PIC and ICONPGA.PIC since both contain colors at those indexes... I can't know the behaviour until I investigate further.
Also, from the behaviour you describe, 18, 36, 62 as magenta, as well as 232 as red, clearly match the ICONPGA.PIC palette, but not the 25 as grey nor the 45 as beige, so the "merging" pattern is not applying here...
Re: leaders, does it mean that the edited sheet must exactly follow the original? As in, one may only draw within the areas I covered black here, and not go outside?
No when I say "animated area" I mean the entire smaller rectangles. Those "small" rectangles will be copied to a specific rectangular place over the "big leader graphics", and I mean that the position of this specific rectangular place is different for each leader, and probably hard-coded in CIV.EXE.
So when you want to create a new leader, the position of the face and animated area on the big graphics must match exactly the one of the original leader you are replacing... I'm not sure it's clearer If I have time later I will try to illustrate my point with pictures