Difference between revisions of "Mountain set"

From Worms Knowledge Base

Jump to: navigation, search
 
(One intermediate revision 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 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. Colour 14 is also erroneously used for transparency on the front layer, resulting in two color references for transparency. As a result, the frontmost layer can only truly be 15 colors.
  
 
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 17:17, 23 October 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 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. Colour 14 is also erroneously used for transparency on the front layer, resulting in two color references for transparency. As a result, the frontmost layer can only truly be 15 colors.

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