Difference between revisions of "Movement tactics"

From NetHackWiki
Jump to navigation Jump to search
m (Text replace - "<ref>[ \ ]*{{[ \ ]*[sS]ourcecode[ \ ]*\|[ \ ]*([a-zA-Z_][a-zA-Z0-9_]*\.[ch])[ \ ]*\|[ \ ]*([0-9][0-9]*)[ \ ]*}}[ \ ]*<\/ref>" to "{{refsrc|$1|$2}}")
m (ttymaps; use a yellow dragon (breathing green acid) for better contrast; fix killer bee example room corridor (should be (empty) doorway))
Line 9: Line 9:
 
There are 8 cardinal directions in NetHack.
 
There are 8 cardinal directions in NetHack.
  
Certain [[ranged attack]]s of [[monster]]s only work when in line with you along one of the cardinals. These include thrown projectiles, [[breath attack]]s, [[venom]], and zapped [[wand]]s. Other attacks, such as a [[pyrolisk]]'s gaze, [[Medusa]]'s stare, and spells, can work from any position within a certain range. In the following example, you are safe from the blue [[dragon]], but not from the pyrolisk:
+
Certain [[ranged attack]]s of [[monster]]s only work when in line with you along one of the cardinals. These include thrown projectiles, [[breath attack]]s, [[venom]], and zapped [[wand]]s. Other attacks, such as a [[pyrolisk]]'s gaze, [[Medusa]]'s stare, and spells, can work from any position within a certain range. In the following example, you are safe from the yellow [[dragon]], but not from the pyrolisk:
  
.<span style="color:blue">|</span>..<span style="color:blue">/</span>......
+
<div class='ttyscreen'><replacecharsblock rules="ttymap">
.<span style="color:blue">|</span>.<span style="color:blue">/</span>.......
+
@=[[you|{{white|@}}]]
<span style="color:blue">\|/</span>..@.....
+
D={{msl|yellow dragon}}
<span style="color:blue">-D---------</span>
+
c={{msl|pyrolisk}}
<span style="color:blue">/|\</span>.....<span style="color:red">c</span>..
+
/={{green|/}}
.<span style="color:blue">|</span>.<span style="color:blue">\</span>.......
+
-={{green|-}}
 +
\={{green|\}}
 +
|={{green|{{!}}}}
 +
 
 +
.|../......
 +
.|./.......
 +
\|/..@.....
 +
-D---------
 +
/|\.....c..
 +
.|.\.......
 +
</replacecharsblock></div>
  
 
Moving north-east on the next turn continues to put you out of the dragon's reach.
 
Moving north-east on the next turn continues to put you out of the dragon's reach.
Line 24: Line 34:
 
In the following example, [[killer bee]]s are moving towards you:
 
In the following example, [[killer bee]]s are moving towards you:
  
---------
+
<div class="ttyscreen"><replacecharsblock rules="ttymap">
|.......|    ----------
+
@=[[you|{{white|@}}]]
|.......|    |....a...|
+
a={{msl|killer bee}}
|...@...######.aaa....|
+
 
|.......|    |..aa.....
+
---------            
|.......|    ----------
+
|.......|    ----------
---------
+
|.......|    |....a...|
 +
|...@....####..aaa....|
 +
|.......|    |..aa.....
 +
|.......|    ----------
 +
---------            
 +
</replacecharsblock></div>
  
 
If you stay where you are, they will swarm around you on 6 of the possible 8 sides and very likely finish you off. If you move into the corridor, only one can be adjacent to you at once, allowing you to pick them off one at a time. Corridors are thus an excellent place to fight.
 
If you stay where you are, they will swarm around you on 6 of the possible 8 sides and very likely finish you off. If you move into the corridor, only one can be adjacent to you at once, allowing you to pick them off one at a time. Corridors are thus an excellent place to fight.
Line 46: Line 61:
 
Reaching the door in 3 moves:
 
Reaching the door in 3 moves:
  
---------  ---------  ---------  ---------
+
<div class="ttyscreen"><replacecharsblock rules="ttymap">
|..q....|  |.......|  |.......|  |.......|
+
@=[[you|{{white|@}}]]
|....@..|  |...q.@.|  |....q.@|  |.......|
+
q={{msl|rothe}}
|.......+  |.......+  |.......+  |.....q@+
+
 
---------  ---------  ---------  ---------
+
---------  ---------  ---------  ---------
 +
|..q....|  |.......|  |.......|  |.......|
 +
|....@..|  |...q.@.|  |....q.@|  |.......|
 +
|.......+  |.......+  |.......+  |.....q@+
 +
---------  ---------  ---------  ---------
 +
</replacecharsblock></div>
  
 
Reaching the door in 2 moves:
 
Reaching the door in 2 moves:
  
---------  ---------  ---------
+
<div class="ttyscreen"><replacecharsblock rules="ttymap">
|..q....|  |.......|  |.......|
+
@=[[you|{{white|@}}]]
|....@..|  |...q.@.|  |.......|
+
q={{msl|rothe}}
|.......+  |.......+  |....q.@+
+
 
---------  ---------  ---------
+
---------  ---------  ---------
 +
|..q....|  |.......|  |.......|
 +
|....@..|  |...q.@.|  |.......|
 +
|.......+  |.......+  |....q.@+
 +
---------  ---------  ---------
 +
</replacecharsblock></div>
  
 
Clearly, making good use of diagonal movement will save your life -
 
Clearly, making good use of diagonal movement will save your life -
Line 80: Line 105:
 
line with any of them along a cardinal direction).
 
line with any of them along a cardinal direction).
  
|........
+
<div class="ttyscreen"><replacecharsblock rules="ttymap">
-------......  
+
@=[[you|{{white|@}}]]
|.....|......  
+
^=[[magic portal|{{brightmagenta|^}}]]
|.....+......  
+
 
|...@.|......  
+
-------......
|.....|......  
+
|.....|......
|..-+----....  
+
|.....+......
|..|....|....  
+
|...@.|......
|..|..^.|....  
+
|.....|......
-----------..  
+
|..-+----....
          |..
+
|..|....|....
 +
|..|..^.|....
 +
-----------..
 +
</replacecharsblock></div>
  
 
Conversely, a broken doorway can be passed diagonally. Consider breaking doors (by kicking or with a [[wand of striking]]) if you want to slip past a monster blocking the other side. Pets, including leashed ones, also pass through doorways easier if the door has been broken.
 
Conversely, a broken doorway can be passed diagonally. Consider breaking doors (by kicking or with a [[wand of striking]]) if you want to slip past a monster blocking the other side. Pets, including leashed ones, also pass through doorways easier if the door has been broken.
Line 99: Line 127:
 
his or her total [[inventory]] weight is 600 or less. Otherwise, "You are carrying too much to get through."
 
his or her total [[inventory]] weight is 600 or less. Otherwise, "You are carrying too much to get through."
  
        ---  
+
<div class="ttyscreen"><replacecharsblock rules="ttymap">
      ----.--  
+
@=[[you|{{white|@}}]]
  ---|.....---  
+
 
  --..|@......|  
+
      ---  
  |....--.--..|  
+
    ----.--
--. ----------
+
---|.....---
 +
--..|@......|
 +
|....--.--..|
 +
-. ----------
 +
</replacecharsblock></div>
  
 
This limit applies to all tight gaps, not just those in the [[Gnomish Mines]].  Note that monsters of [[size]] Large or above also cannot pass through such small gaps.  This can be useful for escape and/or attack.
 
This limit applies to all tight gaps, not just those in the [[Gnomish Mines]].  Note that monsters of [[size]] Large or above also cannot pass through such small gaps.  This can be useful for escape and/or attack.
Line 124: Line 156:
  
 
[[Boulder]]s can be pushed around, but are otherwise impassable to
 
[[Boulder]]s can be pushed around, but are otherwise impassable to
characters carrying items. If your inventory is completely empty or you are 850 or more units below your carrying capacity{{refsrc|hack.c|287}}, "you
+
characters carrying items. If your inventory is completely empty or you are 850 or more units below your carrying capacity,{{refsrc|hack.c|287}} "you
 
can squeeze yourself into a small opening" and occupy the same square as
 
can squeeze yourself into a small opening" and occupy the same square as
 
the boulder.
 
the boulder.
Line 133: Line 165:
 
jump. Casting the spell of jumping allows you to jump to the following
 
jump. Casting the spell of jumping allows you to jump to the following
 
locations, depending on your skill in the escape category
 
locations, depending on your skill in the escape category
('''u'''nskilled, '''b'''asic, '''s'''killed, or '''e'''xpert):
+
({{blue|u}}nskilled, {{green|b}}asic, {{yellow|s}}killed, or {{red|e}}xpert):
  
 +
<div class="ttyscreen"><replacecharsblock rules="ttymap">
 +
@=[[you|{{white|@}}]]
 +
u={{blue|u}}
 +
b={{green|b}}
 +
s={{yellow|s}}
 +
e={{red|e}}
  
    eee
+
...eee...
  esbubse
+
.esbubse.
  suuuuus
+
.suuuuus.
ebuuuuube
+
ebuuuuube
euuu@uuue
+
euuu@uuue
ebuuuuube
+
ebuuuuube
  suuuuus
+
.suuuuus.
  esbubse
+
.esbubse.
    eee
+
...eee...
 +
</replacecharsblock></div>
  
 
[[Jumping boots]] let you jump as if casting the spell unskilled. All types of jumping require that you can see the target square, happen in one turn, and consume d25 nutrition.{{refsrc|apply.c|1363}} This means jumping is faster than walking with [[speed boots]].
 
[[Jumping boots]] let you jump as if casting the spell unskilled. All types of jumping require that you can see the target square, happen in one turn, and consume d25 nutrition.{{refsrc|apply.c|1363}} This means jumping is faster than walking with [[speed boots]].

Revision as of 15:13, 7 March 2013

Most of your turns are spent moving around the dungeon, so it is wise to do so quickly and efficiently. The rules of movement in roguespace are eventually intuitive, but like all things in NetHack, there are tricks and exceptions.

Roguespace cardinal directions

Main article: Direction

There are 8 cardinal directions in NetHack.

Certain ranged attacks of monsters only work when in line with you along one of the cardinals. These include thrown projectiles, breath attacks, venom, and zapped wands. Other attacks, such as a pyrolisk's gaze, Medusa's stare, and spells, can work from any position within a certain range. In the following example, you are safe from the yellow dragon, but not from the pyrolisk:

.|../......
.|./.......
\|/..@.....
-D---------
/|\.....c..
.|.\.......

Moving north-east on the next turn continues to put you out of the dragon's reach.

Fighting in corridors

In the following example, killer bees are moving towards you:

---------              
|.......|    ----------
|.......|    |....a...|
|...@....####..aaa....|
|.......|    |..aa.....
|.......|    ----------
---------              

If you stay where you are, they will swarm around you on 6 of the possible 8 sides and very likely finish you off. If you move into the corridor, only one can be adjacent to you at once, allowing you to pick them off one at a time. Corridors are thus an excellent place to fight.

Be aware that corridors are not lit (though see the lit_corridor option), so monsters may be approaching you in the dark parts!

Diagonal movement

If you are using the arrow keys to move, you are as good as dead. Switch to either the numpad or the yuhjklbn keys, and you have access to diagonal movement, which can as much as double the efficiency of your moves (moving two spaces north, then two spaces east can be accomplished by moving two spaces northeast).

Reaching the door in 3 moves:

---------   ---------   ---------   ---------
|..q....|   |.......|   |.......|   |.......|
|....@..|   |...q.@.|   |....q.@|   |.......|
|.......+   |.......+   |.......+   |.....q@+
---------   ---------   ---------   ---------

Reaching the door in 2 moves:

---------   ---------   ---------
|..q....|   |.......|   |.......|
|....@..|   |...q.@.|   |.......|
|.......+   |.......+   |....q.@+
---------   ---------   ---------

Clearly, making good use of diagonal movement will save your life - possibly more than any other single playing tip.

Beartraps

For some reason, escaping a beartrap is 5 times more likely when moving diagonally than when moving orthogonally.[1]

Do not attempt to jump out of beartraps. You will severely damage your legs and reduce your HP.

Doors

Doorways cannot be passed diagonally. This creates a tactical challenge when escaping through one, but since the restriction applies to monsters too, it can be useful for creating bottlenecks.

In Fort Ludios, standing on the square shown allows you to kill soldiers as they come through the door one at a time, while also protecting you from thrown potions and wand zaps from the horde (since you are not in line with any of them along a cardinal direction).

-------......
|.....|......
|.....+......
|...@.|......
|.....|......
|..-+----....
|..|....|....
|..|..^.|....
-----------..

Conversely, a broken doorway can be passed diagonally. Consider breaking doors (by kicking or with a wand of striking) if you want to slip past a monster blocking the other side. Pets, including leashed ones, also pass through doorways easier if the door has been broken.

Passing small gaps

In the following mine level, the character can only move southwest if his or her total inventory weight is 600 or less. Otherwise, "You are carrying too much to get through."

       ---   
    ----.--  
 ---|.....---
--..|@......|
|....--.--..|
-. ----------

This limit applies to all tight gaps, not just those in the Gnomish Mines. Note that monsters of size Large or above also cannot pass through such small gaps. This can be useful for escape and/or attack.

Northwest danger

If using the vi-keys, be cautious when moving northwest (y) around peaceful creatures. y is also the command to say yes to a question such as "Really attack Izchak?", and it's nearly always a good idea to answer no. Setting the paranoid_hit option (available if your game was compiled with the 'paranoid' patch) to true will help, as this will require you to explicitly type "yes" to hit peacefuls.

Moving without attacking or picking up objects

Main articles: m and g

Especially when you are blind in cockatrice territory, or if you are playing a pacifist, you might prefer a command m that neither picks up nor feels objects on the floor, and mostly avoids attacking monsters. "Mostly" means the interaction with warning is buggy: if the warning symbol does not cover a non-displayed I remembered monster position, moving with m attacks anyway; it also attacks a monster engulfing you.

The g, G, and capital YUHJKLBN keys can be used to autopickup loot mostly without attacking.

Boulders

Boulders can be pushed around, but are otherwise impassable to characters carrying items. If your inventory is completely empty or you are 850 or more units below your carrying capacity,[2] "you can squeeze yourself into a small opening" and occupy the same square as the boulder.

Jumping

Knights can jump naturally, but only in the shape of a chess knight's jump. Casting the spell of jumping allows you to jump to the following locations, depending on your skill in the escape category (unskilled, basic, skilled, or expert):

...eee...
.esbubse.
.suuuuus.
ebuuuuube
euuu@uuue
ebuuuuube
.suuuuus.
.esbubse.
...eee...

Jumping boots let you jump as if casting the spell unskilled. All types of jumping require that you can see the target square, happen in one turn, and consume d25 nutrition.[3] This means jumping is faster than walking with speed boots.

You can jump out of pits, webs, and lava, and also beartraps, but doing the latter wounds one of your legs for 500 to 1499 turns and causes d10 damage.[4]

Moving through crowds

Teleport control allows instant movement to any square on any teleport-enabled level. For non-teleport levels, teleportation still works on monsters, so zapping a wand of teleportation at a crowd is the best way to clear a path through them.

A ring of conflict can also help, firstly by distracting monsters from you, and secondly by reducing, through combat, the HP of any monster you do have to kill to get past.

The Plane of Air

Movement on the Plane of Air is controlled only if you are levitating or flying. Otherwise, only 1 in 4 of your attempts to move is successful. [5]

References

External links