Difference between revisions of "Mechanics"

From Team Fortress Wiki
Jump to: navigation, search
(Objectives: Added MvM bit.)
m (Negative effects)
 
(226 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
 
{{featured article tag}}
 
{{featured article tag}}
 +
[[File:Team Fortress 2 Screenshot.png|500px|right|thumb|[[#Combat|Combat]] taking place on [[2Fort]].]]
  
[[Image:Team Fortress 2 Screenshot.png|400px|right|thumb|[[#Combat|Combat]] taking place on [[2Fort]].]]
+
{{Quotation|'''The Soldier''' demonstrating success|And that is how you do it, men!|sound=Soldier_autocappedintelligence02.wav}}
 
 
{{Quotation|'''The Soldier''' demonstrating success.|And that is how you do it, men!|sound=Soldier_autocappedintelligence02.wav}}
 
  
 
The '''mechanics''' of ''[[Team Fortress 2]]'' define the rules and capabilities for players, [[servers]], and content editors. Understanding these mechanics allows for more streamlined and comprehensive gameplay.
 
The '''mechanics''' of ''[[Team Fortress 2]]'' define the rules and capabilities for players, [[servers]], and content editors. Understanding these mechanics allows for more streamlined and comprehensive gameplay.
  
 
==Engine==
 
==Engine==
[[Image:Source engine logo.png|400px|right]]
+
[[File:Source engine logo.png|400px|right]]
  
 
{{hatnote|Main article: [[Source Engine]]}}
 
{{hatnote|Main article: [[Source Engine]]}}
  
''Team Fortress 2'' runs on The Orange Box version of the [[Source Engine]], designed to run on Microsoft Windows, Xbox 360, PlayStation 3, Mac OS X and Linux. The Orange Box engine adds hardware face rendering, soft [[particles]], and multicore rendering over the old Source Engine. TF2 is optimized and balanced for game sizes of 24 players or fewer (18 on an Xbox 360 and 16 on a PS3), though [[servers]] may host as many as 32 players if they desire (PC/Mac only). All player actions and options are handled as [[console|console commands]] and variables known as ConVars.
+
''Team Fortress 2'' runs on The Orange Box version of the [[Source Engine]], designed to run on [[w:Windows|Microsoft Windows]], [[w:Xbox 360|Xbox 360]], [[w:PlayStation 3|PlayStation 3]], [[w:Mac OS X|Mac OS X]] and [[w:Linux|Linux]]. The Orange Box engine adds hardware face rendering, soft [[particles]], and multicore rendering over the old Source Engine. TF2 is optimized and balanced for game sizes of 24 players or fewer (18 on Xbox 360 and 16 on PS3), even though [[servers]] may host up to 32 players if they desire (PC, Mac, and Linux only). Although it is possible to run at 100 players, it is not recommended and unsupported. All player actions and options are handled as [[console|console commands]] and variables which are known as ConVars. ''Team Fortress 2'' ran exclusively as a 32-bit application until the {{Patch name|4|18|2024}}, where a 64-bit version was introduced and became the default option, increasing performance.
  
 
==Classes==
 
==Classes==
[[Image:Team Fortress 2 Group Photo.jpg|thumb|350px|right|From left to right: [[Pyro]], [[Engineer]], [[Spy]], [[Heavy]], [[Sniper]], [[Scout]], [[Soldier]], [[Demoman]], and [[Medic]].]]
+
[[File:Team Fortress 2 Group Photo.jpg|thumb|350px|right|All the mercenaries, from left to right: Pyro, Engineer, Spy, Heavy, Sniper, Scout, Soldier, Demoman, and Medic.]]
  
 
{{hatnote|Main article: [[Classes]]}}
 
{{hatnote|Main article: [[Classes]]}}
  
There are nine playable classes in ''Team Fortress 2'', which are categorized into three areas- "Offense", "Defense", and "Support", though these categorizations have no impact on gameplay. The abilities and stats of classes can change based on [[loadout]].
+
There are nine playable classes in Team Fortress 2, which are categorized into three areas- "Offense," "Defense," and "Support," though these categorizations mostly have no impact on gameplay. The abilities and stats of the classes can vary based on their [[loadout]]s.
  
:{{Class link|Scout}}: An offensive class with 133% [[Classes#Speed|move speed]] and {{Metrics/Health|C=scout}} [[Classes#Health points|health points]] specializing in hit-and-run combat and objective-capturing. Can [[Jumping#double jump|double jump]] and capture [[control point (objective)|control points]] (and push [[Payload#Carts|Payload carts]]) at a rate equivalent to 2 people. The Scout is armed with the [[Scattergun]], a [[Pistol]] and a [[Bat]] by default.
+
:{{Class link|Scout}}: An offensive class with 133% [[Classes#Speed|move speed]] and {{Metrics/Health|C=scout}} [[Classes#Health points|health points]], specializing in hit-and-run combat and objective-capturing. Can [[Jumping#double jump|double jump]] and capture [[control point (objective)|control points]] (and push [[Payload#Carts|Payload carts]]) at double the rate of any other class. The Scout is armed with the [[Scattergun]], a [[Pistol]], and a [[Bat]] by default.
  
:{{Class link|Soldier}}: An offensive class with 80% move speed and {{Metrics/Health|C=soldier}} health points able to adapt to a variety of situations, making it great for both attack and defense. Can [[Jumping#Basic rocket jump|rocket jump]] to reach normally unreachable places. The Soldier is armed with the [[Rocket Launcher]], a [[Shotgun]] and a [[Shovel]] by default.
+
:{{Class link|Soldier}}: An offensive class with 80% move speed and {{Metrics/Health|C=soldier}} health points, able to adapt to a variety of situations, making him great for both attack and defense. Can [[Jumping#Basic rocket jump|rocket jump]] to reach normally unreachable places. The Soldier is armed with the [[Rocket Launcher]], a [[Shotgun]], and a [[Shovel]] by default.
  
:{{Class link|Pyro}}: An offensive class with 100% move speed and {{Metrics/Health|C=pyro}} health points ideal for close quarters combat and group support. Can [[fire|ignite]] enemies, use [[compression blast]], and is not affected by [[afterburn]]. The Pyro is armed with the [[Flamethrower]], a [[Shotgun]] and a [[Fire Axe]] by default.
+
:{{Class link|Pyro}}: An offensive class with 100% move speed and {{Metrics/Health|C=pyro}} health points, ideal for close-quarters combat and group support. Can [[fire|ignite]] enemies, use [[compression blast]] to reflect projectiles and extinguish teammates, and is not affected by [[afterburn]] from fire-based attacks. The Pyro is armed with the [[Flame Thrower]], a [[Shotgun]], and a [[Fire Axe]] by default.
  
:{{Class link|Demoman}}: A defensive class with 93.33% move speed and {{Metrics/Health|C=demoman}} health points specializing in area denial and damage output. Can [[Jumping#Basic sticky jump|sticky jump]]. The Demoman is armed with the [[Grenade Launcher]], a [[Stickybomb Launcher]] and a [[Bottle]] by default.
+
:{{Class link|Demoman}}: A defensive class with 93% move speed and {{Metrics/Health|C=demoman}} health points, specializing in area denial and damage output. Can [[Jumping#Basic sticky jump|sticky jump]]. The Demoman is armed with the [[Grenade Launcher]], a [[Stickybomb Launcher]], and a [[Bottle]] by default.
  
:{{Class link|Heavy}}: A defensive class with 76.67% move speed and {{Metrics/Health|C=heavy}} health points that excels in dealing and receiving sustained damage. The Heavy is armed with the [[Minigun]], a [[Shotgun]] and his own [[Fists]] by default.
+
:{{Class link|Heavy}}: A defensive class with 77% move speed and {{Metrics/Health|C=heavy}} health points, excelling in dealing and receiving sustained damage. The Heavy is armed with the [[Minigun]], a [[Shotgun]], and his own [[Fists]] by default.
  
:{{Class link|Engineer}}: A defensive class with 100% move speed and {{Metrics/Health|C=engineer}} health points that specializes in area denial and support. Can create, maintain, upgrade, move, and control [[buildings]]. The Engineer is armed with a [[Shotgun]], a [[Pistol]], a [[Wrench]], and a [[PDA]] by default.
+
:{{Class link|Engineer}}: A defensive class with 100% move speed and {{Metrics/Health|C=engineer}} health points that specializes in area denial and support. Can create, maintain, upgrade, move, and control [[buildings]]. The Engineer is armed with a [[Shotgun]], a [[Pistol]], a [[Wrench]], and two [[PDA]]s by default.
  
:{{Class link|Medic}}: A support class with 106.67% move speed and {{Metrics/Health|C=medic}} health points that focuses on improving the longevity and efficiency of team mates. Regenerates health passively and is capable of healing teammates and deploying [[ÜberCharge]]s on both teammates and himself. The Medic is armed with the [[Syringe Gun]], a [[Medi Gun]] and a [[Bonesaw]] by default.
+
:{{Class link|Medic}}: A support class with 107% move speed and {{Metrics/Health|C=medic}} health points that focuses on improving the longevity and efficiency of teammates. Can regenerate health passively and is capable of healing teammates and deploying [[ÜberCharge]]s on both teammates and himself. The Medic is armed with the [[Syringe Gun]], a [[Medi Gun]], and a [[Bonesaw]] by default.
  
:{{Class link|Sniper}}: A support class with 100% move speed and {{Metrics/Health|C=sniper}} health points ideal for long-distance target elimination. Can [[headshot]]. The Sniper is armed with the [[Sniper Rifle]], an [[SMG]] and a [[Kukri]] by default.
+
:{{Class link|Sniper}}: A support class with 100% move speed and {{Metrics/Health|C=sniper}} health points, ideal for long-distance target elimination. Can [[headshot]] with his primary weapon. The Sniper is armed with the [[Sniper Rifle]], a [[SMG|Submachine Gun]], and a [[Kukri]] by default.
  
:{{Class link|Spy}}: A support class with 100% move speed and {{Metrics/Health|C=spy}} health points ideal for covert disruption and assassination. Can [[disguise]], [[Sapper|sap]], [[Cloak]], headshot (With [[Ambassador]] only) and [[backstab]]. The Spy is armed with the [[Revolver]], a [[Sapper]], a [[Knife|butterfly knife]], a [[Disguise Kit]], and an [[Invisibility Watch]] by default.
+
:{{Class link|Spy}}: A support class with 107% move speed and {{Metrics/Health|C=spy}} health points, ideal for covert disruption and assassination. Can [[disguise]], [[Sapper|sap buildings]], [[cloak]], headshot (With the [[Ambassador]] only) and [[backstab]]. The Spy is armed with the [[Revolver]], a [[Sapper]], a [[Knife|Butterfly Knife]], a [[Disguise Kit]], and an [[Invis Watch|Invisibility Watch]] by default.
  
 
==Combat==
 
==Combat==
Combat is the primary means through which opposing teams compete for objectives. Team Fortress 2 has a variety of mechanics that influence combat.
+
Combat is the primary means through which opposing teams compete for objectives. Team Fortress 2 has a variety of mechanics that influence combat, such as explosives, Sentry Guns, shotguns, and much more.
  
 
===Damage===
 
===Damage===
[[Image:Damagefalloff.png|300px|right|thumb|How damage is affected by distance.]]
+
[[File:Damagefalloff.png|300px|right|thumb|How damage is affected by distance.]]
  
 
{{main|Damage|Critical hits}}
 
{{main|Damage|Critical hits}}
 
{{See also|Health}}
 
{{See also|Health}}
  
Most [[weapons]] deal damage to [[Health|health points]]. Unless the server is modded, weapons do not cause [[friendly fire|damage to teammates]], though many weapons are capable of damaging their user. Weapon damage is subject to a number of variables, though the vast majority of weapons don't deal locational damage (the main exceptions being Sniper or Spy [[headshot]]s and Spy [[backstab]]s). Most weapons deal increased damage to targets that are nearby and reduced damage to targets that are far away, though mini-crits are not subject to the latter and critical hits are subject to neither. Distance modifiers to damage are based on the distance between attacker and target on-hit (as opposed to the position of the attacker when the attack was first made). Explosive damage is reduced as the target's distance from the explosion's center increases. While most explosive weapons can hurt their users, the [[Soldier]] and [[Demoman]] are granted damage reduction to their own explosive attacks.
+
Most [[weapons]] deal damage to [[Health|health points]]. Unless the server's rules are modified, weapons do not cause [[friendly fire|damage to teammates]], though many weapons are capable of dealing self-damage to their user. Weapon damage is subject to a number of variables, though the vast majority of weapons don't deal locational damage (the main exceptions being Sniper or Spy [[headshot]]s and Spy [[backstab]]s). Most weapons deal increased damage to targets that are nearby and reduced damage to targets that are far away, though Mini-Crits are not subject to the latter and Critical hits are subject to neither. Distance modifiers to damage are based on the distance between attacker and target on-hit (as opposed to the position of the attacker when the attack was first made). Explosive damage is reduced as the target's distance from the explosion's center increases. While most explosive weapons can hurt their users, the Soldier and Demoman are granted damage reduction to their own explosive attacks.
  
[[Image:CritHitChance.png|thumb|250px|right|Critical hit chance based on recent damage.]]
+
[[File:CritHitChance.png|thumb|250px|right|Critical hit chance based on recent damage dealt.]]
  
Unless disabled by a server setting, most weapons have a randomized modifier to damage (approximately ±15%) and can also semi-randomly become [[critical hit]]s. Critical hits are not subject to damage randomization or distance-based damage modifiers, and always deal 300% of the weapon's base damage. Critical attacks are usually accompanied by team-colored visual effects and electric shock sound effects (most noticeably on explosive projectiles). Usually, non-melee attacks have a 2-12% chance to become critical based on recent damage output while melee attacks have a 15-25% chance; however, some weapons, like the [[Market Gardener]], are unable to get random critical hits. When hit by a critical attack, text appears above the target's head, a distinct hit sound is played, and the target is subject to greatly increased knockback. Critical attacks do not deal extra damage or knockback to their users, though they may provide visual or audio cues that suggest they do. Critical hits do not stack onto a single attack.
+
Unless disabled by a server setting, most weapons semi-randomly deal [[Critical hit]]s. Critical hits are not subject to damage randomization or distance-based damage modifiers, and always deal 300% of the weapon's base damage. Critical attacks are usually accompanied by team-colored visual effects and electric shock sound effects (most noticeably on explosive projectiles). Usually, non-melee attacks have a 2-12% chance to become critical based on recent damage output while melee attacks have a 15-65% chance; however, some weapons, like the [[Market Gardener]], are unable to get random Critical hits. When hit by a critical attack, text appears above the target's head, a distinct hit sound is played, and the target is subject to greatly increased knockback. Critical attacks do not deal extra damage or knockback to their users, though they may provide visual or audio cues that suggest they do. Critical hits do not stack onto a single attack.
  
A variety of weapons and status effects can cause [[mini-crit]]s. Mini-crits function similarly to critical hits, though they only deal 135% base damage, provide less knock back than a full critical hit, and do not produce the same audio-visual effects. Additionally, while critical hits deal the same damage regardless of distance, mini-crits are subject to damage ramp-up when attacking from close range. If an attack would be both a mini-crit and a critical hit, it will function as though it were only a critical hit. Like critical attacks, mini-crit attacks do not cause increased damage to their users.
+
A variety of weapons and status effects can cause [[Mini-Crit]]s. Mini-Crits function similarly to Critical hits, though they only deal 135% base damage, provide less knockback than a full Critical hit, and do not produce the same audio-visual effects. Additionally, while Critical hits deal the same damage regardless of distance, Mini-Crits are subject to damage ramp-up when attacking from close range. If an attack would be both a Mini-Crit and a Critical hit, it will function as though it were only a Critical hit. Like critical attacks, Mini-Crit attacks do not cause increased damage to their users.
  
[[Buildings]] are not subject to extra damage from critical hits and mini-crits, nor are attacks against them modified by distance. Likewise, attacks made by buildings themselves are not subject to distance-based damage modifiers and cannot become critical hits, though they still may become mini-crits.
+
[[Buildings]] are not subject to extra damage from Critical hits and Mini-Crits, nor are attacks against them modified by distance. Likewise, attacks made by buildings themselves are not subject to distance-based damage modifiers and cannot become Critical hits, though they still may become Mini-Crits.
  
 
===Hit detection===
 
===Hit detection===
[[Image:Disguised {{botignore|spy}} hitbox.png|thumb|right|300px|[[Disguise]]s don't have matching hitboxes.]]
+
[[File:Disguised {{botignore|spy}} hitbox.png|thumb|right|300px|Protip: [[Disguise]]s don't have matching hitboxes.]]
  
 
{{main|Projectiles|Hitscan}}
 
{{main|Projectiles|Hitscan}}
Line 65: Line 64:
 
Most weapons are either ''projectile weapons'' or ''hitscan weapons''.
 
Most weapons are either ''projectile weapons'' or ''hitscan weapons''.
  
*'''Projectile weapons''', such as the [[Rocket Launcher]], produce moving objects with positioning and effects determined by the server's game state, which can make them less reliable for players with high latency. Projectiles usually have unique rules of physics applied to them separate from the player, and player velocity is not used in determining the initial velocity of projectiles. Projectiles do not spawn from center-screen, but from the side on which the weapon is held (a right-handed Soldier produces rockets from his right-hand side). Projectile collision detection does not use model-conforming hitboxes; instead, projectile hit detection relies on a single, large hitbox, also used for collisions with the map and other players, that completely encompass the player model, and does not vary based on the players class or state, except for crouching (for example, a standing Heavy has the same projectile hit detection as a running Scout, but different from a crouched one). The Pyro's particle-based flame attacks follow most projectile weapon mechanics.
+
*'''Projectile weapons''', such as the [[Rocket Launcher]], produce moving objects with positioning and effects determined by the server's game state, which makes them less reliable for players with high latency. Projectiles usually have unique rules of physics applied to them separately from the player, and player velocity is not used in determining the initial velocity of projectiles. Projectiles do not spawn from the center-screen, but from the side on which the weapon is held (a right-handed Soldier produces rockets from his right-hand side). Projectile collision detection does not use model-conforming hitboxes; instead, a projectile hit detection relies on a single, large hitbox, also used for collisions with the map and other players, that completely encompasses the player model, and does not vary based on the player’s class or animation, except for crouching (for example, a standing Heavy has the same projectile hit detection as a running Scout, but different from a crouched one). The Pyro's particle-based flame attacks follow most projectile weapon mechanics.
  
*'''Hitscan weapons''', such as the [[Minigun]] produce instant hit-or-miss attacks instead of projectiles. Melee weapons and bullet/pellet-producing weapons are generally hitscan. Hitscan weapons determine collision based on the game state of the attacker (as opposed to projectiles, which use the server's game state), which can produce somewhat disjointed hit detection ("I already got behind cover; how did that hit me?"). Hitscan weapons are produced from center-screen, even if visual effects seem to suggest otherwise. Non-melee hitscan weapons use fairly accurate model-fitting hitboxes (a standing Heavy would indeed be a much larger target than a standing Scout); melee weapons use the same large hitbox used by projectile weapons.
+
*'''Hitscan weapons''', such as the [[Minigun]], produce instant hit-or-miss attacks instead of projectiles. Melee weapons and bullet/pellet-producing weapons are generally hitscan. Collision detection with hitscan weapons favors the point of view of the attacker (using [[Lag compensation]]), which can produce somewhat disjointed results in the victim's point of view ("I already got behind cover; how did that hit me?"). Hitscan weapons are produced from center-screen, even if visual effects seem to suggest otherwise. Non-melee hitscan weapons use fairly accurate model-fitting hitboxes (a standing Heavy would indeed be a much larger target than a standing Scout); melee weapons use the same large hitbox used by projectile weapons.
**Non-melee hitscan weapons will fire a bullet or at least one pellet perfectly accurate down the crosshair if the weapon has not been fired for at least 1.25 seconds (notably, the [[Sniper Rifle]]'s shots always occur after this period). After an accurate shot, the weapon will incur a period of slight inaccuracy unless the weapon is held from firing for 1.25 seconds. The sole exception to this rule, the [[Ambassador]], is affected by a shorter period of inaccuracy, lasting only until the crosshair has shrunk to its normal size. This period is a little less than a second long (about 0.8s).
+
**Non-melee hitscan weapons will fire a bullet or at least one pellet perfectly accurate down the crosshair if the weapon has not been fired for at least 1.25 seconds (notably, the [[Sniper Rifle]]'s shots always occur after this period). After an accurate shot, the weapon will incur a period of slight inaccuracy unless the weapon is held from firing for 1.25 seconds. The two exceptions to this rule, the [[Ambassador]] and the [[Enforcer]], are affected by a shorter period of inaccuracy, lasting only until the crosshair has shrunk to its normal size for the Ambassador and an equal amount of time for the Enforcer. This period is a little less than a second long (about 0.9s).
  
 
===Weapon types===
 
===Weapon types===
Line 74: Line 73:
 
{{see also|Ammo}}
 
{{see also|Ammo}}
  
Each class has a unique set of weapons at their disposal occupying weapon slots 1, 2, and 3 (often referred to as primary, secondary, and melee, respectively). Some classes may have additional slots, such as the Engineer's [[PDA]] and Spy's [[Disguise Kit]]. The choices players make in choosing weapons and items constitutes their [[loadout]].
+
Each class has a unique set of weapons at their disposal occupying weapon slots 1, 2, and 3 (often referred to as primary, secondary, and melee, respectively). The Engineer's [[PDA]] also uses slots 4 and 5, and the Spy's [[Disguise Kit]] uses slot 4. The choices players make in choosing weapons and items constitute their [[loadout]].
  
 
Most non-melee weapons require [[Ammo]] for use. Weapons that use Ammo can be either reserve-based (having a limited clip size and requiring reloading from stored ammo, such as the [[Pistol]]) or fully-loaded (capable of using all ammo without reloading, such as the [[Minigun]]). Reserve-based weapons either use magazine-style reloading (reload fills loaded ammo in single, one-time animation, such as the [[Revolver]]) or sequential reloading (reloads ammo from reserve one at a time, such as the [[Shotgun]]). Reloading can be interrupted at any time by attacking or changing weapons, though time spent reloading (beyond the last carried ammo increment, in the case of sequential weapons) is wasted. When reloading a sequential reload weapon, a different animation and reload time is used for reloading the first ammo and subsequent ammo (for example, an emptied [[Grenade Launcher]] takes 1.24 seconds to reload 1 ammo, plus 0.6 seconds for each ammo after that).
 
Most non-melee weapons require [[Ammo]] for use. Weapons that use Ammo can be either reserve-based (having a limited clip size and requiring reloading from stored ammo, such as the [[Pistol]]) or fully-loaded (capable of using all ammo without reloading, such as the [[Minigun]]). Reserve-based weapons either use magazine-style reloading (reload fills loaded ammo in single, one-time animation, such as the [[Revolver]]) or sequential reloading (reloads ammo from reserve one at a time, such as the [[Shotgun]]). Reloading can be interrupted at any time by attacking or changing weapons, though time spent reloading (beyond the last carried ammo increment, in the case of sequential weapons) is wasted. When reloading a sequential reload weapon, a different animation and reload time is used for reloading the first ammo and subsequent ammo (for example, an emptied [[Grenade Launcher]] takes 1.24 seconds to reload 1 ammo, plus 0.6 seconds for each ammo after that).
  
Many weapons that don't use ammo must be recharged instead (such as [[Jarate]]). Recharging can usually be done by waiting for a set amount of time, going to the resupply cabinet, or respawning. Some weapons without ammo require manual refill based on specific requirements, such as the Medi Gun (which requires refill for ÜberCharge, though not for [[healing]]) and the [[Buff Banner]].
+
Many weapons that don't use ammo must be recharged instead (such as [[Jarate]], and the [[Sandman]]). Recharging can usually be done by waiting for a set amount of time, going to the resupply cabinet, or respawning. Some weapons without ammo require manual refills based on specific requirements, such as the Medi Gun (which requires refill for ÜberCharge, though not for [[healing]]) and the [[Buff Banner]].
  
 
===Status effects===
 
===Status effects===
[[Image:ÜberCharge Kritzkrieg.png|thumb|right|350px|The [[Heavy]] under the effect of a [[Critical hits#crit boost|crit boost]] from the [[Kritzkrieg]] of the [[Medic]], who is in turn under the effect of an enemy [[Scout]]'s [[Mad Milk]].]]
+
[[File:ÜberCharge Kritzkrieg.png|thumb|right|350px|The Heavy under the effect of a crit boost from the [[Kritzkrieg]] of the Medic, who is in turn under the effect of an enemy Scout's [[Mad Milk]].]]
  
 
{{see also|Weapons}}
 
{{see also|Weapons}}
  
Status effects include a variety of weapon-induced player conditions, such as [[Fire]] and [[Bleeding]]. All status effects are removed by death or class change, and most negative effects are removed by ÜberCharge. Some can be removed by healing or submersion in [[water]]. There are both positive and negative effects.
+
Status effects include a variety of weapon-induced player conditions, such as [[Fire]] and [[Bleeding]]. All status effects are removed by death, touching a [[Resupply Locker]], or class change, and most negative effects are removed by ÜberCharge. Some can be removed by healing or submersion in [[water]]. There are both positive and negative effects.
 +
 
 
====Positive effects====
 
====Positive effects====
* '''[[ÜberCharge]]''': An ÜberCharged player is invulnerable to all forms of damage other than [[environmental hazards]] or a [[Telefrag]]. ÜberCharged players can be identified by their bright team-colored shimmer and glowing eyes. Caused by the [[Medi Gun]], escaping from [[Eyeaduct]]'s Underworld or [[Ghost Fort]]'s Skull Island, and stunning [[Merasmus]] with a bomb.
+
* '''[[ÜberCharge#Medi Gun|Invulnerable/ÜberCharged]]''': An invulnerable player is completely immune to almost all forms of damage and negative status effects, although they are still capable of receiving knockback, whether it be from enemy attacks or an enemy Pyro's [[compression blast]]. However, they are not immune to [[environmental hazards]] (such as [[Sawblade]]s, [[Train]]s, [[Pitfall|falling off a cliff/into a pit]], etc.) or being [[Telefrag]]ged. Invulnerable players are not immune to being stunned by the initial strike of the [[Arm Blender]], [[Arrow Stab]], and [[Uberslice]] taunt attacks (though they will still inflict no damage). They are also susceptible to the [[Holiday Punch]]'s [[Schadenfreude|laugh-inducing]] Critical hits. Invulnerable players can be identified by their bright team-colored shimmer and glowing eyes caused by the Medi Gun's ÜberCharge, escaping from most Underworlds, temporarily with an [[Magic spells#Overheal|overheal spell]], stunning [[Merasmus]] with a bomb, and more.
* '''[[Quick-Fix|Megaheal]]''': A player under this effect is immune to movement-impairing effects (such as [[knockback]], [[stun]], and [[slowdown]]) and is healed at 100.8-302.4 HP per second (depending on how recently the player was damaged), or 3x the Quick-Fix's base heal rate. Megahealed players have a glowing ring around their feet, similarly to the [[Buff Banner]]. Caused by the [[Quick-Fix]]'s ÜberCharge.
+
 
* '''[[Crit boost]]''': All attacks from a player under the effects of a Crit boost result in Critical hits. The weapons of such a player glow with team-color electricity. Caused by the [[Kritzkrieg]], the [[Killing Gloves of Boxing]], [[Frontier Justice]], the [[Diamondback]], the [[Chargin' Targe]], the [[Splendid Screen]], the [[Phlogistinator]], and the [[Cleaner's Carbine]]; also occurs after capturing the [[Capture the Flag#Intelligence|Intelligence]], attaining [[First Blood]], collecting a [[Halloween pumpkin]] on a [[Haunted Halloween Special]], escaping from [[Eyeaduct]]'s Underworld or [[Ghost Fort]]'s Skull Island, or for the winning team during [[humiliation]]. The [[Cow Mangler 5000]] cannot be forced to crit, even during a crit boost.
+
* '''[[Quick-Fix|Megaheal]]''': A player under this effect is immune to movement-impairing effects (such as [[knockback]], [[stun]], and [[slowdown]]) and is healed at 100.8-302.4 HP per second (depending on how recently the player was damaged), or 3x the Quick-Fix's base heal rate. Megahealed players have a glowing ring around their feet, similar to the [[Buff Banner]]. Received by the [[Quick-Fix]]'s ÜberCharge.
* '''[[Critical hits#mini-crit boost|Mini-crit boost]]''': Attacks from a player in a mini-crit boost will all be mini-crits. Mini-crit boosted weapons glow with electricity based on team color, with a slight yellow tint (greenish blue for BLU, orange for RED). Caused by [[Soda Popper]], [[Crit-a-Cola]], [[Buff Banner]], [[Chargin' Targe]], [[Splendid Screen]], and [[Buffalo Steak Sandvich]].
+
 
* '''[[Overheal]]''': An overhealed player's health is above 100% (limited to 150%). Overhealed players emanate health icon-shaped, team-colored particles. Caused by the [[Medi Gun]], [[Kritzkrieg]], [[Vaccinator]], [[Eyelander]], [[Powerjack]], [[Horseless Headless Horsemann's Headtaker]], [[Conniver's Kunai]], [[Dalokohs Bar]], [[Fishcake]], [[Nessie's Nine Iron]], and escaping from Eyeaduct's Underworld.
+
* '''[[Critical hits#Crit Boost|Crit boost]]''': All attacks from a player under the effects of a Crit boost will be Critical hits. The weapons of such a player glow with team-colored electricity. Received by the [[Kritzkrieg]], [[Killing Gloves of Boxing]], [[Frontier Justice]], [[Diamondback]], [[Chargin' Targe]], [[Splendid Screen]], and the [[Phlogistinator]]; also occurs after capturing the [[Capture the Flag#Intelligence|Intelligence]] and attaining [[First Blood]] on most servers, collecting a [[Halloween pumpkin]] on a [[Haunted Halloween Special]], escaping from most Underworlds, or for the winning team during [[humiliation]]. The [[Cow Mangler 5000]] cannot deal Critical hits at all, and will always deal Mini-Crits instead.
* '''[[Bonk! Atomic Punch|Evasion]]''': Evasion prevents enemy weapons from damaging a player, though it has no impact on knock back or the induction of status effects. Evasive players produce an afterimage distortion effect behind them, and attacks against them cause flashes of text indicating misses. The only item to cause this effect is [[Bonk! Atomic Punch]].
+
 
* '''[[Disciplinary Action|Speed Boosted]]''': A 40% speed boost is applied, which caps at 150% of the basic move speed. Speed-boosted players are indicated by a wind breeze particle effect surrounding them. Caused by [[Disciplinary Action]], and escaping from [[Eyeaduct]]'s Underworld or [[Ghost Fort]]'s Skull Island.
+
** '''[[Critical hits#Mini-Crits|Mini-Crit boost]]''': All attacks from a player under the effects of a Mini-Crit boost will be Mini-Crits. Mini-Crit boosted weapons glow with electricity based on team color, with a slight yellow tint (greenish-blue for BLU, orange for RED). Received by the [[Crit-a-Cola]], [[Buff Banner]], [[Chargin' Targe]], [[Splendid Screen]], [[Tide Turner]], [[Buffalo Steak Sandvich]], and the [[Cleaner's Carbine]]. The [[Bushwacka]] and [[Fan o' War]] cannot deal Mini-Crits at all, and will always deal Crits instead.
* '''[[Battalion's Backup|Damage Softening]]''': Players benefiting from damage softening receive reduced damage and knock back from Critical hits and mini-crits, and take an additional 35% reduced weapon damage overall. Such players have a glowing ring around their feet (an effect shared by the Buff Banner's Crit boost effect). Caused by the [[Battalion's Backup]].
+
 
 +
* '''[[Overheal]]''': An overhealed player's health is above 100% (limited to 150%, 125% with Quick-Fix). Overhealed players emanate health icon-shaped, team-colored particles. Received by the [[Medi Gun]], [[Kritzkrieg]], [[Vaccinator]], [[Quick-Fix]], [[Eyelander]]/[[Nessie's Nine Iron]]/[[Horseless Headless Horsemann's Headtaker]], [[Conniver's Kunai]], [[Dalokohs Bar]]/[[Fishcake]], [[Half-Zatoichi]] and escaping from most Underworlds.
 +
 
 +
* '''[[Bonk! Atomic Punch|Evasion/Phasing]]''': Very functionally similar to being ÜberCharged, although players under this effect are incapable of attacking or switching weapons and are forced into a third-person perspective. Evasive players produce an afterimage distortion effect behind them, and attacks against them cause flashes of text indicating misses. The only item to cause this effect is the [[Bonk! Atomic Punch]].
 +
 
 +
* '''[[Soda Popper|Hype Mode]]''': Hype mode allows the player (as the Scout) to perform 5 additional air jumps (6 in total) while the effect is active. A magenta glow is applied to the player's active weapon. The only item to cause this effect is the [[Soda Popper]]. The player has to inflict damage with any of the Scout's weapons to charge the meter.
 +
 
 +
* '''[[Classes#Speed|Speed Boosted]]''': A 40% speed boost is applied, which caps at 150% of the basic move speed. Speed-boosted players are indicated by a wind breeze particle effect surrounding them. Received by [[Disciplinary Action]], the buff from [[Concheror|The Concheror]], getting a kill with the [[Big Earner]] and the [[Axtinguisher]]/[[Postal Pummeler]], feigning death with the [[Dead Ringer]], hitting an enemy with the [[Eviction Notice]] and the [[Hot Hand]], escaping from most Underworlds, and going through the door on the clock tower in [[Helltower]].
 +
 
 +
* '''[[Battalion's Backup|Damage Softening]]''': Players benefiting from damage softening receive 50% less damage from Sentry Guns and 35% from all other sources, and reduce damage and knockback from Critical hits and Mini-Crit. Such players have a glowing ring around their feet (an effect shared by the Buff Banner's Crit boost effect). Received by the [[Battalion's Backup]].
 +
 
 +
* '''[[Vaccinator|Resistance]]''': Players can have up to three resistance types deployed on them. Those resistance types are called Bullet Resistance, Blast Resistance, and Fire Resistance. These Resistance types can be deployed by Vaccinator, and the reduction value will rise from 10% to 75% with additional Crits protection when ÜberCharged.
 +
* '''[[Amputator|Heal Ring]]''': A team-colored ring that heals players 25 health per second. Received by the [[Amputator]].
  
 
====Negative effects====
 
====Negative effects====
* '''[[Fire]]''': A burning player takes damage over time (an effect known as [[Afterburn]]), to which Pyros are immune. From most sources, this deals 3 damage every half-second over 10 seconds for a total of 60 damage (Degreaser only deals 2 damage at a time, totaling 40). Caused by the [[Flamethrower]], [[Backburner]], [[Degreaser]], [[Phlogistinator]], [[Rainblower]], flaming [[Huntsman|arrows]], [[Flare Gun]], [[Detonator]], [[Manmelter]], [[Scorch Shot]], [[Sharpened Volcano Fragment]], [[Huo-Long Heater]] and the charged shot from the [[Cow Mangler 5000]].
+
* '''[[Fire]]''': A burning player takes damage over time (an effect known as [[Afterburn]]), to which Pyros are immune (unless they are coated by the liquid from the [[Gas Passer]]). From most sources, this deals 4 damage every 0.5 seconds for a maximum of 10 seconds (depends on the weapon used). Afterburn damage is decreased for the Degreaser. Received by the [[Flame Thrower]]/[[Rainblower]]/[[Nostromo Napalmer]], [[Backburner]], [[Degreaser]], [[Phlogistinator]], [[Dragon's Fury]], ignited [[Huntsman|arrows]], [[Flare Gun]], [[Detonator]], [[Manmelter]], [[Scorch Shot]], [[Sharpened Volcano Fragment]], [[Huo-Long Heater]], the charged shot from the [[Cow Mangler 5000]], touching the lava or fireballs on [[Hellfire]] and taking any damage while coated by the Gas Passer. Afterburn from flamethrowers decreases healing by 20%.
* '''[[Bleeding]]''': Bleeding players take damage over time. Bleeding duration is based on the source (either 5 or 6 seconds), dealing 3-5 damage every half-second. Caused by the [[Southern Hospitality]], [[Tribalman's Shiv]], [[Boston Basher]], [[Three-Rune Blade]], [[Flying Guillotine]] and the projectile from the [[Wrap Assassin]].
+
 
* '''[[Slowdown]]''': Some weapons can reduce enemy [[speed|movement speed]] on hit, with varying efficacy. Caused by [[Natascha]].
+
* '''[[Bleeding]]''': Bleeding players take damage over time. Bleeding duration is based on the source (either 5 or 6 seconds), dealing 4 damage every half-second. Received by the [[Southern Hospitality]], [[Tribalman's Shiv]], [[Boston Basher]]/[[Three-Rune Blade]], [[Flying Guillotine]], the projectile (bauble) from the [[Wrap Assassin]] and [[Huntsman|arrows]] with the +5s Bleed On Target upgrade in [[Mann vs. Machine]].
* '''[[Jarate]]''': Attacks made against Jarate-soaked players become [[Critical hits#mini-crits|mini-crits]]. Jarate-soaked players are tinted yellow and drip yellow droplet particles, which reveals [[Cloak|cloaked Spies]]. Caused by [[Jarate]] and the [[Sydney Sleeper]].
+
 
* '''[[Mad Milk|Milk]]''': Players who attack Milk-soaked enemies are healed for 60% of the damage dealt (does not overheal). Milk-soaked players drip white droplet particles, and reveals cloaked Spies. Caused by [[Mad Milk]].
+
* '''[[Slowdown]]''': The enemy's [[speed|movement speed]] is reduced. Received by getting hit with [[Natascha]] or the [[Sandman]]'s ball, or after the effects of [[Bonk! Atomic Punch]] expire while damage was absorbed.
* '''Fleeing State''': Fleeing players move 10% reduced speed, cannot move while crouched, and cannot fire or change weapons (though they can [[taunt]]). Such players can be recognized by their change in character animations, which vary by class (most can be characterized as looking "frightened" or "disappointed"). Caused by the [[Sandman]], [[humiliation]], [[Ghost]]s, and the [[Horseless Headless Horsemann]]'s "taunt".
+
 
* '''Marked For Death''': Attacks made against players who are Marked For Death become mini-crits. A player who is marked for death has a white skull and crossbones image above their head. Players are Marked for fifteen seconds by being hit by a Scout wielding the [[Fan O'War]], with each Scout only being able to mark one enemy at any time. Heavies are Marked For Death while using the [[Gloves of Running Urgently]], and for three seconds after switching weapons. Engineers are marked for death when [[haul]]ing a building with the [[Rescue Ranger]] equipped (whether picked up from a distance or not), and for a few seconds afterward.
+
* '''[[Jarate]]''': Attacks made against Jarate-soaked players become [[Critical hits#mini-crits|Mini-Crits]]. Jarate-soaked players are tinted yellow and drip yellow droplet particles, which partially reveal [[Cloak|cloaked Spies]]. Received by Jarate/[[Self-Aware Beauty Mark]], the [[Sydney Sleeper]], and one of Merasmus' spells. When soaked by Jarate, players are considered "wet".
* '''[[Half-Zatoichi|Honorbound]]''': When a player draws an Honorbound weapon that player is unable to put this weapon away until he scores a kill with it. Once a kill is earned the player may draw and sheath the weapon as he pleases. The [[Half-Zatoichi]] is currently the only weapon that is Honorbound.
+
 
 +
* '''[[Mad Milk|Milk]]''': Players who attack Milk-soaked enemies are healed for 60% of the damage dealt (does not overheal). Milk-soaked players drip white droplet particles, which partially reveal cloaked Spies. Received by Mad Milk/[[Mutated Milk]], as well as any Medic Primary (excluding the [[Crusader's Crossbow]]) with the Mad Milk Syringes upgrade in [[Mann vs. Machine]]. When soaked by the Mad Milk, players are considered "wet".
  
===Knock back===
+
* '''[[Match outcomes#Humiliation|Fleeing State]]''': Fleeing players move 10% slower, cannot move while crouched, and cannot fire or change weapons (although they can [[Taunts|taunt]]). Such players can be recognized by their change in character animations, which vary by class (most can be characterized as looking "frightened" or "disappointed"). Received by [[humiliation]], [[Ghost]]s, and the [[Horseless Headless Horsemann]]'s "Boo".
[[Image:Pyroblows.png|thumb|right|100px|A [[Pyro]] using [[compression blast]] on a [[Scout]].]]
+
 
 +
* {{anchor|MarkedForDeath}}'''[[Critical hits#Mini-crits|Marked For Death]]''': All damage from attacks made against players who are Marked For Death become Mini-Crits. A player who is Marked For Death has a [[Particle effects#Marked For Death|white skull and crossbones image]] above their head. Unlike Jarate, Marked For Death cannot be removed by being submerged in water, [[charging]], being healed by a Medic or a Dispenser, or touching a [[Resupply Locker]]. The only cure is waiting it out. Scouts can mark enemies for death with the [[Fan O'War]], Soldiers are Marked For Death while using the [[Escape Plan]] and for one second after switching weapons, Scouts are marked for death for 5 seconds after attacking while under the effects of the [[Crit-a-Cola]], Engineers are Marked for Death when [[Buildings#Hauling|hauling]] a building with the [[Rescue Ranger]] equipped (whether picked up from a distance or not) and for one second afterward, and any class can be marked for death by being slimed by an egg sack explosion or hit by a [[Skeletons|Salmann]] on [[Slime]]. Additionally, in [[Mann vs. Machine]], the Sandman can be upgraded to apply a Marked For Death upon any robot hit by the baseball or the melee swing. In [[Mannpower]], holding the flag for 90 seconds marks the Intelligence courier for death.
 +
 
 +
*'''[[Gas Passer|Gasoline]]''': Players soaked in gasoline after passing through the cloud of the [[Gas Passer]] are ignited for 10 seconds when hit (this includes self-inflicted damage from the [[Rocket Jumper]] and the [[Sticky Jumper]]). This effect includes enemy Pyros. Players with this effect are covered in green droplets. When soaked by gasoline, players are considered "wet".
 +
 
 +
=== Knockback ===
 +
[[File:Pyroblows.png|thumb|right|100px|A Pyro using [[compression blast]] on a Scout.]]
  
 
{{Main|Knockback}}
 
{{Main|Knockback}}
 
{{See also|Jumping}}
 
{{See also|Jumping}}
  
Most weapons produce at least some sort of knock back, much of which is too small to notice. Attack modifiers to knock back include damage, critical hit or mini-crit status, and weapon-specific effects. Knockback can be used to manipulate the positioning and movement of players, especially those of enemies through [[juggling]] and oneself through [[Jumping#Rocket jumps|rocket jumping]] or [[Jumping#Sticky jumps|sticky jumping]]. Some weapons and abilities, such as the [[Force-A-Nature]] and [[compression blast]], are based on unique knock back functionality. ÜberCharged targets are less influenced by enemy knock-back than normal targets, and Megahealed players and [[Disguise]]d Spies are not subject to knock back from enemy weapons with the exception of the compression blast.
+
Most weapons produce at least some sort of knockback, much of which is too small to notice. Attack modifiers to knockback include damage, Critical hit or Mini-Crit status, and weapon-specific effects. Knockback can be used to manipulate the positioning and movement of players, especially those of enemies through [[juggling]], and oneself through [[Jumping#Soldier jumps|rocket jumping]] or [[Jumping#Demoman jumps|sticky jumping]]. Some weapons and abilities, such as the [[Force-A-Nature]], the [[Shortstop]]'s alt-fire, and [[compression blast]], are based on unique knockback functionality. ÜberCharged targets are less influenced by enemy knockback than normal targets, and Megahealed players and [[Disguise]]d Spies are not subject to knockback from enemy weapons, but a compression blast will affect Disguised Spies.
  
 
==Environment==
 
==Environment==
Depending on the [[map]] and [[server]], the goals and rules of TF2 gameplay can change dramatically. By understanding these variables in gameplay (and how to parse them in the [[Server Browser]]), players can find a game environment that suits them and fully contribute to their team's goals.
+
Depending on the [[map]] and [[server]], the goals and rules of the TF2 gameplay can change dramatically. By understanding these variables in gameplay (and how to parse them in the [[Server Browser]]), players can find a game environment that suits them and fully contribute to their team's goals.
  
 
===Objectives===
 
===Objectives===
[[Image:GravelPitDefense.jpg|thumb|right|400px|A [[defense|defensive]] team guarding a [[control point (objective)|control point]] on [[Gravel Pit]].]]
+
[[File:GravelPitDefense.jpg|thumb|right|400px|A [[defense|defensive]] team guarding a [[control point (objective)|control point]] on [[Gravel Pit]].]]
 
{{hatnote|Main article: [[List of game modes]]}}
 
{{hatnote|Main article: [[List of game modes]]}}
  
Maps are made based on a variety of game modes, which are used to determine the objectives for both teams. Teams may compete over the same goals (such as in [[List of game modes#Standard control point|Push Control Point]] and [[List of game modes#King of the Hill|King of the Hill]] maps) or oppose each other in an offense vs. defense setup (such as in [[List of game modes#Attack/Defend|Attack/Defend Control Point]] and [[List of game modes#Payload|standard Payload]] maps).
+
Maps are made based on a variety of game modes, which are used to determine the objectives for both teams. Teams may compete over the same goals (such as in [[List of game modes#Standard control point|Standard Control Point]] and [[List of game modes#King of the Hill|King of the Hill]] maps) or oppose each other in an offense vs. defense setup (such as in [[List of game modes#Attack/Defend|Attack/Defend Control Point]] and [[List of game modes#Payload|standard Payload]] maps).
 +
 
 +
Many game modes use [[control point (objective)|control points]]. Control points begin to be captured when a player of a team not owning the point stands on the point. The [[Control point timing|capture time]] varies by map, and its speed is increased when more players stand on it (though each player beyond the first provides diminishing returns). Capture is halted when an opposing team member stands on it in defense, and capture progress is gradually undone when no capturing teammates stand on the point. Control points cannot be captured while "locked", and locked points are usually unlocked after preceding points are captured. [[Payload#Carts|Payload carts]] are pushed and halted the same way control points are captured, though instead of capturing a Payload cart, the pushing team tries to bring it to a checkpoint. ÜberCharged players cannot capture points or push carts, though they can defend them.
 +
 
 +
In official maps with offense vs. defense game modes, [[BLU]] plays offense while [[RED]] plays defense. In such maps, BLU tends to have faster [[respawn]] times, but RED is given a [[setup time]] to prepare a robust defense.
  
Many game modes use [[control point (objective)|control points]]. Control points begin to be captured when a player of a team not owning the point stands on the point. The [[Control point timing|capture time]] varies by map, and its speed is increased when more players stand on it (though each player beyond the first provides diminishing returns). Capture is halted when an opposing team member stands on it in defense, and capture progress is gradually undone when no capturing team mates stand on the point. Control points cannot be captured while "locked", and locked points are usually unlocked after preceding points are captured. [[Payload#Carts|Payload carts]] are pushed and halted the same way control points are captured, though instead of capturing a Payload cart, the pushing team tries to bring it to a checkpoint. Übercharged players cannot capture points or push carts, though they can defend them.
+
* '''[[List of game modes#Arena|Arena]]''': Players spawn only at the beginning of the round, with no respawning. After a set time, a neutral control point unlocks, which can be captured to win the round. If all members of a team die, that team loses the round. Has [[First Blood]] and automated team assignment/shuffling by default. Official arena maps don't have [[Respawn#Resupply|resupply Lockers]].
  
In all official maps with offense vs. defense game modes, [[BLU]] plays offense while [[RED]] plays defense. In such maps, BLU tends to have faster [[respawn]] times, but RED is given a [[setup time]] to prepare a robust defense.
 
* '''[[List of game modes#Arena|Arena]]''': Players spawn only at the beginning of the round, with no respawning. After a set time, a neutral control point unlocks, which can be captured to win the round. If all members of a team die, that team loses the round. Has [[first blood]] and automated team assignment/shuffling by default. Official arena maps don't have [[Respawn#Resupply|resupply]] cabinets.
 
 
* '''[[Capture the Flag]] (CTF)''': Teams work to capture the opposing side's [[Intelligence]] faster than their opponents do the same. Any player can pick up an enemy's Intelligence, and their team gains a point if that player returns the enemy's Intelligence to their team's own original Intelligence spot. The Intelligence drops on command or when its carrier dies; it is returned to its original location if it remains on the ground for a set time after being dropped.
 
* '''[[Capture the Flag]] (CTF)''': Teams work to capture the opposing side's [[Intelligence]] faster than their opponents do the same. Any player can pick up an enemy's Intelligence, and their team gains a point if that player returns the enemy's Intelligence to their team's own original Intelligence spot. The Intelligence drops on command or when its carrier dies; it is returned to its original location if it remains on the ground for a set time after being dropped.
* '''[[List of game modes#Standard Control Point|Control Point, Push]] (CP)''': Each team starts with two locked control points and fight for the middle, neutral control point. From then on, at any given time, each team's furthest control point is unlocked, while all others are locked. Teams must capture all five control points to win the round.
+
 
* '''[[List of game modes#Attack/Defend|Control Point, Attack/Defend]] (CP)''': If the offensive team captures all of the defense's control points before time runs out, they win (if defense can prevent this, they win). In most maps, only one or two control points are unlocked at a time (the notable exception being [[Steel]]).
+
* '''[[List of game modes#Standard Control Point|Control Point, Standard]] (CP)''': Each team starts with two locked control points and fight for the middle, neutral control point. From then on, at any given time, each team's furthest control point is unlocked, while all others are locked. Teams must capture all five control points to win the round.
* '''[[List of game modes#King of the Hill|King of the Hill]] (KOTH)''': Each team has their own countdown timer, and a team wins when their countdown timer reaches zero. A team's timer counts down while they own the control point, but is frozen while that team does not have ownership of the control point. Note that a team's timer will still count down even if there are enemies '''trying''' to capture the point.
+
 
* '''[[List of game modes#Mann vs. Machine|Mann vs. Machine]] (MVM)''': A team composed of up to six human players must fend off waves of [[Bots|AI]]-controlled [[robots]], stopping them from deliver a bomb to the map's stronghold. Players are able to collect [[credits|cash]] from destroyed robots and buy [[Upgrade Station|upgrades]] between waves. Offense wins if successfully deliver the bomb, while defense wins by successfully ward off all the waves.
+
* '''[[List of game modes#Attack/Defend|Control Point, Attack/Defend]] (CP)''': If the offensive team captures all of the defense's control points before time runs out, they win (if the defense can prevent this, they win). In most maps, only one control point is unlocked at a time (the notable exceptions being [[Steel]], [[Frostwatch]] and [[Hadal]]).
* '''[[List of game modes#Payload|Payload]] (PL)''': Offense pushes the Payload cart in a manner similar to capturing a control point, trying to reach checkpoints instead of finishing point captures. The Payload cart supports allies as if it were a level 1 [[Dispenser]]. Offense wins if the cart reaches the final checkpoint, while defense wins by making sure the cart doesn't reach the final point.  
+
 
* '''[[List of game modes#Payload Race|Payload Race]] (PLR)''': Essentially identical to Payload, but instead of offense vs. defense, each team pushes their own cart in an attempt to reach the finish before the opposing team does.
+
* '''[[List of game modes#King of the Hill|King of the Hill]] (KOTH)''': Each team has their own countdown timer, and a team wins when their countdown timer reaches zero. A team's timer counts down while they own the control point, but is frozen while that team does not have ownership of the control point. Note that a team's timer will still count down even if there are enemies trying to capture the point.
* '''[[List of game modes#Special_Delivery|Special Delivery]] (SD)''': CTF-streetball, an initially neutral briefcase of [[Australium]] must be transported to [[Non-player characters#Poopy Joe|Poopy Joe's]] rocket before the opposing team can do the same.
+
 
* '''[[List of game modes#Territorial Control|Territorial Control]] (TC)''': Each team is randomly assigned territories, and rounds consist of each team trying to contest one of their opponent's control points (while the opposing team tries to capture one of theirs). Most of the map is locked during gameplay, consisting of only one territory vs. one territory. After enough successive wins, a round takes place at the losing side's base point, which they must defend against the offense-only opposing team.
+
* '''[[List of game modes#Mann vs. Machine|Mann vs. Machine]] (MVM)''': A team composed of up to six human players must fend off waves of [[Bots|AI]]-controlled [[robots]], stopping them from delivering a bomb to the map's stronghold. Players are able to collect [[credits|cash]] from destroyed robots to buy [[Upgrade Station|upgrades]] during and between waves. Offense wins if the bomb is delivered successfully, while defense wins by successfully warding off all the waves.
* '''[[List of game modes#Training Mode|Training Mode]] (TR)''': Training maps are for practicing skills against obstacles and/or bots and learning through tutorials. They are often played with only one human player, or at the very least, no opposing human sides.
+
 
 +
* '''[[List of game modes#Payload|Payload]] (PL)''': Offense pushes the Payload cart in a manner similar to capturing a control point, trying to reach checkpoints instead of finishing point captures. The Payload cart supports allies as if it were a level 1 [[Dispenser]]. Offense wins if the cart reaches the final checkpoint, while defense wins by making sure the cart doesn't reach the final point before the timer counts down to 0.  
 +
 
 +
* '''[[List of game modes#Payload Race|Payload Race]] (PLR)''': Essentially identical to Payload, but, instead of offense vs. defense, each team pushes their own cart in an attempt to reach the finish before the opposing team does.
 +
 
 +
* '''[[List of game modes#Special Delivery|Special Delivery]] (SD)''': CTF-streetball, an initially neutral briefcase must be transported to a capture zone before the opposing team can do the same. In the two official maps that use this game mode, players must ride a lift up while carrying the objective for a short while before being able to capture it and win the round.
 +
 
 +
* '''[[List of game modes#Territorial Control|Territorial Control]] (TC)''': Each team is randomly assigned territories, and rounds consist of each team trying to contest one of their opponent's control points (while the opposing team tries to capture one of theirs). Most of the map is locked during gameplay, consisting of only one territory vs. one territory. After enough successive wins, another round takes place at the losing side's base point, which they must defend against the offense-only opposing team.
 +
 
 +
* '''[[List of game modes#Training Mode|Training Mode]] (TR)''': Training maps are for practicing skills against obstacles and/or bots and learning through tutorials. They are often played with only one human player, or, at the very least, no opposing human sides.
  
 
===Map elements===
 
===Map elements===
[[Image:Pickups.png|thumb|300px|right|Left to right: 100% [[health]] kit, [[Sandvich]], 50% [[ammo]] pack.]]
+
[[File:Pickups.png|thumb|300px|right|From left to right: A large (100%) [[health]] kit, the [[Heavy]]'s [[Sandvich]], and a medium (50%) [[ammo]] pack.]]
  
 
{{See also|Respawn|Pickups}}
 
{{See also|Respawn|Pickups}}
  
Players start the round in their team's respawn room, where they can change class and loadout instantly. Most respawn rooms contain resupply cabinets, which fully restore health, restock weapon ammo, refill most item meters, and remove most negative status effects, though a similar effect can be achieved by class switching. Upon dying, a player waits to respawn in a respawn wave, which typically come at ten- or five-second intervals, but do vary by map, team color and size, objective status, and server settings. After this wait they appear at their team's furthest forward respawn room. Respawn rooms can be earned by capturing points or pushing Payload carts to checkpoints, and can be lost if the opposing team makes such progress themselves.
+
Players start the round in their team's resupply room, where they can change class and loadout instantly. Most resupply rooms contain cabinets, which fully restore health, restock weapon ammo, refill most item meters, and remove most negative status effects, though a similar effect can be achieved by class switching. Upon dying, a player waits to respawn in a respawn wave, which typically comes at ten- or five-second intervals, but do vary by map, team color and size, objective status, and server settings. After this wait, they appear at their team's furthest forward resupply room. Resupply rooms can be earned by capturing points or pushing Payload carts to checkpoints and can be lost if the opposing team makes such progress themselves.
  
Many maps make use of doors. Although their visuals suggest otherwise, doors are handled by the server as being either completely open or completely shut, alternating between the two instantly. Most doors are opened whenever a player stands near them. However, some doors will only open to players coming from a certain side or players on a certain team, most notably respawn room doors. Some doors remain locked until certain conditions are met, such as control points being captured or Payload cart checkpoints being reached.
+
Many maps make use of doors. Although their visuals suggest otherwise, doors are handled by the server as being either completely open or completely shut, alternating between the two instantly. Most doors are opened whenever a player stands near them. However, some doors will only open to players coming from a certain side or players on a certain team, most notably resupply room doors. Some doors remain locked until certain conditions are met, such as control points being captured or Payload cart checkpoints being reached.
  
The boundaries and surfaces of maps are not determined by visual elements, but invisible surfaces that determine where players and projectiles can go. All maps--even outdoor ones--have player ceilings and walls, though they may be invisible, and projectiles may even appear to go through them. Additionally, many surfaces and objects in the game that appear to take physical space are completely ignored for collision detection, with players and projectiles passing through them as if nonexistent; these surfaces can be used for hiding [[Stickybombs]] or [[spam]]ming targets from cover.
+
The boundaries and surfaces of maps are not determined by visual elements, but by invisible surfaces that determine where players and projectiles can go. All maps--even outdoor ones--have player ceilings and walls, though they may be invisible, and projectiles may even appear to go through them. Additionally, many surfaces and objects in the game that appear to take physical space are completely ignored for collision detection, with players and projectiles passing through them as if nonexistent; these surfaces can be used for hiding [[Stickybombs]] or [[spam]]ming targets from cover.
  
Maps usually have [[pickups]] placed in various locations. Map-specific health and ammo pickups will remain in place until grabbed, respawning after a ten-second delay. The map health pickups restore 20.5%, 50%, or 100% health based on size (pill bottle, first aid tin, and ice cooler, respectively); similarly, the map ammo pickups restore 20.5%, 50%, or 100% ammo and 41, 100, or 200 [[metal]] based on size (small grey metal box, medium beige metal box, and large wood crate, respectively). When players die, they usually drop weapons that can be picked up for 50% ammo and 100 metal (unless the dropped item was an Engineer [[toolbox]], which drops 100% ammo and 200 metal); destroyed buildings also leave behind metal debris, which can be picked up for ammo and metal. A Heavy who dies with a [[Sandvich]], [[Dalokohs Bar]], [[Fishcake]], or [[Buffalo Steak Sandvich]] active will instead drop that, which can be picked up for 50 health points (75 for Scouts).
+
Maps usually have [[pickups]] placed in various locations. Map-specific health and ammo pickups will remain in place until grabbed, respawning after a ten-second delay. The map health pickups restore 20.5%, 50%, or 100% health based on size (pill bottle, first aid tin, and ice cooler, respectively); similarly, the map ammo pickups restore 20.5%, 50%, or 100% ammo and 40, 100, or 200 [[metal]] based on size (small grey metal box, medium beige metal box, and large wood crate, respectively). When players die, they usually drop their active weapon, which can be picked up by any player playing as a class that can equip that weapon (example: if a Soldier dies and drops their [[Panic Attack]], any class that can equip it can pick it up, but if they drop their Rocket Launcher, only another Soldier can pick it up), and a medium ammo box that can be picked up for 50% ammo and 100 metal (unless the dropped item was an Engineer [[toolbox]], which drops 100% ammo and 200 metal); destroyed buildings also leave behind metal debris, which can be picked up for ammo and metal. A Heavy who dies with a [[Sandvich]], [[Dalokohs Bar]], [[Fishcake]], [[Second Banana]] or [[Buffalo Steak Sandvich]] active will instead drop that.
 +
 
 +
Several elements can be found in places where many players may go to if needing a health kit or ammo. A player who cannot find health kits or ammo may find an Engineer's Dispenser to get some, or if there is no Dispenser, go to spawn.
  
 
===Server settings===
 
===Server settings===
[[File:Steam Server Browser.png|right|300px|thumb|The [[Server Browser]].]]
+
[[File:Steam Server Browser.png|right|300px|thumb|The [[Server Browser]], which includes a variety of community-made [[Servers]].]]
  
 
{{Main|Servers|Server Browser}}
 
{{Main|Servers|Server Browser}}
Line 159: Line 191:
 
Server settings can have a strong impact on gameplay in terms of performance and game balance. Players can select what kind of server on which they want to play using the Server Browser, filtering based on tags (which include game modes and changes to respawn times), player count, map, latency, and the like. Generally, servers closer to the player's location will have reduced latency, resulting in faster connection and more accurate hit detection. Game smoothness is also affected by the server's hardware and networking settings, especially at higher player counts or when running some [[mods]].
 
Server settings can have a strong impact on gameplay in terms of performance and game balance. Players can select what kind of server on which they want to play using the Server Browser, filtering based on tags (which include game modes and changes to respawn times), player count, map, latency, and the like. Generally, servers closer to the player's location will have reduced latency, resulting in faster connection and more accurate hit detection. Game smoothness is also affected by the server's hardware and networking settings, especially at higher player counts or when running some [[mods]].
  
Servers can run [[scripting|scripts]] and configs just as a player can, with commands from clients issued by rcon. For more unique functionality, there are numerous server plugins to modify gameplay or provide administrative or stat assistance, the most common being [[SourceMod]] and HLStatsX. Instead of running plugins, servers can use logs to interact with third-party match-making programs, such as [[Team Fortress 2 Lobby|TF2 Lobbies]], which let them see stats out-of-game.
+
Servers can run [[scripting|scripts]] and configs just as a player can, with commands from clients issued by rcon. For additional functionality, there are numerous server plugins to modify gameplay or provide administrative or stat assistance, the most common being [[SourceMod]] and HLStatsX. Instead of running plugins, servers can use logs to interact with third-party matchmaking programs, one of the first websites was [http://tf2lobby.com/ TF2lobby], which [https://comp.tf/wiki/TF2Lobby shut down] in December 2014, and has since been replaced by [https://tf2center.com/ TF2Center].
  
There are a variety of server settings that can change gameplay without running plugins or external programs. These include:
+
There are a variety of server settings that can change gameplay without running plugins or external programs. These can include:
  
 
* '''Respawn times''': Respawn times can be changed to either be shorter or effectively removed entirely. These can cause fluctuations in map and class balance, though combat is more steadily provided.
 
* '''Respawn times''': Respawn times can be changed to either be shorter or effectively removed entirely. These can cause fluctuations in map and class balance, though combat is more steadily provided.
* '''Damage settings''': Servers can disable random Critical hits, random damage spread, and random pellet spread with ConVars. This is most commonly done on competitive servers and those that frequently play [[arena]] maps.
+
* '''Damage settings''': Servers can disable random Critical hits and random pellet spread with ConVars. This is most commonly done on competitive servers and those that frequently play [[arena]] maps.
* '''Max players''': While TF2 was originally designed for 24 players or fewer, servers can raise the limit to 32 at the cost of performance. This can cause in increase of [[spam]] that slows objective progress, but ensures a greater amount of combat in the map.
+
* '''Max players''': While TF2 was originally designed for 24 players or fewer, servers can raise the limit to 32 at the cost of performance. This can cause an increase of [[spam]] that slows objective progress but ensures a greater amount of combat in the map.
 
* '''Objective specifics''': Map objectives can be specified from the server. For example, the CTF game mode can be played to a certain capture count, to a certain time limit, or both. Related options include disabling Crit boosts from [[First blood]] or [[Intelligence]] capture, changing the map time limit, and using a win difference mercy rule.
 
* '''Objective specifics''': Map objectives can be specified from the server. For example, the CTF game mode can be played to a certain capture count, to a certain time limit, or both. Related options include disabling Crit boosts from [[First blood]] or [[Intelligence]] capture, changing the map time limit, and using a win difference mercy rule.
 
* '''Pure''': The <tt>sv_pure</tt> ConVar dictates what kinds of custom files are allowed on the server. When set to 0, clients can use any custom content they wish. When set to 1, clients are allowed to use any files on the server's whitelist. When set to 2, clients may not use any custom content besides those specifically allowed by [[Valve]].
 
* '''Pure''': The <tt>sv_pure</tt> ConVar dictates what kinds of custom files are allowed on the server. When set to 0, clients can use any custom content they wish. When set to 1, clients are allowed to use any files on the server's whitelist. When set to 2, clients may not use any custom content besides those specifically allowed by [[Valve]].
 
* '''SourceTV''': Servers can enable SourceTV to allow a large number of spectators to watch the game without risking interference. SourceTV acts like an observer player, taking up a server slot while not playing on either team. Unlike players, SourceTV broadcasts its spectator view from the server's IP address (using a different port).
 
* '''SourceTV''': Servers can enable SourceTV to allow a large number of spectators to watch the game without risking interference. SourceTV acts like an observer player, taking up a server slot while not playing on either team. Unlike players, SourceTV broadcasts its spectator view from the server's IP address (using a different port).
 
* '''Special modes''': There are server modes that can be applied to any map regardless of game mode, including [[highlander]] and tournament modes. These are more commonly reserved for private events and competitions.
 
* '''Special modes''': There are server modes that can be applied to any map regardless of game mode, including [[highlander]] and tournament modes. These are more commonly reserved for private events and competitions.
Other common rule areas that vary by server include team size/balance rules, alltalk (cross-team) voice chat, and ping limits.
+
Other common rule areas that can vary by the server include team size/balance rules, alltalk (cross-team) voice chat, and ping limits.
  
 
==Configuration==
 
==Configuration==
Line 176: Line 208:
  
 
===Program setup===
 
===Program setup===
[[Image:Launch Options.PNG|thumb|right|200px|Example of launch options.]]
+
[[File:Launch Options.PNG|thumb|right|360px|The launch options window with some of the commands that can be put into it.]]
  
{{Main|Steam|Launch Options}}
+
{{Main|Steam|Launch options}}
  
 
Some aspects of a player's machine, operating system, and Steam settings can affect TF2, and after a long history of updates, ''Team Fortress 2'' has required an increasing amount of system resources to play at optimum frame rates. Additionally, some program features enabled by default may be undesirable for certain players, either due to performance issues or personal preference.
 
Some aspects of a player's machine, operating system, and Steam settings can affect TF2, and after a long history of updates, ''Team Fortress 2'' has required an increasing amount of system resources to play at optimum frame rates. Additionally, some program features enabled by default may be undesirable for certain players, either due to performance issues or personal preference.
  
Steam, by default, enables both Steam Cloud synchronization and the Steam Community In-Game Overlay, which can be changed under Steam Settings. Within Steam's interface, players can also change launch options. As the name suggests, launch options are TF2 settings that are applied when the game is launched. Launch options can be accessed by opening the Properties of Team Fortress 2 in the Steam Library and clicking "Set Launch Options...". Launch options are separated by spaces and start with either a dash (if the command is ''not'' accessible through console commands]) or a plus sign (if the command ''is'' a console command). Launch options can be used to achieve a variety of effects, including...
+
Steam, by default, enables both Steam Cloud synchronization and the Steam Community In-Game Overlay, which can be changed under Steam Settings. Within Steam's interface, players can also change launch options. As the name suggests, launch options are TF2 settings that are applied when the game is launched. Launch options can be accessed by opening the Properties of Team Fortress 2 in the Steam Library and clicking "Set Launch Options...". Launch options are separated by spaces and start with either a dash (if the command is ''not'' accessible through console commands) or a plus sign (if the command ''is'' a console command). Launch options can be used to achieve a variety of effects, including...
 
* '''Smooth Alt+Tabbing''': Players who wish to view other windows and programs while running TF2 can run it in windowed mode with no border. This can be reversed with the full-screen launch option (<tt>-full</tt>). Example (for 1440x900 resolution): <tt>-window -noborder -w 1440 -h 900</tt>
 
* '''Smooth Alt+Tabbing''': Players who wish to view other windows and programs while running TF2 can run it in windowed mode with no border. This can be reversed with the full-screen launch option (<tt>-full</tt>). Example (for 1440x900 resolution): <tt>-window -noborder -w 1440 -h 900</tt>
 
* '''DirectX Level''': Due to performance or personal preference, running TF2 in a low DirectX level may be ideal. Example (for DirectX 8.1): <tt>-dxlevel 81</tt>
 
* '''DirectX Level''': Due to performance or personal preference, running TF2 in a low DirectX level may be ideal. Example (for DirectX 8.1): <tt>-dxlevel 81</tt>
Line 189: Line 221:
 
   "C:\Program Files\Steam\Steam.exe" -applaunch 440 -full -novid
 
   "C:\Program Files\Steam\Steam.exe" -applaunch 440 -full -novid
  
Video card and sound card configuration tools can be used to override game settings. For example, some video card utilities can change <tt>mat_picmip</tt> to values outside the normally-allowed bounds in Team Fortress 2, though this can be considered [[cheat]]ing.
+
Video card and sound card configuration tools can be used to override game settings. For example, some video card utilities can change <tt>mat_picmip</tt> to values outside the normally allowed bounds in Team Fortress 2, though this can be considered [[cheat|cheating]].
  
 
Team Fortress 2 can be subject to operating system influences on mouse control. While this can be mitigated through launch options and registry edits, the easiest method to override this is by enabling Raw input (<tt>m_rawinput 1</tt>).
 
Team Fortress 2 can be subject to operating system influences on mouse control. While this can be mitigated through launch options and registry edits, the easiest method to override this is by enabling Raw input (<tt>m_rawinput 1</tt>).
  
 
===Customization===
 
===Customization===
[[Image:Fov Comparison.PNG|thumb|right|300px|Default fov (top) and max fov (bottom) from same vantage point.]]
+
[[File:Fov Comparison.PNG|thumb|right|300px|The default field-of-view of 75° (top) and the maximum one of 90 (bottom), both from the same vantage point.]]
  
 
{{Main|Options|Scripting|Heads-up display}}
 
{{Main|Options|Scripting|Heads-up display}}
  
The most straightforward way for a player to customize their TF2 experience is the in-game options panels. In essence, the options panels are user-friendly ways to set ConVars, which can otherwise by set manually using the [[console|developer console]]. These panels are...
+
The most straightforward and easy way for a player to customize their TF2 experience is via the in-game options panels. In essence, the options panels are user-friendly ways to set ConVars, which can otherwise be set manually using the [[console|developer console]]. These panels are...
 
* '''Keyboard''': Allows for simple key binding (can be done in command console with <tt>bind "KEY" "COMMAND"</tt>). The advanced options allow for fast weapon switching (change slots without confirming with the attack key) and enabling developer console (an important option for anyone using console commands).
 
* '''Keyboard''': Allows for simple key binding (can be done in command console with <tt>bind "KEY" "COMMAND"</tt>). The advanced options allow for fast weapon switching (change slots without confirming with the attack key) and enabling developer console (an important option for anyone using console commands).
 
* '''Mouse''': Contains options for mouse and gamepad control. The "Raw input" option gives users more reliable mouse aiming by bypassing operating system mouse settings.
 
* '''Mouse''': Contains options for mouse and gamepad control. The "Raw input" option gives users more reliable mouse aiming by bypassing operating system mouse settings.
 
* '''Audio''': Has a variety of sound-related options. Closed captions do not work without custom files.
 
* '''Audio''': Has a variety of sound-related options. Closed captions do not work without custom files.
* '''Video''': Allows for some control of display settings, though some settings found in launch options and FPS configs are missing or disabled. The advanced video options panel has the field of view (fov) slider, which can be increased to grant the player wider vision in-game.
+
* '''Video''': Allows for some control of display settings, though some settings found in launch options and FPS configs are missing or disabled. The advanced video options panel has the field of view (fov) slider, which can be increased to grant the player a wider vision in-game.
 
* '''Voice''': Has simple controls for in-game voice chat.
 
* '''Voice''': Has simple controls for in-game voice chat.
 
* '''[[Multiplayer options]]''': Contains a great variety of gameplay-related options (mostly in [[Multiplayer options#Advanced multiplayer options|advanced options]]) and content download control.
 
* '''[[Multiplayer options]]''': Contains a great variety of gameplay-related options (mostly in [[Multiplayer options#Advanced multiplayer options|advanced options]]) and content download control.
These settings are stored as ConVars in <tt>config.cfg</tt>, found in the <tt>cfg</tt> folder (which is usually found in <tt>C:\Program Files\Steam\steamapps\STEAMLOGIN\team fortress 2\tf\</tt>). By default, <tt>config.cfg</tt> is saved to the Steam Cloud.
+
These settings are stored as ConVars in <tt>config.cfg</tt>, found in the <tt>cfg</tt> folder (which is usually found in <tt>C:\Program Files\Steam\steamapps\common\team fortress 2\tf\</tt>). By default, <tt>config.cfg</tt> is saved to the Steam Cloud.
  
In addition to the menu panels, ConVars can be changed with more specificity using [[scripting]]. Scripting allows for more advanced and uniquely tailored controls, dynamic player settings, and more optimized performance (performance scripts are usually just called "configs"). Script files are located in the <tt>cfg</tt> folder (usually found in <tt>C:\Program Files\Steam\steamapps\STEAMLOGIN\team fortress 2\</tt>). The file <tt>autoexec.cfg</tt> runs on game startup, and the class-named files (such as <tt>scout.cfg</tt>) each run when first spawning as the appropriate class. Most scripts are made using <tt>bind</tt>, <tt>alias</tt>, game commands, and/or ConVars; the <tt>wait</tt> command may be used to produce automated, chronologically sequenced functions, though a number of servers disable this with <tt>sv_allow_wait_command 0</tt>.
+
In addition to the menu panels, ConVars can be changed with more specificity using [[scripting]]. Scripting allows for more advanced and uniquely tailored controls, dynamic player settings, and more optimized performance (performance scripts are usually just called "configs"). Script files are located in the <tt>cfg</tt> folder (usually found in <tt>C:\Program Files\Steam\steamapps\common\team fortress 2\tf\</tt>). The file <tt>autoexec.cfg</tt> runs on game startup, and the class-named files (such as <tt>scout.cfg</tt>) each run when first spawning as the appropriate class. Most scripts are made using <tt>bind</tt>, <tt>alias</tt>, game commands, and/or ConVars; the <tt>wait</tt> command may be used to produce automated, chronologically sequenced functions, though a number of servers disable this with <tt>sv_allow_wait_command 0</tt>.
  
Many aspects of the TF2 interface can be customized by editing the [[Heads-up display]], or "HUD".  Most custom HUDs always work regardless of server settings, unless the HUD uses customized material files, which constitute [[#Custom game content|custom content]] and are disabled by <tt>sv_pure</tt> servers (most HUDs only contain <tt>/resource/</tt> and <tt>/scripts/</tt> files, which are allowed in all <tt>pure</tt> settings).
+
Many aspects of the TF2 interface can be customized by editing the [[Heads-up display]], or "HUD".  Most custom HUDs always work regardless of server settings, unless the HUD uses customized material files, which constitute [[:Category:Customization|custom content]] and are disabled by <tt>sv_pure</tt> servers (most HUDs only contain <tt>/resource/</tt> and <tt>/scripts/</tt> files, which are allowed in all <tt>pure</tt> settings).
  
 
===Tools===
 
===Tools===
 
{{Main|Help:Recording demos|Steam Workshop}}
 
{{Main|Help:Recording demos|Steam Workshop}}
  
There are a variety of first-party (some in-game and some not) and third-party tools to assist in playing, editing, and analyzing Team Fortress 2. These include:
+
There is a variety of first-party (some in-game and some not) and third-party tools to assist in playing, editing, and analyzing Team Fortress 2. These can include:
  
* '''Demo Recording and Playback''': Players can record demos of gameplay (<tt>record FILENAME</tt> in console) to watch or share later without using the resources necessary for live video capturing. Demos can be played with the console command <tt>playdemo FILENAME</tt> and captured to video using the <tt>startmovie</tt> command. [http://etf2l.org/faq/p-rec/ PREC] is a common, Valve-approved add-on to TF2 that automates demo recording.
+
* '''Demo Recording and Playback''': Players can record demos of gameplay (<tt>record FILENAME</tt> in the console) to watch or share later without using the resources necessary for live video capture. Demos can be played with the console command <tt>playdemo FILENAME</tt> and captured to video using the <tt>startmovie</tt> command. [http://etf2l.org/faq/p-rec/ PREC] is a common, Valve-approved add-on to TF2 that automates demo recording.
 
* '''TF2 Tool Mode''': TF2 can be run under a "tool mode" with the launch option <tt>-tools</tt>. The tool mode allows access to the Commentary editor, Material editor, and perhaps most notably, the Particle editor.
 
* '''TF2 Tool Mode''': TF2 can be run under a "tool mode" with the launch option <tt>-tools</tt>. The tool mode allows access to the Commentary editor, Material editor, and perhaps most notably, the Particle editor.
* '''Source SDK''': The [[Source Engine]] Software Development Kit, or SDK, is a set of programs that come with all Source engine games and run through [[Steam]], including the Model Viewer (commonly used for posing wiki images) and Hammer editor (used for making maps). The SDK can be accessed in the Tools subsection of the Steam Library, and has [http://developer.valvesoftware.com/wiki/SDK_Docs its own wiki].
+
* '''Source SDK''': The [[Source Engine]] Software Development Kit, or SDK, is a set of programs that come with all Source engine games and run through [[Steam]], including the Model Viewer (commonly used for posing wiki images) and Hammer editor (used for making maps). The SDK can be accessed in the Tools subsection of the Steam Library and has [[vdc:SDK_Docs|its own wiki]].
* '''GCFScape''': One can examine and extract the contents of TF2 using [http://developer.valvesoftware.com/wiki/GCFScape GCFScape], a third-party application used by most custom content editors. GCFScape can also be used to validate or defragment game files. In order to view and edit VTF files extracted using GCFScape, [http://developer.valvesoftware.com/wiki/VTFEdit VTFEdit] is commonly used.
+
* '''GCFScape''': One can examine and extract the contents of TF2 using [[vdc:GCFScape|GCFScape]], a third-party application used by most custom content editors. GCFScape can also be used to validate or defragment game files. In order to view and edit VTF files extracted using GCFScape, [[vdc:VTFEdit|VTFEdit]] is commonly used.
 
These tools, in addition to modeling and sound editing software, can be used to edit a variety of TF2 gameplay elements, though their actual presence in-game is based on server settings (most notably with the {{code|sv_pure}} command and file whitelists).
 
These tools, in addition to modeling and sound editing software, can be used to edit a variety of TF2 gameplay elements, though their actual presence in-game is based on server settings (most notably with the {{code|sv_pure}} command and file whitelists).
  
Line 226: Line 258:
 
== See also ==
 
== See also ==
 
* [[:Category:Gameplay]]
 
* [[:Category:Gameplay]]
 +
* [[:Category:Mechanics]]
 
* [[:Category:Customization]]
 
* [[:Category:Customization]]
  
 
== External links ==
 
== External links ==
* [http://developer.valvesoftware.com/wiki/Main_Page Valve Developer Community Wiki]
+
* [[vdc:Main Page|Valve Developer Community Wiki]]
<br>
+
 
 +
{{Mechanics Nav}}
  
 
[[Category:Gameplay]]
 
[[Category:Gameplay]]

Latest revision as of 13:59, 27 October 2024

Combat taking place on 2Fort.
And that is how you do it, men!
The Soldier demonstrating success

The mechanics of Team Fortress 2 define the rules and capabilities for players, servers, and content editors. Understanding these mechanics allows for more streamlined and comprehensive gameplay.

Engine

Source engine logo.png
Main article: Source Engine

Team Fortress 2 runs on The Orange Box version of the Source Engine, designed to run on Microsoft Windows, Xbox 360, PlayStation 3, Mac OS X and Linux. The Orange Box engine adds hardware face rendering, soft particles, and multicore rendering over the old Source Engine. TF2 is optimized and balanced for game sizes of 24 players or fewer (18 on Xbox 360 and 16 on PS3), even though servers may host up to 32 players if they desire (PC, Mac, and Linux only). Although it is possible to run at 100 players, it is not recommended and unsupported. All player actions and options are handled as console commands and variables which are known as ConVars. Team Fortress 2 ran exclusively as a 32-bit application until the April 18, 2024 Patch, where a 64-bit version was introduced and became the default option, increasing performance.

Classes

All the mercenaries, from left to right: Pyro, Engineer, Spy, Heavy, Sniper, Scout, Soldier, Demoman, and Medic.
Main article: Classes

There are nine playable classes in Team Fortress 2, which are categorized into three areas- "Offense," "Defense," and "Support," though these categorizations mostly have no impact on gameplay. The abilities and stats of the classes can vary based on their loadouts.

Leaderboard class scout.png Scout: An offensive class with 133% move speed and 125 health points, specializing in hit-and-run combat and objective-capturing. Can double jump and capture control points (and push Payload carts) at double the rate of any other class. The Scout is armed with the Scattergun, a Pistol, and a Bat by default.
Leaderboard class soldier.png Soldier: An offensive class with 80% move speed and 200 health points, able to adapt to a variety of situations, making him great for both attack and defense. Can rocket jump to reach normally unreachable places. The Soldier is armed with the Rocket Launcher, a Shotgun, and a Shovel by default.
Leaderboard class pyro.png Pyro: An offensive class with 100% move speed and 175 health points, ideal for close-quarters combat and group support. Can ignite enemies, use compression blast to reflect projectiles and extinguish teammates, and is not affected by afterburn from fire-based attacks. The Pyro is armed with the Flame Thrower, a Shotgun, and a Fire Axe by default.
Leaderboard class demoman.png Demoman: A defensive class with 93% move speed and 175 health points, specializing in area denial and damage output. Can sticky jump. The Demoman is armed with the Grenade Launcher, a Stickybomb Launcher, and a Bottle by default.
Leaderboard class heavy.png Heavy: A defensive class with 77% move speed and 300 health points, excelling in dealing and receiving sustained damage. The Heavy is armed with the Minigun, a Shotgun, and his own Fists by default.
Leaderboard class engineer.png Engineer: A defensive class with 100% move speed and 125 health points that specializes in area denial and support. Can create, maintain, upgrade, move, and control buildings. The Engineer is armed with a Shotgun, a Pistol, a Wrench, and two PDAs by default.
Leaderboard class medic.png Medic: A support class with 107% move speed and 150 health points that focuses on improving the longevity and efficiency of teammates. Can regenerate health passively and is capable of healing teammates and deploying ÜberCharges on both teammates and himself. The Medic is armed with the Syringe Gun, a Medi Gun, and a Bonesaw by default.
Leaderboard class sniper.png Sniper: A support class with 100% move speed and 125 health points, ideal for long-distance target elimination. Can headshot with his primary weapon. The Sniper is armed with the Sniper Rifle, a Submachine Gun, and a Kukri by default.
Leaderboard class spy.png Spy: A support class with 107% move speed and 125 health points, ideal for covert disruption and assassination. Can disguise, sap buildings, cloak, headshot (With the Ambassador only) and backstab. The Spy is armed with the Revolver, a Sapper, a Butterfly Knife, a Disguise Kit, and an Invisibility Watch by default.

Combat

Combat is the primary means through which opposing teams compete for objectives. Team Fortress 2 has a variety of mechanics that influence combat, such as explosives, Sentry Guns, shotguns, and much more.

Damage

How damage is affected by distance.
Main articles: Damage, Critical hits
See also: Health

Most weapons deal damage to health points. Unless the server's rules are modified, weapons do not cause damage to teammates, though many weapons are capable of dealing self-damage to their user. Weapon damage is subject to a number of variables, though the vast majority of weapons don't deal locational damage (the main exceptions being Sniper or Spy headshots and Spy backstabs). Most weapons deal increased damage to targets that are nearby and reduced damage to targets that are far away, though Mini-Crits are not subject to the latter and Critical hits are subject to neither. Distance modifiers to damage are based on the distance between attacker and target on-hit (as opposed to the position of the attacker when the attack was first made). Explosive damage is reduced as the target's distance from the explosion's center increases. While most explosive weapons can hurt their users, the Soldier and Demoman are granted damage reduction to their own explosive attacks.

Critical hit chance based on recent damage dealt.

Unless disabled by a server setting, most weapons semi-randomly deal Critical hits. Critical hits are not subject to damage randomization or distance-based damage modifiers, and always deal 300% of the weapon's base damage. Critical attacks are usually accompanied by team-colored visual effects and electric shock sound effects (most noticeably on explosive projectiles). Usually, non-melee attacks have a 2-12% chance to become critical based on recent damage output while melee attacks have a 15-65% chance; however, some weapons, like the Market Gardener, are unable to get random Critical hits. When hit by a critical attack, text appears above the target's head, a distinct hit sound is played, and the target is subject to greatly increased knockback. Critical attacks do not deal extra damage or knockback to their users, though they may provide visual or audio cues that suggest they do. Critical hits do not stack onto a single attack.

A variety of weapons and status effects can cause Mini-Crits. Mini-Crits function similarly to Critical hits, though they only deal 135% base damage, provide less knockback than a full Critical hit, and do not produce the same audio-visual effects. Additionally, while Critical hits deal the same damage regardless of distance, Mini-Crits are subject to damage ramp-up when attacking from close range. If an attack would be both a Mini-Crit and a Critical hit, it will function as though it were only a Critical hit. Like critical attacks, Mini-Crit attacks do not cause increased damage to their users.

Buildings are not subject to extra damage from Critical hits and Mini-Crits, nor are attacks against them modified by distance. Likewise, attacks made by buildings themselves are not subject to distance-based damage modifiers and cannot become Critical hits, though they still may become Mini-Crits.

Hit detection

Protip: Disguises don't have matching hitboxes.
Main articles: Projectiles, Hitscan

Most weapons are either projectile weapons or hitscan weapons.

  • Projectile weapons, such as the Rocket Launcher, produce moving objects with positioning and effects determined by the server's game state, which makes them less reliable for players with high latency. Projectiles usually have unique rules of physics applied to them separately from the player, and player velocity is not used in determining the initial velocity of projectiles. Projectiles do not spawn from the center-screen, but from the side on which the weapon is held (a right-handed Soldier produces rockets from his right-hand side). Projectile collision detection does not use model-conforming hitboxes; instead, a projectile hit detection relies on a single, large hitbox, also used for collisions with the map and other players, that completely encompasses the player model, and does not vary based on the player’s class or animation, except for crouching (for example, a standing Heavy has the same projectile hit detection as a running Scout, but different from a crouched one). The Pyro's particle-based flame attacks follow most projectile weapon mechanics.
  • Hitscan weapons, such as the Minigun, produce instant hit-or-miss attacks instead of projectiles. Melee weapons and bullet/pellet-producing weapons are generally hitscan. Collision detection with hitscan weapons favors the point of view of the attacker (using Lag compensation), which can produce somewhat disjointed results in the victim's point of view ("I already got behind cover; how did that hit me?"). Hitscan weapons are produced from center-screen, even if visual effects seem to suggest otherwise. Non-melee hitscan weapons use fairly accurate model-fitting hitboxes (a standing Heavy would indeed be a much larger target than a standing Scout); melee weapons use the same large hitbox used by projectile weapons.
    • Non-melee hitscan weapons will fire a bullet or at least one pellet perfectly accurate down the crosshair if the weapon has not been fired for at least 1.25 seconds (notably, the Sniper Rifle's shots always occur after this period). After an accurate shot, the weapon will incur a period of slight inaccuracy unless the weapon is held from firing for 1.25 seconds. The two exceptions to this rule, the Ambassador and the Enforcer, are affected by a shorter period of inaccuracy, lasting only until the crosshair has shrunk to its normal size for the Ambassador and an equal amount of time for the Enforcer. This period is a little less than a second long (about 0.9s).

Weapon types

Main article: Weapons
See also: Ammo

Each class has a unique set of weapons at their disposal occupying weapon slots 1, 2, and 3 (often referred to as primary, secondary, and melee, respectively). The Engineer's PDA also uses slots 4 and 5, and the Spy's Disguise Kit uses slot 4. The choices players make in choosing weapons and items constitute their loadout.

Most non-melee weapons require Ammo for use. Weapons that use Ammo can be either reserve-based (having a limited clip size and requiring reloading from stored ammo, such as the Pistol) or fully-loaded (capable of using all ammo without reloading, such as the Minigun). Reserve-based weapons either use magazine-style reloading (reload fills loaded ammo in single, one-time animation, such as the Revolver) or sequential reloading (reloads ammo from reserve one at a time, such as the Shotgun). Reloading can be interrupted at any time by attacking or changing weapons, though time spent reloading (beyond the last carried ammo increment, in the case of sequential weapons) is wasted. When reloading a sequential reload weapon, a different animation and reload time is used for reloading the first ammo and subsequent ammo (for example, an emptied Grenade Launcher takes 1.24 seconds to reload 1 ammo, plus 0.6 seconds for each ammo after that).

Many weapons that don't use ammo must be recharged instead (such as Jarate, and the Sandman). Recharging can usually be done by waiting for a set amount of time, going to the resupply cabinet, or respawning. Some weapons without ammo require manual refills based on specific requirements, such as the Medi Gun (which requires refill for ÜberCharge, though not for healing) and the Buff Banner.

Status effects

The Heavy under the effect of a crit boost from the Kritzkrieg of the Medic, who is in turn under the effect of an enemy Scout's Mad Milk.
See also: Weapons

Status effects include a variety of weapon-induced player conditions, such as Fire and Bleeding. All status effects are removed by death, touching a Resupply Locker, or class change, and most negative effects are removed by ÜberCharge. Some can be removed by healing or submersion in water. There are both positive and negative effects.

Positive effects

  • Megaheal: A player under this effect is immune to movement-impairing effects (such as knockback, stun, and slowdown) and is healed at 100.8-302.4 HP per second (depending on how recently the player was damaged), or 3x the Quick-Fix's base heal rate. Megahealed players have a glowing ring around their feet, similar to the Buff Banner. Received by the Quick-Fix's ÜberCharge.
  • Evasion/Phasing: Very functionally similar to being ÜberCharged, although players under this effect are incapable of attacking or switching weapons and are forced into a third-person perspective. Evasive players produce an afterimage distortion effect behind them, and attacks against them cause flashes of text indicating misses. The only item to cause this effect is the Bonk! Atomic Punch.
  • Hype Mode: Hype mode allows the player (as the Scout) to perform 5 additional air jumps (6 in total) while the effect is active. A magenta glow is applied to the player's active weapon. The only item to cause this effect is the Soda Popper. The player has to inflict damage with any of the Scout's weapons to charge the meter.
  • Damage Softening: Players benefiting from damage softening receive 50% less damage from Sentry Guns and 35% from all other sources, and reduce damage and knockback from Critical hits and Mini-Crit. Such players have a glowing ring around their feet (an effect shared by the Buff Banner's Crit boost effect). Received by the Battalion's Backup.
  • Resistance: Players can have up to three resistance types deployed on them. Those resistance types are called Bullet Resistance, Blast Resistance, and Fire Resistance. These Resistance types can be deployed by Vaccinator, and the reduction value will rise from 10% to 75% with additional Crits protection when ÜberCharged.
  • Heal Ring: A team-colored ring that heals players 25 health per second. Received by the Amputator.

Negative effects

  • Jarate: Attacks made against Jarate-soaked players become Mini-Crits. Jarate-soaked players are tinted yellow and drip yellow droplet particles, which partially reveal cloaked Spies. Received by Jarate/Self-Aware Beauty Mark, the Sydney Sleeper, and one of Merasmus' spells. When soaked by Jarate, players are considered "wet".
  • Milk: Players who attack Milk-soaked enemies are healed for 60% of the damage dealt (does not overheal). Milk-soaked players drip white droplet particles, which partially reveal cloaked Spies. Received by Mad Milk/Mutated Milk, as well as any Medic Primary (excluding the Crusader's Crossbow) with the Mad Milk Syringes upgrade in Mann vs. Machine. When soaked by the Mad Milk, players are considered "wet".
  • Fleeing State: Fleeing players move 10% slower, cannot move while crouched, and cannot fire or change weapons (although they can taunt). Such players can be recognized by their change in character animations, which vary by class (most can be characterized as looking "frightened" or "disappointed"). Received by humiliation, Ghosts, and the Horseless Headless Horsemann's "Boo".
  • Marked For Death: All damage from attacks made against players who are Marked For Death become Mini-Crits. A player who is Marked For Death has a white skull and crossbones image above their head. Unlike Jarate, Marked For Death cannot be removed by being submerged in water, charging, being healed by a Medic or a Dispenser, or touching a Resupply Locker. The only cure is waiting it out. Scouts can mark enemies for death with the Fan O'War, Soldiers are Marked For Death while using the Escape Plan and for one second after switching weapons, Scouts are marked for death for 5 seconds after attacking while under the effects of the Crit-a-Cola, Engineers are Marked for Death when hauling a building with the Rescue Ranger equipped (whether picked up from a distance or not) and for one second afterward, and any class can be marked for death by being slimed by an egg sack explosion or hit by a Salmann on Slime. Additionally, in Mann vs. Machine, the Sandman can be upgraded to apply a Marked For Death upon any robot hit by the baseball or the melee swing. In Mannpower, holding the flag for 90 seconds marks the Intelligence courier for death.
  • Gasoline: Players soaked in gasoline after passing through the cloud of the Gas Passer are ignited for 10 seconds when hit (this includes self-inflicted damage from the Rocket Jumper and the Sticky Jumper). This effect includes enemy Pyros. Players with this effect are covered in green droplets. When soaked by gasoline, players are considered "wet".

Knockback

A Pyro using compression blast on a Scout.
Main article: Knockback
See also: Jumping

Most weapons produce at least some sort of knockback, much of which is too small to notice. Attack modifiers to knockback include damage, Critical hit or Mini-Crit status, and weapon-specific effects. Knockback can be used to manipulate the positioning and movement of players, especially those of enemies through juggling, and oneself through rocket jumping or sticky jumping. Some weapons and abilities, such as the Force-A-Nature, the Shortstop's alt-fire, and compression blast, are based on unique knockback functionality. ÜberCharged targets are less influenced by enemy knockback than normal targets, and Megahealed players and Disguised Spies are not subject to knockback from enemy weapons, but a compression blast will affect Disguised Spies.

Environment

Depending on the map and server, the goals and rules of the TF2 gameplay can change dramatically. By understanding these variables in gameplay (and how to parse them in the Server Browser), players can find a game environment that suits them and fully contribute to their team's goals.

Objectives

A defensive team guarding a control point on Gravel Pit.
Main article: List of game modes

Maps are made based on a variety of game modes, which are used to determine the objectives for both teams. Teams may compete over the same goals (such as in Standard Control Point and King of the Hill maps) or oppose each other in an offense vs. defense setup (such as in Attack/Defend Control Point and standard Payload maps).

Many game modes use control points. Control points begin to be captured when a player of a team not owning the point stands on the point. The capture time varies by map, and its speed is increased when more players stand on it (though each player beyond the first provides diminishing returns). Capture is halted when an opposing team member stands on it in defense, and capture progress is gradually undone when no capturing teammates stand on the point. Control points cannot be captured while "locked", and locked points are usually unlocked after preceding points are captured. Payload carts are pushed and halted the same way control points are captured, though instead of capturing a Payload cart, the pushing team tries to bring it to a checkpoint. ÜberCharged players cannot capture points or push carts, though they can defend them.

In official maps with offense vs. defense game modes, BLU plays offense while RED plays defense. In such maps, BLU tends to have faster respawn times, but RED is given a setup time to prepare a robust defense.

  • Arena: Players spawn only at the beginning of the round, with no respawning. After a set time, a neutral control point unlocks, which can be captured to win the round. If all members of a team die, that team loses the round. Has First Blood and automated team assignment/shuffling by default. Official arena maps don't have resupply Lockers.
  • Capture the Flag (CTF): Teams work to capture the opposing side's Intelligence faster than their opponents do the same. Any player can pick up an enemy's Intelligence, and their team gains a point if that player returns the enemy's Intelligence to their team's own original Intelligence spot. The Intelligence drops on command or when its carrier dies; it is returned to its original location if it remains on the ground for a set time after being dropped.
  • Control Point, Standard (CP): Each team starts with two locked control points and fight for the middle, neutral control point. From then on, at any given time, each team's furthest control point is unlocked, while all others are locked. Teams must capture all five control points to win the round.
  • Control Point, Attack/Defend (CP): If the offensive team captures all of the defense's control points before time runs out, they win (if the defense can prevent this, they win). In most maps, only one control point is unlocked at a time (the notable exceptions being Steel, Frostwatch and Hadal).
  • King of the Hill (KOTH): Each team has their own countdown timer, and a team wins when their countdown timer reaches zero. A team's timer counts down while they own the control point, but is frozen while that team does not have ownership of the control point. Note that a team's timer will still count down even if there are enemies trying to capture the point.
  • Mann vs. Machine (MVM): A team composed of up to six human players must fend off waves of AI-controlled robots, stopping them from delivering a bomb to the map's stronghold. Players are able to collect cash from destroyed robots to buy upgrades during and between waves. Offense wins if the bomb is delivered successfully, while defense wins by successfully warding off all the waves.
  • Payload (PL): Offense pushes the Payload cart in a manner similar to capturing a control point, trying to reach checkpoints instead of finishing point captures. The Payload cart supports allies as if it were a level 1 Dispenser. Offense wins if the cart reaches the final checkpoint, while defense wins by making sure the cart doesn't reach the final point before the timer counts down to 0.
  • Payload Race (PLR): Essentially identical to Payload, but, instead of offense vs. defense, each team pushes their own cart in an attempt to reach the finish before the opposing team does.
  • Special Delivery (SD): CTF-streetball, an initially neutral briefcase must be transported to a capture zone before the opposing team can do the same. In the two official maps that use this game mode, players must ride a lift up while carrying the objective for a short while before being able to capture it and win the round.
  • Territorial Control (TC): Each team is randomly assigned territories, and rounds consist of each team trying to contest one of their opponent's control points (while the opposing team tries to capture one of theirs). Most of the map is locked during gameplay, consisting of only one territory vs. one territory. After enough successive wins, another round takes place at the losing side's base point, which they must defend against the offense-only opposing team.
  • Training Mode (TR): Training maps are for practicing skills against obstacles and/or bots and learning through tutorials. They are often played with only one human player, or, at the very least, no opposing human sides.

Map elements

From left to right: A large (100%) health kit, the Heavy's Sandvich, and a medium (50%) ammo pack.
See also: Respawn, Pickups

Players start the round in their team's resupply room, where they can change class and loadout instantly. Most resupply rooms contain cabinets, which fully restore health, restock weapon ammo, refill most item meters, and remove most negative status effects, though a similar effect can be achieved by class switching. Upon dying, a player waits to respawn in a respawn wave, which typically comes at ten- or five-second intervals, but do vary by map, team color and size, objective status, and server settings. After this wait, they appear at their team's furthest forward resupply room. Resupply rooms can be earned by capturing points or pushing Payload carts to checkpoints and can be lost if the opposing team makes such progress themselves.

Many maps make use of doors. Although their visuals suggest otherwise, doors are handled by the server as being either completely open or completely shut, alternating between the two instantly. Most doors are opened whenever a player stands near them. However, some doors will only open to players coming from a certain side or players on a certain team, most notably resupply room doors. Some doors remain locked until certain conditions are met, such as control points being captured or Payload cart checkpoints being reached.

The boundaries and surfaces of maps are not determined by visual elements, but by invisible surfaces that determine where players and projectiles can go. All maps--even outdoor ones--have player ceilings and walls, though they may be invisible, and projectiles may even appear to go through them. Additionally, many surfaces and objects in the game that appear to take physical space are completely ignored for collision detection, with players and projectiles passing through them as if nonexistent; these surfaces can be used for hiding Stickybombs or spamming targets from cover.

Maps usually have pickups placed in various locations. Map-specific health and ammo pickups will remain in place until grabbed, respawning after a ten-second delay. The map health pickups restore 20.5%, 50%, or 100% health based on size (pill bottle, first aid tin, and ice cooler, respectively); similarly, the map ammo pickups restore 20.5%, 50%, or 100% ammo and 40, 100, or 200 metal based on size (small grey metal box, medium beige metal box, and large wood crate, respectively). When players die, they usually drop their active weapon, which can be picked up by any player playing as a class that can equip that weapon (example: if a Soldier dies and drops their Panic Attack, any class that can equip it can pick it up, but if they drop their Rocket Launcher, only another Soldier can pick it up), and a medium ammo box that can be picked up for 50% ammo and 100 metal (unless the dropped item was an Engineer toolbox, which drops 100% ammo and 200 metal); destroyed buildings also leave behind metal debris, which can be picked up for ammo and metal. A Heavy who dies with a Sandvich, Dalokohs Bar, Fishcake, Second Banana or Buffalo Steak Sandvich active will instead drop that.

Several elements can be found in places where many players may go to if needing a health kit or ammo. A player who cannot find health kits or ammo may find an Engineer's Dispenser to get some, or if there is no Dispenser, go to spawn.

Server settings

The Server Browser, which includes a variety of community-made Servers.
Main articles: Servers, Server Browser
See also: SourceTV, Mods

Server settings can have a strong impact on gameplay in terms of performance and game balance. Players can select what kind of server on which they want to play using the Server Browser, filtering based on tags (which include game modes and changes to respawn times), player count, map, latency, and the like. Generally, servers closer to the player's location will have reduced latency, resulting in faster connection and more accurate hit detection. Game smoothness is also affected by the server's hardware and networking settings, especially at higher player counts or when running some mods.

Servers can run scripts and configs just as a player can, with commands from clients issued by rcon. For additional functionality, there are numerous server plugins to modify gameplay or provide administrative or stat assistance, the most common being SourceMod and HLStatsX. Instead of running plugins, servers can use logs to interact with third-party matchmaking programs, one of the first websites was TF2lobby, which shut down in December 2014, and has since been replaced by TF2Center.

There are a variety of server settings that can change gameplay without running plugins or external programs. These can include:

  • Respawn times: Respawn times can be changed to either be shorter or effectively removed entirely. These can cause fluctuations in map and class balance, though combat is more steadily provided.
  • Damage settings: Servers can disable random Critical hits and random pellet spread with ConVars. This is most commonly done on competitive servers and those that frequently play arena maps.
  • Max players: While TF2 was originally designed for 24 players or fewer, servers can raise the limit to 32 at the cost of performance. This can cause an increase of spam that slows objective progress but ensures a greater amount of combat in the map.
  • Objective specifics: Map objectives can be specified from the server. For example, the CTF game mode can be played to a certain capture count, to a certain time limit, or both. Related options include disabling Crit boosts from First blood or Intelligence capture, changing the map time limit, and using a win difference mercy rule.
  • Pure: The sv_pure ConVar dictates what kinds of custom files are allowed on the server. When set to 0, clients can use any custom content they wish. When set to 1, clients are allowed to use any files on the server's whitelist. When set to 2, clients may not use any custom content besides those specifically allowed by Valve.
  • SourceTV: Servers can enable SourceTV to allow a large number of spectators to watch the game without risking interference. SourceTV acts like an observer player, taking up a server slot while not playing on either team. Unlike players, SourceTV broadcasts its spectator view from the server's IP address (using a different port).
  • Special modes: There are server modes that can be applied to any map regardless of game mode, including highlander and tournament modes. These are more commonly reserved for private events and competitions.

Other common rule areas that can vary by the server include team size/balance rules, alltalk (cross-team) voice chat, and ping limits.

Configuration

There are a variety of ways to configure the Team Fortress 2 client. The choices players make in setting up TF2 can have impacts on game interaction, performance, and presentation. Most of these methods of customization are not available on console versions of the game, save main menu options.

Program setup

The launch options window with some of the commands that can be put into it.
Main articles: Steam, Launch options

Some aspects of a player's machine, operating system, and Steam settings can affect TF2, and after a long history of updates, Team Fortress 2 has required an increasing amount of system resources to play at optimum frame rates. Additionally, some program features enabled by default may be undesirable for certain players, either due to performance issues or personal preference.

Steam, by default, enables both Steam Cloud synchronization and the Steam Community In-Game Overlay, which can be changed under Steam Settings. Within Steam's interface, players can also change launch options. As the name suggests, launch options are TF2 settings that are applied when the game is launched. Launch options can be accessed by opening the Properties of Team Fortress 2 in the Steam Library and clicking "Set Launch Options...". Launch options are separated by spaces and start with either a dash (if the command is not accessible through console commands) or a plus sign (if the command is a console command). Launch options can be used to achieve a variety of effects, including...

  • Smooth Alt+Tabbing: Players who wish to view other windows and programs while running TF2 can run it in windowed mode with no border. This can be reversed with the full-screen launch option (-full). Example (for 1440x900 resolution): -window -noborder -w 1440 -h 900
  • DirectX Level: Due to performance or personal preference, running TF2 in a low DirectX level may be ideal. Example (for DirectX 8.1): -dxlevel 81
  • Disabling Extraneous Features: Memory usage and performance drops can be minimized by disabling unused features. Example: -novid -nojoy -noipx -nocrashdialog

In addition to the Steam options, launch options can be specified for individual shortcuts to Team Fortress 2 by adding them to the file "C:\Program Files\Steam\Steam.exe" -applaunch 440 as a shortcut target. For example, this shortcut target would run TF2 full-screen with no intro video:

 "C:\Program Files\Steam\Steam.exe" -applaunch 440 -full -novid

Video card and sound card configuration tools can be used to override game settings. For example, some video card utilities can change mat_picmip to values outside the normally allowed bounds in Team Fortress 2, though this can be considered cheating.

Team Fortress 2 can be subject to operating system influences on mouse control. While this can be mitigated through launch options and registry edits, the easiest method to override this is by enabling Raw input (m_rawinput 1).

Customization

The default field-of-view of 75° (top) and the maximum one of 90 (bottom), both from the same vantage point.
Main articles: Options, Scripting, Heads-up display

The most straightforward and easy way for a player to customize their TF2 experience is via the in-game options panels. In essence, the options panels are user-friendly ways to set ConVars, which can otherwise be set manually using the developer console. These panels are...

  • Keyboard: Allows for simple key binding (can be done in command console with bind "KEY" "COMMAND"). The advanced options allow for fast weapon switching (change slots without confirming with the attack key) and enabling developer console (an important option for anyone using console commands).
  • Mouse: Contains options for mouse and gamepad control. The "Raw input" option gives users more reliable mouse aiming by bypassing operating system mouse settings.
  • Audio: Has a variety of sound-related options. Closed captions do not work without custom files.
  • Video: Allows for some control of display settings, though some settings found in launch options and FPS configs are missing or disabled. The advanced video options panel has the field of view (fov) slider, which can be increased to grant the player a wider vision in-game.
  • Voice: Has simple controls for in-game voice chat.
  • Multiplayer options: Contains a great variety of gameplay-related options (mostly in advanced options) and content download control.

These settings are stored as ConVars in config.cfg, found in the cfg folder (which is usually found in C:\Program Files\Steam\steamapps\common\team fortress 2\tf\). By default, config.cfg is saved to the Steam Cloud.

In addition to the menu panels, ConVars can be changed with more specificity using scripting. Scripting allows for more advanced and uniquely tailored controls, dynamic player settings, and more optimized performance (performance scripts are usually just called "configs"). Script files are located in the cfg folder (usually found in C:\Program Files\Steam\steamapps\common\team fortress 2\tf\). The file autoexec.cfg runs on game startup, and the class-named files (such as scout.cfg) each run when first spawning as the appropriate class. Most scripts are made using bind, alias, game commands, and/or ConVars; the wait command may be used to produce automated, chronologically sequenced functions, though a number of servers disable this with sv_allow_wait_command 0.

Many aspects of the TF2 interface can be customized by editing the Heads-up display, or "HUD". Most custom HUDs always work regardless of server settings, unless the HUD uses customized material files, which constitute custom content and are disabled by sv_pure servers (most HUDs only contain /resource/ and /scripts/ files, which are allowed in all pure settings).

Tools

Main articles: Help:Recording demos, Steam Workshop

There is a variety of first-party (some in-game and some not) and third-party tools to assist in playing, editing, and analyzing Team Fortress 2. These can include:

  • Demo Recording and Playback: Players can record demos of gameplay (record FILENAME in the console) to watch or share later without using the resources necessary for live video capture. Demos can be played with the console command playdemo FILENAME and captured to video using the startmovie command. PREC is a common, Valve-approved add-on to TF2 that automates demo recording.
  • TF2 Tool Mode: TF2 can be run under a "tool mode" with the launch option -tools. The tool mode allows access to the Commentary editor, Material editor, and perhaps most notably, the Particle editor.
  • Source SDK: The Source Engine Software Development Kit, or SDK, is a set of programs that come with all Source engine games and run through Steam, including the Model Viewer (commonly used for posing wiki images) and Hammer editor (used for making maps). The SDK can be accessed in the Tools subsection of the Steam Library and has its own wiki.
  • GCFScape: One can examine and extract the contents of TF2 using GCFScape, a third-party application used by most custom content editors. GCFScape can also be used to validate or defragment game files. In order to view and edit VTF files extracted using GCFScape, VTFEdit is commonly used.

These tools, in addition to modeling and sound editing software, can be used to edit a variety of TF2 gameplay elements, though their actual presence in-game is based on server settings (most notably with the sv_pure command and file whitelists).

User-made content can be submitted to Valve through the Steam Workshop. Content deemed worthy of inclusion becomes official game content, with the author credited and rewarded for their contribution.

See also

External links