Difference between revisions of "Movement tactics"

From NetHackWiki
Jump to navigation Jump to search
(Northwest danger)
(Hit and run: doesn't work in 3.6.0+)
 
(29 intermediate revisions by 23 users not shown)
Line 1: Line 1:
 +
{{nethack-343}}
 +
<br/>
 
Most of your turns are spent moving around the dungeon, so it is wise to
 
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
 
do so quickly and efficiently.  The rules of movement in roguespace
Line 6: Line 8:
 
== Roguespace cardinal directions ==
 
== Roguespace cardinal directions ==
  
There are 8 cardinal directions in NetHack:
+
{{Main|Direction}}
 +
There are 8 cardinal directions in NetHack.
  
  y  k  u
+
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:
  \ | /
 
    \|/
 
h---@---l
 
    /|\
 
  / | \
 
  b  j  n
 
  
(For the purposes of [[throwing]] and [[casting]], "up", "down" and "towards yourself" are valid directions too).
+
<div class='ttyscreen'><replacecharsblock rules="ttymap">
 +
@=[[you|{{white|@}}]]
 +
D={{msl|yellow dragon}}
 +
c={{msl|pyrolisk}}
 +
/={{green|/}}
 +
-={{green|-}}
 +
\={{green|\}}
 +
|={{green|{{!}}}}
  
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 [[dragon]], but not from the pyrolisk:
+
.|../......
 +
.|./.......
 +
\|/..@.....
 +
-D---------
 +
/|\.....c..
 +
.|.\.......
 +
</replacecharsblock></div>
  
...........
+
Moving north-east on the next turn keeps you out of the dragon's reach.
...........
 
....@......
 
.D.........
 
........c..
 
...........
 
  
 
== Fighting in corridors ==
 
== Fighting in corridors ==
Line 31: Line 36:
 
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">
|.......|    |....a...|
+
@=[[you|{{white|@}}]]
|...@....#####.aaa....|
+
a={{msl|killer bee}}
|.......|    |..aa.....
 
---------    ----------
 
  
If you stay where you are, they will swarm around you on 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.
+
|.......|    |....a...|
Corridors are thus an excellent place to fight.
+
|...@....####..aaa....|
 +
|.......|    |..aa.....
 +
|.......|    ----------
 +
---------             
 +
</replacecharsblock></div>
  
Be aware that corridors are not lit (though see the lit_corridor [[option]]), so monsters may be approaching you in the dark parts!
+
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 ==
 
== Diagonal movement ==
  
 
If you are using the arrow keys to move, you are as good as dead. Switch
 
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 either the numpad or the [[yuhjklbn]] keys, and you have access
 
to diagonal movement, which can as much as double the efficiency of your
 
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
 
moves (moving two spaces north, then two spaces east can be accomplished
Line 54: Line 63:
 
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 73: Line 92:
 
=== Beartraps ===
 
=== Beartraps ===
  
For some reason, escaping a [[beartrap]] is 5 times more likely when moving diagonally than when moving orthogonally.<ref>[[hack.c#line1250]]</ref>.
+
For some reason, escaping a [[beartrap]] is 5 times more likely when moving diagonally than when moving orthogonally.{{refsrc|hack.c|1250}}
 +
 
 +
Do ''not'' attempt to jump out of beartraps. You will severely damage your legs and reduce your HP.
  
 
=== Doors ===
 
=== Doors ===
  
Doorways cannot be passed diagonally. This creates a tactical challenge
+
Doorways cannot normally be passed diagonally. This creates a tactical challenge
 
when escaping through one, but since the restriction applies to monsters
 
when escaping through one, but since the restriction applies to monsters
 
too, it can be useful for creating bottlenecks.  
 
too, it can be useful for creating bottlenecks.  
Line 86: Line 107:
 
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.
 +
 
 +
Certain actions can override the restriction on diagonal movement through doorways, such as failing to disarm a dart or arrow trap diagonally from the doorway.
  
 
=== Passing small gaps ===
 
=== Passing small gaps ===
  
 
In the following mine level, the character can only move southwest if
 
In the following mine level, the character can only move southwest if
his 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]].
+
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 ===
 
=== Northwest danger ===
  
If using the vi-keys, be cautious when moving northwest ('''[y]''')
+
If using the vi-keys, be cautious when moving northwest ({{kbd|y}})
around peaceful creatures. '''[y]''' is also the command to say yes to a
+
around peaceful creatures. {{kbd|y}} is also the command to say ''yes'' to a
question such as "Really attack Izchak?", and it's nearly always a
+
question such as "<tt>Really attack Izchak?</tt>", and it's nearly always a
good idea to answer no.
+
good idea to answer no. Setting the ''paranoid_hit'' [[options|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.
 +
 
 +
== Hit and run ==
 +
{{main|hit and run}}
 +
Hit and run is a common tactic in [[NetHack 3.4.3]] and earlier that allows weaker players to fight stronger foes, as long as they are faster. The concept is to time your moving and hitting so that you always attack on the turn that your opponent doesn't get a move. If skillfully executed, even powerful foes such as [[mumak|mumakil]] or [[dragon|dragons]] can be killed by a weak player. This is also an excellent way to train weapons and get experience in the early game, particularly against [[black pudding]]s and [[mimic]]s.
 +
 
 +
In [[NetHack 3.6.0]], the tactic is much harder to pull off because monster movement now has a large random factor. In [[NetHack 3.6.1]], it is entirely eliminated; monsters are equally likely to move on any given turn regardless of what happened on previous turns.
 +
 
 +
==Moving without attacking or picking up objects==
 +
{{main|m|g}}
 +
Especially when you are [[blind]] in [[cockatrice]] territory, or if you are [[Pacifist#Team_gecko|playing a pacifist]], you might prefer a command {{kbd|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 {{white|I}} remembered monster position, moving with {{kbd|m}} attacks anyway; it also attacks a monster [[engulfing]] you.
 +
 
 +
The {{kbd|g}}, {{kbd|G}}, and capital YUHJKLBN keys can be used to [[autopickup exceptions|autopickup loot]] mostly without attacking.
  
 
== Boulders ==
 
== Boulders ==
  
 
[[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, "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.
  
 
== Jumping ==
 
== Jumping ==
 +
{{main|Jumping}}
 
      
 
      
 
[[Knight]]s can jump naturally, but only in the shape of a chess knight's
 
[[Knight]]s 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
 
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.<ref>[[apply.c#line1363]]</ref> 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]].
  
 
You can jump out of [[pit]]s, [[web]]s, and [[lava]], and also beartraps, but doing the latter wounds one of your legs for 500 to 1499
 
You can jump out of [[pit]]s, [[web]]s, and [[lava]], and also beartraps, but doing the latter wounds one of your legs for 500 to 1499
turns and causes d10 damage.<ref>[[apply.c#line1318]]</ref>
+
turns and causes d10 damage.{{refsrc|apply.c|1318}}
  
 
== Moving through crowds ==
 
== Moving through crowds ==
Line 163: Line 215:
  
 
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.
 
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.
<ref>[[hack.c#line903]]</ref>
+
{{refsrc|hack.c|903}}
  
 
== References ==
 
== References ==
 +
<references/>
  
<references/>
+
== External links ==
 +
* [http://homepage.mac.com/mhjohnson/mag-r343.html#section-2.2. Maniac's Ascension Guide on movement tactics]
  
 +
[[Category:Articles for beginners]]
 
[[Category:Strategy]]
 
[[Category:Strategy]]

Latest revision as of 17:55, 9 December 2017

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

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

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


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 keeps 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 normally 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.

Certain actions can override the restriction on diagonal movement through doorways, such as failing to disarm a dart or arrow trap diagonally from the doorway.

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.

Hit and run

Main article: hit and run

Hit and run is a common tactic in NetHack 3.4.3 and earlier that allows weaker players to fight stronger foes, as long as they are faster. The concept is to time your moving and hitting so that you always attack on the turn that your opponent doesn't get a move. If skillfully executed, even powerful foes such as mumakil or dragons can be killed by a weak player. This is also an excellent way to train weapons and get experience in the early game, particularly against black puddings and mimics.

In NetHack 3.6.0, the tactic is much harder to pull off because monster movement now has a large random factor. In NetHack 3.6.1, it is entirely eliminated; monsters are equally likely to move on any given turn regardless of what happened on previous turns.

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

Main article: 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