Changes

From DoomWiki.org

Wallrunning

2,682 bytes added, 23:10, 1 April 2016
no edit summary
{{youtube|xJ7PgOJKbEk|Player outruns a rocket in Doom E2M8}}
'''Wallrunning''' can occur when a player runs along a straight wall (either normally or by [[straferunning]]) while in contact with it. The player will be accelerated to a speed that is greater than normally attainable.
Wallrunning is triggered whenthe following criteria are met simultaneously:* The player is running north North along a oneNorth-sided north-south South wall, south or East along a twoan East-sided north-south West wall, * The player's northbound or east along eastbound speed exceeds a one-sided east-west wall; andspecific threshold.* The player is aligned either precisely parallel moving <i>against</i> the wall in order to"slide" alongside it, 38.7 degrees away from, without losing momentum in the northbound or 45 degrees away from the walleastbound direction.
After a brief moment, the The player will begin moving at a very high approximately twice the appropriate speed, ceasing only when the player stops running, encounters a corner, or changes direction (e.g. by being hit by a [[monster]]).
An agile player can exploit this bug as a [[speedrun]]ning or [[deathmatch]] tactic, taking advantage of north-south and east-west walls to dodge projectile attacks or move quickly between distant areas of a map. Its use == Wallrunning in deathmatch play is somewhat limited, however, because it requires that:==
* The level contain An agile player can exploit this bug as a straight north-south [[speedrun]]ning or east-west wall in the appropriate place(s);* The player determine which way is north[[deathmatch]] tactic, possibly during a fasttaking advantage of North-moving firefight;* The player <i>rapidly</i> orient themselves at the desired angle to the wall; South and* The player wait for the acceleration East-West walls to begindodge [[projectile]] attacks or move quickly between distant areas of a map.Its use in deathmatch play is limited however, because it requires that:
[http:* The level must contain a straight north-south or east-west wall in the appropriate place(s);* The player must determine which way is north, possibly during a fast-moving firefight;* The player must<i> rapidly<//www.doom2.net/doom2/facility/agility.html i> orient himself at the desired angle to the wall and;* The deathmatch tutorials at doom2player must wait for the acceleration to begin.net] propose that  == Exceptions == On rare occasions, wallrunning can also works occasionally on sidedefs be done westward along a one-sided wall, or along walls of other orientations(for instance, West-North-westward along linedefs 106, 119, and 39 of DMPRTL2.WAD from [[Maximum Doom]]). In addition, because [[sprite]] "footprints" “footprints” on a map are square rather than round, this same acceleration can occur along one edge of a long row of aligned inanimate objectsobstacles, where it is referred to as “thingrunning”. == Technical == When a player encounters an obstacle, the game will attempt to "thingrunningslide"the player alongside the obstacle. Presumably to improve the accuracy of collision detection, at high speeds the game will not simply try update the player's position using their full momentum, but instead halves the momentum, and then uses that halved momentum to move the player twice in a row, with the idea being that two half-steps are equivalent to one full step. However, if the game determines that during the half-step it must slide a player along the wall, it will calculate the amount of sliding distance ''using the original momentum'', not the halved momentum. The same process is repeated for the second half of the player's momentum, thereby effectively doubling the player's perceived momentum. The bug only occurs when the player is traveling quickly enough to the North and/or to the East. This happens because the player's path is not split into segments unless his X or Y movement is greater than a certain amount. However, no check is performed to see if the player's speed is smaller than the negative of that threshold (i.e. the player is traveling just as fast South and/or West), so the bug is not invoked. Wallrunning can only happen moving within a narrow range of angles relative to the wall, because the player's northbound or eastbound motion must be fast enough for the bug to occur. When a player slides alongside a wall, the velocity or momentum is adjusted to slow the player down. If the player is moving nearly parallel to the wall, then he will not slow down a significant amount, allowing him to move at the required speed continuously to invoke the bug. It is possible for wallrunning to occur on angled walls, but this is very rare because it is more difficult to maintain the required speed in the North or East direction, and also because [[elastic collisions with walls]] can frequently disrupt the player's movement unpredictably.
== Demo files ==
* [[Media:d213wrb.lmp|The wallrunning bug]] ([[:Image:d213wrb.lmp|file info]]) on [[MAP13: Downtown]]* [[Media:e3m6wrb.lmp|The wallrunning bug]] ([[:Image:e3m6wrb.lmp|file info]]) on [[E3M6: Mt. Erebus]]
== External links ==
* {{Archived link|http://www.doom2.net/doom2/facility/agility.html|Wallrunning as a deathmatch tactic|http://wayback.archive.org/web/20150417131328/http://www.doom2.net/doom2/facility/agility.html|archive.org}} at [[Doom2.net]]* {{Archived link|http://www.doom2.net/~compet-n/index.cgi?action{{=}}nostalg&page{{=}}map23 |A discussion of thingrunning] (with demos) on the |http://wayback.archive.org/web/20140412065536/http://www.doom2.net/~compet-n/index.cgi?action{{=}}nostalg&page{{=}}map23|archive.org}} at [[Compet-N web site]]
[[Category:Errors and bugs]]
[[Category:Tactics]]
[[Category:Doom engine]]
[[Category:Exploitable bugs and glitches]]
Doomer, editor
428
edits