Stratagus Palette Documentation
Stratagus graphics use a 256 color palette.
To see color indices, open the 'Indexed Palette' dialog in gimp.
Some colors are fixed for specific usage as follows:
- 38-47 : Water Cycling. Or any other range as defined in the
scripts with SetColorWaterCycleStart and SetColorWaterCycleEnd.
- 240-244 : Icon Cycling. Or any other range as defined in the
scripts with SetColorIconCycleStart and SetColorIconCycleEnd.
- 205-207 : Building Cycling. Or any other range as defined in the
scripts with SetColorBuildingCycleStart and SetColorBuildingCycleEnd.
- 208-211 : These are the player colors, going from lightest to
darkest and will be replaced depending on the player color.
- The remaining colors may be used as regular colors
NOTE: the cycling applies to all images, eg, the building cycling
occurs for icons as well. The color cycling can be configured
from ccl eg, by editing the "SetColorWaterCycleStart(38)" line
you can set the start for the water cycling. Color cycling can
be disabled or enabled with "SetColorCycleAll".
A sample palette, stratagus.gimp,
is included.
(C) Copyright 1998-2004 by The Stratagus Project
under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.