Difference between revisions of "ReplaceMapWML"
From The Battle for Wesnoth Wiki
|
|
(3 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | {{WML Tags}}
| + | #REDIRECT [[DirectActionsWML]] |
− | == The [replace_map] tag ==
| |
− | {{DevFeature}}
| |
− | The [replace_map] tag allows a complete change of the map in a scenario. Unlike [[terrain_mask]], changing the map size is possible, although requires special attention. Since the map is changed completely, there is no equivalent of terrain_mask "alpha channel" feature.
| |
− | | |
− | * '''map''': a Wesnoth map; see [[BuildingMaps]].
| |
− | * '''expand''': (default=no) allow the map size to increase (in either dimension)
| |
− | * '''shrink''': (default=no) allow the map size to decrease (in either direction)
| |
− | | |
− | Expanding maps are generally more predictable than shrinking maps. When shrinking, units left off the new map area will be added to a recall list if there is one, otherwise an error message is issued.
| |
− | | |
− | The expansion direction is currently always bottom-right.
| |
Latest revision as of 22:40, 13 April 2010
This page was last edited on 13 April 2010, at 22:40.