TerrainCodesWML

From The Battle for Wesnoth Wiki
Revision as of 14:54, 9 July 2005 by WikiSysop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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' -nothing-
  • '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' pier (grass, shallow water) (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
  • '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. Use campaign definitions (see CampaignWML) to prevent your custom terrains from interfering with other campaigns.

See Also