PresetMaps.wiki
changeset 329 21830c0b19f3
parent 323 b1f26e44ce70
child 336 43e9272e3153
equal deleted inserted replaced
328:fdc71ac8db83 329:21830c0b19f3
    22 *Examples:*
    22 *Examples:*
    23   * _Data/Maps/!MyVeryOwnMap_
    23   * _Data/Maps/!MyVeryOwnMap_
    24   * _Data/Maps/Ropes_
    24   * _Data/Maps/Ropes_
    25   * _Data/Maps/Sheep_
    25   * _Data/Maps/Sheep_
    26   * etc.
    26   * etc.
       
    27 
       
    28 == Mission Maps ==
       
    29 
       
    30 Missions may use preset maps that aren't located in the *Data/Maps* directory.
       
    31 
       
    32 A mission may contain in the same directory with mission's lua script a .hwp file.
       
    33 
       
    34 This file is a zip file with an altered extension from *.zip* to *.hwp* and it contains the directory *Maps/some_name*.
       
    35 
       
    36 In the *some_name* directory the files map.cfg, map.png and mask.png are located. See the Basic Files section for more on these files.
       
    37 
       
    38 The name of the *.hwp* file should be the same with the mission script.
       
    39 
       
    40 In the mission script's onGameInit(), map should be set to *some_name*. See [LuaAPI] for more about onGameInit().
    27 
    41 
    28 ----
    42 ----
    29 
    43 
    30 = Files =
    44 = Files =
    31 
    45