Difference between revisions of "Custom map symbols"

From NetHackWiki
Jump to navigation Jump to search
(Ray Chason moved page Custom map symbols to Custom map symbols (historic): Content is historic; preparing to write a new page for 3.6.0)
 
(Noted that you can set multiple symbols per line)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
#REDIRECT [[Custom map symbols (historic)]]
+
''For corresponding features in [[NetHack 3.4.3]] and variants based on it, see [[Custom map symbols (historic)]].''
 +
 
 +
Beginning with [[NetHack 3.6.0]], the configuration file can customize the map symbols using lines of the form SYMBOLS=''symbol name'':''character''. You can set multiple symbols per line, separated by commas, for example:
 +
SYMBOLS=S_boulder:0, S_web:^
 +
 
 +
The symbol name is from the same list used by the [[symset|symbols file]]:
 +
 
 +
* S_stone
 +
* S_vwall
 +
* S_hwall
 +
* S_tlcorn
 +
* S_trcorn
 +
* S_blcorn
 +
* S_brcorn
 +
* S_crwall
 +
* S_tuwall
 +
* S_tdwall
 +
* S_tlwall
 +
* S_trwall
 +
* S_ndoor
 +
* S_vodoor
 +
* S_hodoor
 +
* S_vcdoor
 +
* S_hcdoor
 +
* S_bars
 +
* S_tree
 +
* S_room
 +
* S_corr
 +
* S_litcorr
 +
* S_upstair
 +
* S_dnstair
 +
* S_upladder
 +
* S_dnladder
 +
* S_altar
 +
* S_grave
 +
* S_throne
 +
* S_sink
 +
* S_fountain
 +
* S_pool
 +
* S_ice
 +
* S_lava
 +
* S_vodbridge
 +
* S_hodbridge
 +
* S_vcdbridge
 +
* S_hcdbridge
 +
* S_air
 +
* S_cloud
 +
* S_poisoncloud
 +
* S_water
 +
* S_arrow_trap
 +
* S_dart_trap
 +
* S_falling_rock_trap
 +
* S_squeaky_board
 +
* S_bear_trap
 +
* S_land_mine
 +
* S_rolling_boulder_trap
 +
* S_sleeping_gas_trap
 +
* S_rust_trap
 +
* S_fire_trap
 +
* S_pit
 +
* S_spiked_pit
 +
* S_hole
 +
* S_trap_door
 +
* S_teleportation_trap
 +
* S_level_teleporter
 +
* S_magic_portal
 +
* S_web
 +
* S_statue_trap
 +
* S_magic_trap
 +
* S_anti_magic_trap
 +
* S_polymorph_trap
 +
* S_vbeam
 +
* S_hbeam
 +
* S_lslant
 +
* S_rslant
 +
* S_digbeam
 +
* S_flashbeam
 +
* S_boomleft
 +
* S_boomright
 +
* S_goodpos
 +
* S_ss1
 +
* S_ss2
 +
* S_ss3
 +
* S_ss4
 +
* S_sw_tl
 +
* S_sw_tc
 +
* S_sw_tr
 +
* S_sw_ml
 +
* S_sw_mr
 +
* S_sw_bl
 +
* S_sw_bc
 +
* S_sw_br
 +
* S_explode1
 +
* S_explode2
 +
* S_explode3
 +
* S_explode4
 +
* S_explode5
 +
* S_explode6
 +
* S_explode7
 +
* S_explode8
 +
* S_explode9
 +
* S_weapon
 +
* S_armor or S_armour
 +
* S_ring
 +
* S_amulet
 +
* S_tool
 +
* S_food
 +
* S_potion
 +
* S_scroll
 +
* S_book
 +
* S_wand
 +
* S_coin
 +
* S_gem
 +
* S_rock
 +
* S_ball
 +
* S_chain
 +
* S_venom
 +
* S_ant
 +
* S_blob
 +
* S_cockatrice
 +
* S_dog
 +
* S_eye
 +
* S_feline
 +
* S_gremlin
 +
* S_humanoid
 +
* S_imp
 +
* S_jelly
 +
* S_kobold
 +
* S_leprechaun
 +
* S_mimic
 +
* S_nymph
 +
* S_orc
 +
* S_piercer
 +
* S_quadruped
 +
* S_rodent
 +
* S_spider
 +
* S_trapper
 +
* S_unicorn
 +
* S_vortex
 +
* S_worm
 +
* S_xan
 +
* S_light
 +
* S_zruty
 +
* S_angel
 +
* S_bat
 +
* S_centaur
 +
* S_dragon
 +
* S_elemental
 +
* S_fungus
 +
* S_gnome
 +
* S_giant
 +
* S_jabberwock
 +
* S_kop
 +
* S_lich
 +
* S_mummy
 +
* S_naga
 +
* S_ogre
 +
* S_pudding
 +
* S_quantmech
 +
* S_rustmonst
 +
* S_snake
 +
* S_troll
 +
* S_umber
 +
* S_vampire
 +
* S_wraith
 +
* S_xorn
 +
* S_yeti
 +
* S_zombie
 +
* S_human
 +
* S_ghost
 +
* S_golem
 +
* S_demon
 +
* S_eel
 +
* S_lizard
 +
* S_worm_tail
 +
* S_mimic_def
 +
* S_boulder
 +
* S_invisible
 +
 
 +
The character is likewise formatted as in the symset file. It can be a single literal character or an escape code having the form \x00 for hex, \000 for octal or \d000 for decimal.
 +
 
 +
An example:
 +
 
 +
:SYMBOLS=S_boulder:0
 +
 
 +
sets the boulder to display as {{lightgray|0}}.
 +
 
 +
Non-[[ASCII]] characters will display according to the character set that the terminal or graphical system supports.
 +
 
 +
{{nethack-360}}

Latest revision as of 23:07, 28 December 2015

For corresponding features in NetHack 3.4.3 and variants based on it, see Custom map symbols (historic).

Beginning with NetHack 3.6.0, the configuration file can customize the map symbols using lines of the form SYMBOLS=symbol name:character. You can set multiple symbols per line, separated by commas, for example: SYMBOLS=S_boulder:0, S_web:^

The symbol name is from the same list used by the symbols file:

  • S_stone
  • S_vwall
  • S_hwall
  • S_tlcorn
  • S_trcorn
  • S_blcorn
  • S_brcorn
  • S_crwall
  • S_tuwall
  • S_tdwall
  • S_tlwall
  • S_trwall
  • S_ndoor
  • S_vodoor
  • S_hodoor
  • S_vcdoor
  • S_hcdoor
  • S_bars
  • S_tree
  • S_room
  • S_corr
  • S_litcorr
  • S_upstair
  • S_dnstair
  • S_upladder
  • S_dnladder
  • S_altar
  • S_grave
  • S_throne
  • S_sink
  • S_fountain
  • S_pool
  • S_ice
  • S_lava
  • S_vodbridge
  • S_hodbridge
  • S_vcdbridge
  • S_hcdbridge
  • S_air
  • S_cloud
  • S_poisoncloud
  • S_water
  • S_arrow_trap
  • S_dart_trap
  • S_falling_rock_trap
  • S_squeaky_board
  • S_bear_trap
  • S_land_mine
  • S_rolling_boulder_trap
  • S_sleeping_gas_trap
  • S_rust_trap
  • S_fire_trap
  • S_pit
  • S_spiked_pit
  • S_hole
  • S_trap_door
  • S_teleportation_trap
  • S_level_teleporter
  • S_magic_portal
  • S_web
  • S_statue_trap
  • S_magic_trap
  • S_anti_magic_trap
  • S_polymorph_trap
  • S_vbeam
  • S_hbeam
  • S_lslant
  • S_rslant
  • S_digbeam
  • S_flashbeam
  • S_boomleft
  • S_boomright
  • S_goodpos
  • S_ss1
  • S_ss2
  • S_ss3
  • S_ss4
  • S_sw_tl
  • S_sw_tc
  • S_sw_tr
  • S_sw_ml
  • S_sw_mr
  • S_sw_bl
  • S_sw_bc
  • S_sw_br
  • S_explode1
  • S_explode2
  • S_explode3
  • S_explode4
  • S_explode5
  • S_explode6
  • S_explode7
  • S_explode8
  • S_explode9
  • S_weapon
  • S_armor or S_armour
  • S_ring
  • S_amulet
  • S_tool
  • S_food
  • S_potion
  • S_scroll
  • S_book
  • S_wand
  • S_coin
  • S_gem
  • S_rock
  • S_ball
  • S_chain
  • S_venom
  • S_ant
  • S_blob
  • S_cockatrice
  • S_dog
  • S_eye
  • S_feline
  • S_gremlin
  • S_humanoid
  • S_imp
  • S_jelly
  • S_kobold
  • S_leprechaun
  • S_mimic
  • S_nymph
  • S_orc
  • S_piercer
  • S_quadruped
  • S_rodent
  • S_spider
  • S_trapper
  • S_unicorn
  • S_vortex
  • S_worm
  • S_xan
  • S_light
  • S_zruty
  • S_angel
  • S_bat
  • S_centaur
  • S_dragon
  • S_elemental
  • S_fungus
  • S_gnome
  • S_giant
  • S_jabberwock
  • S_kop
  • S_lich
  • S_mummy
  • S_naga
  • S_ogre
  • S_pudding
  • S_quantmech
  • S_rustmonst
  • S_snake
  • S_troll
  • S_umber
  • S_vampire
  • S_wraith
  • S_xorn
  • S_yeti
  • S_zombie
  • S_human
  • S_ghost
  • S_golem
  • S_demon
  • S_eel
  • S_lizard
  • S_worm_tail
  • S_mimic_def
  • S_boulder
  • S_invisible

The character is likewise formatted as in the symset file. It can be a single literal character or an escape code having the form \x00 for hex, \000 for octal or \d000 for decimal.

An example:

SYMBOLS=S_boulder:0

sets the boulder to display as 0.

Non-ASCII characters will display according to the character set that the terminal or graphical system supports.


This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.0. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-360}} tag to the current version's tag or {{noversion}} as appropriate.