Difference between revisions of "TerrainCodesWML"

From The Battle for Wesnoth Wiki
m (Values of terrain letters: added great elven tree)
(no need to document any terrain changes for versions < 1.0)
Line 7: Line 7:
 
See [[TerrainWML]] for information on how to define a terrain.
 
See [[TerrainWML]] for information on how to define a terrain.
  
These are terrains defined in data/terrain.cfg of 0.8.5
+
These are terrains defined in data/terrain.cfg of 1.0
 
(or later versions as noted):
 
(or later versions as noted):
  
 
* '''A''' human (snow) hill village
 
* '''A''' human (snow) hill village
 
* '''a''' human hill village
 
* '''a''' human hill village
* '''B''' desert village (adobe) (0.8.9)
+
* '''B''' desert village (adobe)
 
* '''b''' human mountain village
 
* '''b''' human mountain village
 
* '''C''' castle
 
* '''C''' castle
Line 18: Line 18:
 
* '''D''' underground village (cave, village), "dungeon village"
 
* '''D''' underground village (cave, village), "dungeon village"
 
* '''d''' sand, (old desert)
 
* '''d''' sand, (old desert)
* '''E''' desert road (0.8.9)
+
* '''E''' desert road
 
* '''e''' elven (snow) village (only in trunk)
 
* '''e''' elven (snow) village (only in trunk)
 
* '''F''' forest (snow)
 
* '''F''' forest (snow)
 
* '''f''' forest
 
* '''f''' forest
* '''G''' savanna (grass) (0.8.9)
+
* '''G''' savanna (grass)
 
* '''g''' grass
 
* '''g''' grass
 
* '''H''' hills (snow)
 
* '''H''' hills (snow)
 
* '''h''' hills
 
* '''h''' hills
* '''I''' desert (0.8.9)
+
* '''I''' desert
 
* '''i''' ice (tundra)
 
* '''i''' ice (tundra)
* '''J''' desert hills (0.8.9)
+
* '''J''' desert hills
 
* '''j''' -nothing- (will be snowy mountains)
 
* '''j''' -nothing- (will be snowy mountains)
 
* '''K''' keep (castle)
 
* '''K''' keep (castle)
* '''k''' river ford (grass, shallow water) (0.8.12)
+
* '''k''' river ford (grass, shallow water)
* '''L''' tropical forest village (savanna, village) (0.8.9)
+
* '''L''' tropical forest village (savanna, village)
* '''l''' lava (canyon) (0.8.12)
+
* '''l''' lava (canyon)
* '''M''' desert mountains (0.8.9)
+
* '''M''' desert mountains
 
* '''m''' mountain
 
* '''m''' mountain
* '''N''' ruined castle (0.8.12)
+
* '''N''' ruined castle
 
* '''n''' encampment (castle)
 
* '''n''' encampment (castle)
 
* '''O''' -nothing- ( will probably be an Orc Castle one day )
 
* '''O''' -nothing- ( will probably be an Orc Castle one day )
 
* '''o''' dwarven castle (castle)
 
* '''o''' dwarven castle (castle)
* '''P''' desert oasis (0.8.9)
+
* '''P''' desert oasis
 
* '''p''' dwarven village (1.1-SVN), was pier (removed in 0.8.7 - use bridge instead)
 
* '''p''' dwarven village (1.1-SVN), was pier (removed in 0.8.7 - use bridge instead)
* '''Q''' sunken ruin (0.8.12)
+
* '''Q''' sunken ruin
* '''q''' ruin (swamp) (0.8.12)
+
* '''q''' ruin (swamp)
 
* '''R''' road (grass)
 
* '''R''' road (grass)
 
* '''r''' dirt (grass)
 
* '''r''' dirt (grass)
 
* '''S''' tundra
 
* '''S''' tundra
 
* '''s''' deep water
 
* '''s''' deep water
* '''T''' forest (tropical) (0.8.9)
+
* '''T''' forest (tropical)
 
* '''t''' village
 
* '''t''' village
* '''U''' desert village (tent) (0.8.9)
+
* '''U''' desert village (tent)
 
* '''u''' cave
 
* '''u''' cave
 
* '''V''' snow village (tundra, village)
 
* '''V''' snow village (tundra, village)

Revision as of 04:13, 29 January 2006

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 1.0 (or later versions as noted):

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

Reserved letters and non-letter Characters

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.

Note:

  • UtBS uses: @ ^ & *
  • FtF uses: @ ^  % '
  • Wesvoid uses:  % *
  • Seed of Evil: ^
  • no other UMCs above version 0.3 uses non-letter character for custom terrains.

See Also