Difference between revisions of "Line of sight"

From CrawlWiki
Jump to: navigation, search
m (History)
(History: most of the history wasn't about LOS itself)
Line 44: Line 44:
  
 
==History==
 
==History==
*In [[0.26]], [[scarves]] of shadows were added, the [[Darkness]] spell was removed, and [[Nightstalker]] was changed from a potential [[Demonspawn mutations|Demonspawn mutation]] to a [[Kobold]] innate ability.
+
*Prior to [[0.17]], line of sight was circular, with a radius of about 8. You could see slightly less tiles overall, and saw much less in diagonal directions.
 +
*In [[0.7]], the [[developers]] made an undocumented change to the LOS. Ranges became circular, so every spell and ability with a set range got about two squares lopped off the diagonals. Stealthy characters could reach their target in 5 squares (instead of 8) at certain angles.
 +
 
 +
===Changing LOS===
 +
*In [[0.26]], the LOS-reducing [[shadows]] ego was added, the [[Darkness]] spell was removed, and [[Nightstalker]] was changed from a potential [[Demonspawn mutations|Demonspawn mutation]] to a [[Kobold]] innate ability.
 
*In [[0.20]], [[Barachim]] and their unique +LOS mutation were added.
 
*In [[0.20]], [[Barachim]] and their unique +LOS mutation were added.
 
*Prior to [[0.19]], the [[Shadow card]] existed and could be used to further reduce the player's LOS.
 
*Prior to [[0.19]], the [[Shadow card]] existed and could be used to further reduce the player's LOS.
 
*Prior to [[0.18]], the [[lantern of shadows]] existed and could be used to further reduce the player's LOS.
 
*Prior to [[0.18]], the [[lantern of shadows]] existed and could be used to further reduce the player's LOS.
*Prior to [[0.17]], line of sight was circular, with a radius of about 8. You could see slightly less tiles overall, and saw much less in diagonal directions.
 
*In [[0.7]], the [[developers]] made an undocumented change to the LOS. Ranges became circular, so every spell and ability with a set range got about two squares lopped off the diagonals. Stealthy characters could reach their target in 5 squares (instead of 8) at certain angles.
 
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]

Revision as of 18:55, 29 October 2022

Version 0.28: This article may not be up to date for the latest stable release of Crawl.
Line of sight (often abbreviated to LOS) refers to the portion of the Dungeon that you can see. The default LOS used by most species is out to 7 spaces, or a 15x15 square.

There are some ways to change your line of sight:

  • A scarf of shadows reduces LOS by 1.
  • The Robe of Night reduces LOS by 25%, rounded down.
  • Kobolds start with rank 3 of Nightstalker, reducing LOS by 3 tiles to 4 spaces (9x9 square).
  • Barachim have an innate mutation that increases their default LOS by 1, to a total of 8 spaces (17x17 square).

Line of sight is similar to, but distinct from, "line of effect" (i.e. the area of the Dungeon you may interact with). Most of the time, they are interchangeable, but some situations may result in places you can see but not affect (such as tiles behind transparent walls) or can affect but cannot see (such as shooting a fireball into a cloud of smoke).

The following picture shows tiles within the default field of view with their grid distance.

777777777777777
766666666666667
765555555555567
765444444444567
765433333334567
765432222234567
765432111234567
7654321@1234567
765432111234567
765432222234567
765433333334567
765444444444567
765555555555567
766666666666667
777777777777777

Strategy

If you can't see them, they can't see you. With very few exceptions, enemies that can't see you can't attack you.

There are several ways to break your line of sight with an enemy:

History

  • Prior to 0.17, line of sight was circular, with a radius of about 8. You could see slightly less tiles overall, and saw much less in diagonal directions.
  • In 0.7, the developers made an undocumented change to the LOS. Ranges became circular, so every spell and ability with a set range got about two squares lopped off the diagonals. Stealthy characters could reach their target in 5 squares (instead of 8) at certain angles.

Changing LOS