Difference between revisions of "Mountain set"

From Worms Knowledge Base

Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
Mountain sets must be converted from two IFF templates - one for the front layer of mountains, one for the back. While the image dimensions must be 384x256, the dimensions of the mountains in the image themselves must be 384x110 for the front layer, and 384x28 for the back.
 
Mountain sets must be converted from two IFF templates - one for the front layer of mountains, one for the back. While the image dimensions must be 384x256, the dimensions of the mountains in the image themselves must be 384x110 for the front layer, and 384x28 for the back.
  
Both layers must use an identical 16-colour palette. Palette reference 0 is the transparency, but unlike colour maps and DIY terrains this does not necessarily have to be a dark colour (the template images included with WormsDC use purple, for example). Palette reference 15 is used to fill the space below the bottommost edge of the back layer, most of which goes unseen as the front layer is placed in front of it, but colour 15 should ideally be used as a "substitute" transparency for the front layer, as using colour 0 reveals further sky gradient below the bottom of the rear layer.
+
Both layers use 16-colour palettes, though they do not need to be identical. Palette colour 0 is the transparency, but unlike colour maps and DIY terrains this does not necessarily have to be a dark colour (the template images included with WormsDC use purple, for example).
 +
 
 +
For the background mountains (MNT1), palette colour 15 is used to fill the space below the bottommost edge of the back layer.
 +
 
 +
For the foreground mountains (MNT2), palette colour 14 is ised for this, while Colour 15 is used as an additional transparency.
  
 
If the templates are being created using DeluxePaint it is important that the images not be saved with the "Stencil" feature turned on, as loading mountain sets created from IFF templates with this enabled [[Loading maps saved with DeluxePaint "Stencil" feature active crashes the game|crashes the game]].
 
If the templates are being created using DeluxePaint it is important that the images not be saved with the "Stencil" feature turned on, as loading mountain sets created from IFF templates with this enabled [[Loading maps saved with DeluxePaint "Stencil" feature active crashes the game|crashes the game]].
  
 
Once the template images are complete they must be imported using [[WormPrefs]]' "Create Mountains" feature, where the mountain set will be saved as a .MNT file.
 
Once the template images are complete they must be imported using [[WormPrefs]]' "Create Mountains" feature, where the mountain set will be saved as a .MNT file.

Latest revision as of 22:26, 5 November 2024

(Up to File formats)

WormsDC includes support for custom mountains, which can be used for colour maps and DIY terrains. They are stored in the "TWMOUNTAINS" drawer.

Mountain sets must be converted from two IFF templates - one for the front layer of mountains, one for the back. While the image dimensions must be 384x256, the dimensions of the mountains in the image themselves must be 384x110 for the front layer, and 384x28 for the back.

Both layers use 16-colour palettes, though they do not need to be identical. Palette colour 0 is the transparency, but unlike colour maps and DIY terrains this does not necessarily have to be a dark colour (the template images included with WormsDC use purple, for example).

For the background mountains (MNT1), palette colour 15 is used to fill the space below the bottommost edge of the back layer.

For the foreground mountains (MNT2), palette colour 14 is ised for this, while Colour 15 is used as an additional transparency.

If the templates are being created using DeluxePaint it is important that the images not be saved with the "Stencil" feature turned on, as loading mountain sets created from IFF templates with this enabled crashes the game.

Once the template images are complete they must be imported using WormPrefs' "Create Mountains" feature, where the mountain set will be saved as a .MNT file.

Personal tools