PresetMaps.wiki
changeset 798 30c5f1ebd552
parent 747 5b084a7e8574
child 1007 74af6339638b
equal deleted inserted replaced
797:ffa20ab0669b 798:30c5f1ebd552
    82   * Black (0, 0, 0) pixels will be terrain with background texture applied (Note: Adding any black pixels removes erasure protection from areas where the map.png is solid but the mask.png is transparent) - 0.9.17+
    82   * Black (0, 0, 0) pixels will be terrain with background texture applied (Note: Adding any black pixels removes erasure protection from areas where the map.png is solid but the mask.png is transparent) - 0.9.17+
    83   * Red (255, 0, 0) pixels will be indestructible terrain (regardless of game mode settings)
    83   * Red (255, 0, 0) pixels will be indestructible terrain (regardless of game mode settings)
    84   * Blue (0, 0, 255) pixels will be ice - 0.9.17+
    84   * Blue (0, 0, 255) pixels will be ice - 0.9.17+
    85   * Green (0, 255, 0) pixels are bouncy (since 0.9.20) and block portals (since 0.9.18). This mask can be used normally for maps or theme objects. If bouncing is implemented and the green pixels should only block portals, place a dotted line of single red or black or white pixels 3 pixels above the green, spaced 3 pixels apart each. This will keep most objects from interacting with the green, but prevent portal spawning.
    85   * Green (0, 255, 0) pixels are bouncy (since 0.9.20) and block portals (since 0.9.18). This mask can be used normally for maps or theme objects. If bouncing is implemented and the green pixels should only block portals, place a dotted line of single red or black or white pixels 3 pixels above the green, spaced 3 pixels apart each. This will keep most objects from interacting with the green, but prevent portal spawning.
    86 
    86 
    87 It is recommended that your file _only_ consists of pixels which have one of the values above. This ensures that the masks works properly for your map and avoids unexpected behaviour. Also, it makes your file significantly smaller. [http://www.hedgewars.org/node/3339 Here] is a simple guide describing how you can ensure that.
    87 It is recommended that your file _only_ consists of pixels which have one of the values above. This ensures that the masks works properly for your map and avoids unexpected behaviour. Also, it makes your file significantly smaller. [https://www.hedgewars.org/node/3339 Here] is a simple guide describing how you can ensure that.
    88 
    88 
    89 *Examples:*
    89 *Examples:*
    90   * [http://hg.hedgewars.org/hedgewars/raw-file/default/share/hedgewars/Data/Maps/portal/mask.png Mask] of [http://hg.hedgewars.org/hedgewars/raw-file/default/share/hedgewars/Data/Maps/portal/map.png Portal Map]
    90   * [https://hg.hedgewars.org/hedgewars/raw-file/default/share/hedgewars/Data/Maps/portal/mask.png Mask] of [https://hg.hedgewars.org/hedgewars/raw-file/default/share/hedgewars/Data/Maps/portal/map.png Portal Map]
    91 (Transparent areas may not be recognizeable as such in your browser/image preview program, so open e.g. in [http://www.gimp.org/ Gimp])
    91 (Transparent areas may not be recognizeable as such in your browser/image preview program, so open e.g. in [http://www.gimp.org/ Gimp])
    92 
    92 
    93 
    93 
    94 ==== `map.lua` ====
    94 ==== `map.lua` ====
    95 A Lua script to be used together with the map.
    95 A Lua script to be used together with the map.
   107 ----
   107 ----
   108 == Editing software recommendations ==
   108 == Editing software recommendations ==
   109 === Images ===
   109 === Images ===
   110 A vector based drawing software is recommended for creating the maps.
   110 A vector based drawing software is recommended for creating the maps.
   111 
   111 
   112 (Reasons for that: Edges are usually automatically smoothed on export; Easier to meet [http://www.hedgewars.org/node/704 Hedgewars Graphics rules, style constraints, guidelines]; Images are easier to change, adjust and maintain style)
   112 (Reasons for that: Edges are usually automatically smoothed on export; Easier to meet [https://www.hedgewars.org/node/704 Hedgewars Graphics rules, style constraints, guidelines]; Images are easier to change, adjust and maintain style)
   113 
   113 
   114 If you don't have one, check out the free open-source [http://inkscape.org Inkscape]: There are various [http://lmgtfy.com/?q=inkscape+tutorial Inkscape tutorials] online, so you should be able to get started easily.
   114 If you don't have one, check out the free open-source [http://inkscape.org Inkscape]: There are various [http://lmgtfy.com/?q=inkscape+tutorial Inkscape tutorials] online, so you should be able to get started easily.
   115 
   115 
   116 == Sharing image maps ==
   116 == Sharing image maps ==
   117 You can only play a game with a custom image map against other players online if all participating players have the image map installed under the same name.
   117 You can only play a game with a custom image map against other players online if all participating players have the image map installed under the same name.
   118 
   118 
   119 If any player does not have the image map installed, the game will fail to start and an error message is displayed.
   119 If any player does not have the image map installed, the game will fail to start and an error message is displayed.
   120 
   120 
   121 If you wish, you can post your custom-made image map in the [http://www.hedgewars.org/forum/19 Content Creations] forum.
   121 If you wish, you can post your custom-made image map in the [https://www.hedgewars.org/forum/19 Content Creations] forum.