Difference between revisions of "Sneaking"

From Luanti Wiki
Jump to navigation Jump to search
m (cat)
(rename Minetest to Luanti)
 
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The sneak glitch is a weird behaviour which makes it possible to walk up the wall and stop fall in air by hold some buttons. It's make possibly by building wall blocks in a special way.
+
{{Languages}}
A common structure abusing this bug is the so-called “sneak elevator” (see attached screenshot).
 
[[File:Sneak_bug.png|thumbnail|sneak bug]]
 
To abuse the sneak bug, stand at that corner and hold both the sneak key and the jump key. You will jump up the entire structure.
 
There may be other structures which abuse this bug, but I don’t know them.
 
  
Simply activate the "[https://forum.minetest.net/viewtopic.php?f=11&t=10424 Disable sneak glitch]" mod and strange structures like the "sneak elevator" won’t work anymore.
+
Sneaking is part of the basic [[Controls|controls]] in Luanti with many useful capabilities. Normally, sneaking slows you down and protects you from accidentally falling off ledges. In some games, sneaking allows you to use powerful “sneak ladders” which can be climbed super fast.
  
Technically: What this mod does is simply setting <code>sneak_glitch</code> to <code>false</code> for all players via <code>set_physics_override</code>.
+
Sneaking is a surprisingly diverse move; this article will explain all the details.
[[Category:Tutorials]]
+
 
 +
== Controls ==
 +
The default key for sneaking is <kbd>Shift</kbd>. You will sneak as long as you hold down the sneak key. You can not sneak while you are at any climbable block (like a [[ladder]]), inside a [[liquid]] or have activated Fly [[Controls#Movement_modes|Mode]].
 +
 
 +
== Capabilities ==
 +
Sneaking has many capabilities, some of which are not available in all games:
 +
 
 +
* '''Slowdown'''
 +
* '''Fall-off protection'''
 +
* '''Sneak Glitch'''
 +
* '''Sneak Jump'''
 +
 
 +
Each game or mod can vary in what sneaking capabilities are actually available. By default (i.e. if the game code did not make any changes), the Slowdown and Fall-off Protection capabilities are enabled, but the others are not. Also, games can change the sneaking capabilities on a per-player basis.
 +
 
 +
=== Slowdown ===
 +
If you sneak, you will automatically walk slower. This is the most basic capability and available in almost all games.
 +
 
 +
=== Fall-off Protection ===
 +
[[File:Fall-off_protection.png|thumbnail|Sneaking can stop you from falling over a ledge]]
 +
The Fall-off Protection is another very common feature of sneaking. If you try to walk beyond the edge of a cube while holding down the sneak key, you won't fall. You can walk a bit beyond the block's edge while sneaking, up to a certain limit, of course. This is very useful to safely walk at places with steep drops, like cliffs.
 +
 
 +
For this to work, you normally need enough space to stand on. You can't sneak if you have only one block of empty space (not enough for the player to stand normally). However, this rule does not apply if the Sneak Glitch is available.
 +
 
 +
In a few games, sneaking does ''not'' have the Fall-off Protection. In these games, you will simply fall off the block if you sneak to the ledge.
 +
 
 +
=== Sneak Glitch ===
 +
[[File:Sneaking at the edge.png|thumbnail|Without the Sneak Glitch, you would fall down here otherwise]]
 +
 
 +
The Sneak Glitch is probably the most unique capability.
 +
 
 +
Without the Sneak Glitch, sneaking won't stop you from falling off a ledge if there is only 1 block of space. You would just fall down. However, ''with'' the Sneak Glitch in place, this rule no longer applies, meaning you won't fall off the ledge even if there's only one block of space. The screenshot demonstrates this.
 +
 
 +
The Sneak Glitch also enables a '''very''' powerful move which allows you to climb so-called sneak elevators very quickly.
 +
 
 +
Because the Sneak Glitch is so powerful, it is not available in all games.
 +
 
 +
==== Sneak elevators ====
 +
[[File:Sneak_bug_2.png|thumbnail|A simple sneak elevator in a wall]]
 +
[[File:Sneak_bug.png|thumbnail|Alternative sneak elevator in a corner formation]]
 +
A sneak elevator (also called “sneak ladder”) is a vertical structure that can be climbed up very fast if you have the Sneak Glitch capability.
 +
 
 +
In its simplest form, a sneak elevator is just a vertical line of solid blocks which are spaced apart by one empty block (like [[air]]) each, so that empty and solid blocks are alternating. Sneak elevators can be built very easily built into high flat walls and cliffs, because you can continue to dig out the holes for the sneak elevator while climbing up. Sneak elevators don't have to be that simple, there are some variants that also work (see screenshots).
 +
 
 +
To climb up a sneak elevator, stand in front of the sneak elevator, then hold down both the sneak key and the jump key. You will move up the entire structure at an insane speed. This only works if you have the Sneak Glitch capability.
 +
 
 +
=== Sneak Jumping ===
 +
With this capability, you will jump slightly higher when you were sneaking. Just hold down the Sneak key and jump.
 +
 
 +
The increased jump height of a sneak jump might help you climb some obstacles you couldn't climb with a simple jump.
 +
 
 +
For game/mod programmers: Internally, this capability is functional if <code>new_move</code> equals <code>false</code> (don't ask why).
 +
 
 +
== Sneaking in Minetest Game ==
 +
In [[Games/Minetest Game|Minetest Game]] 5.4.0, sneaking has the Slowdown and Fall-off Protection capabilities. But there's no Sneak Glitch or Sneak Jumping.
 +
 
 +
== History ==
 +
Sneaking used to be very buggy, but it has improved over time.
 +
 
 +
=== Old bug: Avoiding fall damage ===
 +
Up to version 0.4.15, you don't suffer any fall damage if you fall on a normal block's edge or on a slab or snow or on some other non-cubic shapes while holding down the sneak key. This bug is known as [https://github.com/minetest/minetest/issues/329 issue 329] and is fixed since version 0.4.16.
 +
 
 +
=== The Sneak Glitch was a bug ===
 +
The Sneak Glitch was considered to be a bug before (hence the name), and it caused many other, and it was also impossible for games to get rid of it. I.e. you could not make a game in which sneak elevators would not work. Because of this, the Sneak Glitch used to be a thing in Minetest Game.
 +
 
 +
The Sneak Glitch was fixed (=removed) from the game in version 0.4.16 due to many technical problems, but in a later version (around 2017), it returned as a proper feature, just disabled by default. The Sneak Glitch always had a big fan base, because it was a powerful move, so unsurprisingly there was kind of an uproar when it got “fixed”.
 +
 
 +
Today, Sneak Glitch is still called "Sneak Glitch" but it actually is not a glitch anymore. It used to be a glitch (unintentional broken feature) but now is an officially recognized feature in Luanti. The name “Sneak Glitch” just stuck.
 +
 
 +
[[Category:Gameplay]]

Latest revision as of 23:08, 22 October 2024

Languages Language: English • français

Sneaking is part of the basic controls in Luanti with many useful capabilities. Normally, sneaking slows you down and protects you from accidentally falling off ledges. In some games, sneaking allows you to use powerful “sneak ladders” which can be climbed super fast.

Sneaking is a surprisingly diverse move; this article will explain all the details.

Controls

The default key for sneaking is Shift. You will sneak as long as you hold down the sneak key. You can not sneak while you are at any climbable block (like a ladder), inside a liquid or have activated Fly Mode.

Capabilities

Sneaking has many capabilities, some of which are not available in all games:

  • Slowdown
  • Fall-off protection
  • Sneak Glitch
  • Sneak Jump

Each game or mod can vary in what sneaking capabilities are actually available. By default (i.e. if the game code did not make any changes), the Slowdown and Fall-off Protection capabilities are enabled, but the others are not. Also, games can change the sneaking capabilities on a per-player basis.

Slowdown

If you sneak, you will automatically walk slower. This is the most basic capability and available in almost all games.

Fall-off Protection

Sneaking can stop you from falling over a ledge

The Fall-off Protection is another very common feature of sneaking. If you try to walk beyond the edge of a cube while holding down the sneak key, you won't fall. You can walk a bit beyond the block's edge while sneaking, up to a certain limit, of course. This is very useful to safely walk at places with steep drops, like cliffs.

For this to work, you normally need enough space to stand on. You can't sneak if you have only one block of empty space (not enough for the player to stand normally). However, this rule does not apply if the Sneak Glitch is available.

In a few games, sneaking does not have the Fall-off Protection. In these games, you will simply fall off the block if you sneak to the ledge.

Sneak Glitch

Without the Sneak Glitch, you would fall down here otherwise

The Sneak Glitch is probably the most unique capability.

Without the Sneak Glitch, sneaking won't stop you from falling off a ledge if there is only 1 block of space. You would just fall down. However, with the Sneak Glitch in place, this rule no longer applies, meaning you won't fall off the ledge even if there's only one block of space. The screenshot demonstrates this.

The Sneak Glitch also enables a very powerful move which allows you to climb so-called sneak elevators very quickly.

Because the Sneak Glitch is so powerful, it is not available in all games.

Sneak elevators

A simple sneak elevator in a wall
Alternative sneak elevator in a corner formation

A sneak elevator (also called “sneak ladder”) is a vertical structure that can be climbed up very fast if you have the Sneak Glitch capability.

In its simplest form, a sneak elevator is just a vertical line of solid blocks which are spaced apart by one empty block (like air) each, so that empty and solid blocks are alternating. Sneak elevators can be built very easily built into high flat walls and cliffs, because you can continue to dig out the holes for the sneak elevator while climbing up. Sneak elevators don't have to be that simple, there are some variants that also work (see screenshots).

To climb up a sneak elevator, stand in front of the sneak elevator, then hold down both the sneak key and the jump key. You will move up the entire structure at an insane speed. This only works if you have the Sneak Glitch capability.

Sneak Jumping

With this capability, you will jump slightly higher when you were sneaking. Just hold down the Sneak key and jump.

The increased jump height of a sneak jump might help you climb some obstacles you couldn't climb with a simple jump.

For game/mod programmers: Internally, this capability is functional if new_move equals false (don't ask why).

Sneaking in Minetest Game

In Minetest Game 5.4.0, sneaking has the Slowdown and Fall-off Protection capabilities. But there's no Sneak Glitch or Sneak Jumping.

History

Sneaking used to be very buggy, but it has improved over time.

Old bug: Avoiding fall damage

Up to version 0.4.15, you don't suffer any fall damage if you fall on a normal block's edge or on a slab or snow or on some other non-cubic shapes while holding down the sneak key. This bug is known as issue 329 and is fixed since version 0.4.16.

The Sneak Glitch was a bug

The Sneak Glitch was considered to be a bug before (hence the name), and it caused many other, and it was also impossible for games to get rid of it. I.e. you could not make a game in which sneak elevators would not work. Because of this, the Sneak Glitch used to be a thing in Minetest Game.

The Sneak Glitch was fixed (=removed) from the game in version 0.4.16 due to many technical problems, but in a later version (around 2017), it returned as a proper feature, just disabled by default. The Sneak Glitch always had a big fan base, because it was a powerful move, so unsurprisingly there was kind of an uproar when it got “fixed”.

Today, Sneak Glitch is still called "Sneak Glitch" but it actually is not a glitch anymore. It used to be a glitch (unintentional broken feature) but now is an officially recognized feature in Luanti. The name “Sneak Glitch” just stuck.