Difference between revisions of "Colour map (first generation)"
From Worms Knowledge Base
Line 5: | Line 5: | ||
= Worms = | = Worms = | ||
The Amiga version of Worms supports .WRM files, a customised .IFF variant. | The Amiga version of Worms supports .WRM files, a customised .IFF variant. | ||
− | Worms maps need to be in a paletted 8-colour mode. | + | Worms maps need to be in a paletted 8-colour mode at a size of 960x350. |
Additional information concerning gravity and friction are stored in the .info icon file for the .WRM file (all Amiga files with icons have an accompanying .info file, otherwise they are "hidden" files). | Additional information concerning gravity and friction are stored in the .info icon file for the .WRM file (all Amiga files with icons have an accompanying .info file, otherwise they are "hidden" files). | ||
The water and sky colours can be modified by including a set of four numbers prior to the extension but after the map name, e.g. "RUSHMORE.1234.WRM". | The water and sky colours can be modified by including a set of four numbers prior to the extension but after the map name, e.g. "RUSHMORE.1234.WRM". | ||
Line 20: | Line 20: | ||
= Worms: The Directors Cut = | = Worms: The Directors Cut = | ||
WormsDC features support for the above .WRM map files, as well as a new 16-colour .WRM16 map format. Like its predecessor, the .WRM16 file format is a variant of the .IFF image file format. | WormsDC features support for the above .WRM map files, as well as a new 16-colour .WRM16 map format. Like its predecessor, the .WRM16 file format is a variant of the .IFF image file format. | ||
− | .WRM16 files must be in a paletted 16-colour mode. | + | .WRM16 files must be in a paletted 16-colour mode at a size of 960x350. |
Additional information concerning gravity, friction, water colour & type, and mountain set & palette are incorporated into the file using [[WormPrefs]], which can also be used to insert a background later into the map. | Additional information concerning gravity, friction, water colour & type, and mountain set & palette are incorporated into the file using [[WormPrefs]], which can also be used to insert a background later into the map. | ||
Revision as of 01:59, 6 June 2007
The Amiga versions of Worms and Worms: The Directors Cut allow for colour maps, as does Worms: Reinforcements and Worms United for MS-DOS.
Worms
The Amiga version of Worms supports .WRM files, a customised .IFF variant. Worms maps need to be in a paletted 8-colour mode at a size of 960x350. Additional information concerning gravity and friction are stored in the .info icon file for the .WRM file (all Amiga files with icons have an accompanying .info file, otherwise they are "hidden" files). The water and sky colours can be modified by including a set of four numbers prior to the extension but after the map name, e.g. "RUSHMORE.1234.WRM".
The palette must contain the following colour references, as they are also used for other elements of the game:
- 00 - Black or dark colour (transparency)
- 01 - White or near-white (also used for sheep, worms' eyes, worms' name/HP font, and graves)
- 02 - Pink (also used for worms' bodies and antialiasing on worms' name/HP font)
- 03 - Any colour (also used for mines and crates)
- 04 - Lighter variant of 03 (also used for shading on mines and crates)
- 05-07 - Any colours
Worms: The Directors Cut
WormsDC features support for the above .WRM map files, as well as a new 16-colour .WRM16 map format. Like its predecessor, the .WRM16 file format is a variant of the .IFF image file format. .WRM16 files must be in a paletted 16-colour mode at a size of 960x350. Additional information concerning gravity, friction, water colour & type, and mountain set & palette are incorporated into the file using WormPrefs, which can also be used to insert a background later into the map.
The palette must contains the following colour references, as they are also used for other elements of the game:
- 00 - Black or dark colour (transparency)
- 01 - White or near-white (also used for sheep, worms' eyes, worms' name/HP font, and graves)
- 02 - Pink (also used for worms' bodies and antialiasing on worms' name/HP font)
- 03 - Any colour (also used for mines)
- 04 - Lighter variant of 03 (also used for shading on mines)
- 05 - Any colour (also used for crates)
- 06 - Lighter variant of 05 (also used for shading on crates)
- 07-15 - Any colours
Unlike the background that is placed in randomly generated terrains, custom maps can have backgrounds that extend beyond the physical play area. For example your level could incorporate the interior of a house, complete with decorated walls, etc.
Worms: Reinforcements / United
The MS-DOS version of Worms supports .PCX files, a common palleted image format. Maps must be 960x400, although with a 32 pixel gap on top for the KO bar. They can only use the first 80 colors of the pallete, color 0 being the transparent color. After which, they have to be processed by the GFXCON utility (in WORMS\EXTRAS\GFXCON) to remap the pallete for in-game use. After this, you can re-edit the PCX to customize the map colors:
- 80-95 (50H-5FH) - Water. A spread of 1 colour is usually best.
- 16-31 (10H-1FH) - Front background layer. You will have to check depending on the chosen background graphic, to see what is best as some gfx have cities in them etc.
- 129-175 (81H-AFH) - Back background layer. Remember that the top half of mountain graphics is usually the sky.
Additional information concerning gravity and friction are stored in a .INF file for the .PCX file, which contains a series of comma-separated numbers (as well as any misc. text you want to add), by this order:
- GRAVITY
- 0 - Minimum
- 1 - Medium
- 2 - Maximum
- FRICTION
- 0 - Minimum
- 1 - Medium
- 2 - Maximum
- WIND STRENGTH
- 0 - Off
- 1 - Minimum
- 2 - Medium
- 3 - Maximum
- BACKGROUND MOUNTAIN SET
- 0 - Mountains
- 1 - Alien
- 2 - Hell
- 3 - Alps (1)
- 4 - Alps (2)
- WATER SET
- 0 - Default/Normal
- 1 - Martian Gloop
- 2 - Fire
- CD-TRACK TO PLAY ON LEVEL
- 0 - Forest/Ambience
- 1 - Hell/Evil
- 2 - Snow/Icel
- 3 - Alien
- 4 - Arid/Desert
- 5 - City/Urban
- 6 - Warzone
- 7 - Spooky/Graveyard
- 8 - Bizarre Ambiences
- 9 - Znork in Z minor Music
- 10 - Alps/Farmyard Ambience
You can also use your own background graphics (overwriting the above) by including two more .PCX files, renamed as .BK1 and .BK2. BK1 is the front layer and must be 320x200, using the 16 first colours. BK2 is the back layer and must be 320x200, using 48 first colours. Again, colour 0 is transparent. The palletes are automatically remapped in-game. Note: The bottom line of pixels MUST be all the same colour!