Difference between revisions of "Hitscan"

From Team Fortress Wiki
Jump to: navigation, search
(Centered the weapons text. And why am i still working on this page?)
Line 1: Line 1:
'''Hitscan''' weapons instantly [[damage]] targets in their path when activated. Unlike [[projectile]] weapons, hitscan weapons are not code-rendered physical objects but are infinite lines drawn on the server that are then rendered client-side visually as projectiles. Depending on the object hit and client settings, the hitscan weapon then generates an effect: dealing damage or painting blood and bullet hole sprites. Players don't see enemies dying before bullets are fired, however, because the client predicts the enemy's death and displays it with proper timing. All 'bullets' emit from the crosshair, despite what is suggested by the view model, likely to aid [[Sniper]]s for close-range headshots.
+
'''Hitscan''' attacks instantly [[damage]] targets in their path. Unlike [[projectile]] weapons, hitscan weapons are not code-rendered physical objects but are infinitely-thin lines drawn on the server that are then rendered client-side visually as projectiles. Depending on the object hit and client settings, the hitscan weapon then generates an effect: dealing damage or painting blood and bullet hole sprites. Players don't see enemies dying before bullets are fired, however, because the client predicts the enemy's death and displays it with proper timing. All hitscan attacks emit from the crosshair, despite what is suggested by the view model, likely to aid [[Sniper]]s for close-range headshots. In technical terms, this means that hitscan weapons have infinite velocity, but this does not mean that they damage instantly after firing. '''[[Melee]]''' weapons wait .25 seconds after input before they trace a short line to see if anything should be struck. This prevents the weapon from hitting or killing a foe before the melee animation completes.
  
In technical terms, this means that hitscan weapons have infinite velocity, but this does not mean that they damage instantly after firing. '''[[Melee]]''' weapons wait .25 seconds after input before they trace a short line to see if anything should be struck. This prevents the weapon from hitting or killing a foe before the melee animation completes. Bullet-based weapons are all affected by bullet-spread after a 1.25 second heatup, which causes bullets to move off-course to varying degrees. Certain bullet-based weapons fire multiple bullets in different directions, but all still are fired from the same spot on the crosshair. The effect of this is masked by 'bullets' that are visible only after passing a certain point.
+
There are two main types of hitscan attacks: those that make contact with the bullet-based hitbox (the eponymous 'bullets') and those that make contact with the enviromental/projectile hitbox (melee weapons and most taunt attacks).
 +
 
 +
Bullet-based weapons (a list of which is given below) fire infinite lines. All bullet-based weapons are affected by bullet-spread during a 1.25 second cooldown after firing a bullet, which causes bullets to move off-course to varying degrees. Certain bullet-based weapons fire multiple bullets in different directions, but all still are fired from the same spot on the crosshair. The effect of this is masked by 'bullets' that are visible only after passing a certain point or, in the case of the [[Heavy]]'s [[Heavy#Primary|primaries]], appear to fire at different times than when they actually do.
  
 
== List ==
 
== List ==
Here is a list of non-melee hitscan weapons in ''Team Fortress 2''.
+
Here is a list of bullet-based hitscan weapons in ''Team Fortress 2''.
  
 
{| class="wikitable grid" width="30%"
 
{| class="wikitable grid" width="30%"
Line 78: Line 80:
 
|}
 
|}
  
 +
==Demonstration==
 +
The following is a model-by-model video rendering of the bullet-based hitboxes:
 +
{{youtube|9TJmiDcsxdA}}
 
==See Also==
 
==See Also==
  

Revision as of 06:49, 15 December 2010

Hitscan attacks instantly damage targets in their path. Unlike projectile weapons, hitscan weapons are not code-rendered physical objects but are infinitely-thin lines drawn on the server that are then rendered client-side visually as projectiles. Depending on the object hit and client settings, the hitscan weapon then generates an effect: dealing damage or painting blood and bullet hole sprites. Players don't see enemies dying before bullets are fired, however, because the client predicts the enemy's death and displays it with proper timing. All hitscan attacks emit from the crosshair, despite what is suggested by the view model, likely to aid Snipers for close-range headshots. In technical terms, this means that hitscan weapons have infinite velocity, but this does not mean that they damage instantly after firing. Melee weapons wait .25 seconds after input before they trace a short line to see if anything should be struck. This prevents the weapon from hitting or killing a foe before the melee animation completes.

There are two main types of hitscan attacks: those that make contact with the bullet-based hitbox (the eponymous 'bullets') and those that make contact with the enviromental/projectile hitbox (melee weapons and most taunt attacks).

Bullet-based weapons (a list of which is given below) fire infinite lines. All bullet-based weapons are affected by bullet-spread during a 1.25 second cooldown after firing a bullet, which causes bullets to move off-course to varying degrees. Certain bullet-based weapons fire multiple bullets in different directions, but all still are fired from the same spot on the crosshair. The effect of this is masked by 'bullets' that are visible only after passing a certain point or, in the case of the Heavy's primaries, appear to fire at different times than when they actually do.

List

Here is a list of bullet-based hitscan weapons in Team Fortress 2.

Leaderboard class scout.png
Scout
Leaderboard class soldier.png
Soldier
Leaderboard class pyro.png
Pyro
Leaderboard class heavy.png
Heavy
Leaderboard class engineer.png
Engineer
Leaderboard class sniper.png
Sniper
Leaderboard class spy.png
Spy
Scattergun

Scattergun

Item icon Shotgun.png

Shotgun

Item icon Shotgun.png

Shotgun

Minigun

Minigun

Item icon Shotgun.png

Shotgun

Item icon Sniper Rifle.png

Sniper Rifle

Item icon Revolver.png

Revolver

Force-A-Nature

Force-A-Nature

Natascha

Natascha

Item icon Frontier Justice.png

Frontier Justice

Item icon Sydney Sleeper.png

Sydney Sleeper

Item icon Big Kill.png

Big Kill

Shortstop

Shortstop

Iron Curtain

Iron Curtain

Item icon Pistol.png

Pistol

Item icon Submachine Gun.png

Submachine Gun

Item icon Ambassador.png

Ambassador

Pistol

Pistol

Item icon Shotgun.png

Shotgun

Item icon Lugermorph.png

Lugermorph

Item icon L'Etranger.png

L'Étranger

Item icon Lugermorph.png

Lugermorph

Demonstration

The following is a model-by-model video rendering of the bullet-based hitboxes:

See Also

Template:W on Template:W

Hitscan on the Valve Developer Community