TerrainCodesWML

From The Battle for Wesnoth Wiki
Revision as of 02:43, 27 January 2006 by Eleazar (talk | contribs) (Values of terrain letters: improved formatting)

Values of terrain letters

What each letter represents in Wesnoth maps, and the possible values of the letter key.

Any letters can be used for a terrain except for newline. See TerrainWML for information on how to define a terrain.

These are terrains defined in data/terrain.cfg of 0.8.5 (or later versions as noted):

  • A human (snow) hill village
  • a human hill village
  • B desert village (adobe) (0.8.9)
  • b human mountain village
  • C castle
  • c shallow water, "coast"
  • D underground village (cave, village), "dungeon village"
  • d sand, (old desert)
  • E desert road (0.8.9)
  • e elven (snow) village (only in trunk)
  • F forest (snow)
  • f forest
  • G savanna (grass) (0.8.9)
  • g grass
  • H hills (snow)
  • h hills
  • I desert (0.8.9)
  • i ice (tundra)
  • J desert hills (0.8.9)
  • j -nothing-
  • K keep (castle)
  • k river ford (grass, shallow water) (0.8.12)
  • L tropical forest village (savanna, village) (0.8.9)
  • l lava (canyon) (0.8.12)
  • M desert mountains (0.8.9)
  • m mountain
  • N ruined castle (0.8.12)
  • n encampment (castle)
  • O -nothing- ( will probably be an Orc Castle one day )
  • o dwarven castle (castle)
  • P desert oasis (0.8.9)
  • p dwarven village (1.1-SVN), was pier (removed in 0.8.7 - use bridge instead)
  • Q sunken ruin (0.8.12)
  • q ruin (swamp) (0.8.12)
  • R road (grass)
  • r dirt (grass)
  • S tundra
  • s deep water
  • T forest (tropical) (0.8.9)
  • t village
  • U desert village (tent) (0.8.9)
  • u cave
  • V snow village (tundra, village)
  • v human village (village)
  • W cavewall
  • w swamp
  • X canyon (replaced by chasm in trunk)
  • x reserved
  • Y swamp village (swamp, village)
  • y reserved
  • Z mermen village (shallow water)
  • z reserved
  • /,|,\ bridge (grass, shallow water)
  • ~ fog
  • ' ' shroud

Reserved letters are for custom terrains in user-made campaigns. In addition to these it is currently also possible to use other characters not on the above list to represent custom terrain, such as ½ § @ % [ ] etc., but new "official" terrain may be assigned for these characters in the future. So when creating custom terrain, the letters marked as reserved on the above list should be used first. Use campaign definitions (see CampaignWML) to prevent your custom terrains from interfering with other campaigns.

See Also