mysticport.blogg.se

Wolfenstein 3d map view
Wolfenstein 3d map view













wolfenstein 3d map view

From a distance of 4 or greater, the damage is random > 4 (maximum 15).From a distance of 2-3, the damage is random > 3 (maximum 31).From a distance of 0-1, the damage is random > 2 (maximum 63).If a shot hits, the damage depends on the distance.The distance bonus of the dodging formula is cut by 1/3 and as a result their range also increases. The above values are different for SS guards and bosses, as they are hardcoded to be more accurate.If not running and the enemy is not visible, the maximum distance is 31.If not running and the enemy is visible, the maximum distance is 15.If running and the enemy is not visible, the maximum distance is 19.If running and the enemy is visible, the maximum distance they can hit from is 9 tiles.If the enemy isn't visible, this bonus is cut in half to 3.125% per tile. If the enemy is visible, the odds of dodging increase by an additional 6.25% for each tile of distance between the player and the enemy.Running while being shot at increases the odds of dodging by a flat 37.5%.A point-blank shot against the player's back has a 0% chance of missing.The odds of dodging depend on the distance from the enemy.The chances of dodging an enemy bullet can be increased not only by running, but you also get a significantly higher dodge chance if the enemy is visible on the screen.It increases at least once every frame and also whenever a random number is required, and wraps back around after it hits 255. The numbers are pulled from a table-based pseudo-random number generator. These attack-related RNG throws are the only ones that are under player control.From distance 22-, it is not possible to hit.If distance is 21, the situation is the same as in 4-20, but due to RNG maximum hit damage is 39.If distance is 4-20, if random / 12 >= distance, you hit, and do random / 6 damage (max.If distance is 2-3, you hit for random / 6 damage (max.If distance is 0-1, you hit for random / 4 damage (max.The norm used is ∞-norm (maximum of x- and y-distances).The distance is calculated from differences in tile positions of player and enemy.Knife attacks do random / 16 damage (max.With bad luck, attack can do 0 damage even if it hits.

wolfenstein 3d map view

  • If the attack connects at the same frame as enemy would wake up from seeing you, it still counts (your attack is evaluated first).
  • Attacks where enemy hasn't "woken up" yet do double damage and wake up the enemy.
  • Example: Rectangle room might be 10 N, 15 W = 25 frames, but diagonal = 26 frames.
  • Doors open/close at 1 position per frame.
  • Maximum turn is 5 units per frame (= 5 degrees per frame).
  • Backwards straferun (diagonal): Max 18026 units per frame.
  • There are 20 subdirections in each direction.
  • wolfenstein 3d map view

    #WOLFENSTEIN 3D MAP VIEW FULL#

    There are 360 directions in full circle (degrees).The subdirection value is weird: It can be negative.Only the main direction matters (except for turning).This method of motion is fast regardless of angle, but zigzag from having wrong direction should be avoided.This produces motion at 45 degrees from view direction.Fastest method of motion is strafing forward and sideways from mouse (backward and sideways is slower).Mouse sensitivity just affects how much speed is needed, not how much can be achieved.Using run button is not necessary with mouse.Using mouse is faster than keyboard, even running from keyboard.Many of the tricks demonstrated here are near impossible in real time and documented for the purposes of creating Tool-assisted Speedruns. This page documents information about Wolfenstein 3D.















    Wolfenstein 3d map view