Damage types

From Source Entities
Jump to navigation Jump to search

All damage done by one entity to another has at least one type associated with it. For instance, If a player falls from a high place, they'll be hurt by the world with the damage type DMG_FALL. When the player entity spots that damage type, the game may do something like shake the screen.

Types[edit | edit source]

0 - GENERIC[edit | edit source]

Regular damage. Has typical effects. (Like HUD indicators pointing towards the damage source, pain sounds.)

1 - CRUSH[edit | edit source]

Physics collisions/getting squished.

  • Hl2.pngHEV says "major/minor fracture detected". Damage amount not affected by difficulty. Makes hunters flinch. Makes manhacks explode on death.
  • P1.pngChell emits pain sounds.
  • Tf2.pngScreen flashes red.
  • Asw.pngDoes not hurt marines.
  • P2.pngScreen flashes darker red.
  • Csgo-small.pngPlays quieter bullet impact sounds.

2 - BULLET[edit | edit source]

  • Hl2.pngPlays bullet impact sound. HEV says "blood loss detected".
  • P1.pngP2.pngPlays bullet impact sound. Turrets interpret this as friendly fire from other turrets regardless of the source.
  • Tf2.pngPlays bullet impact sound.
  • L4d2-small.pngPlays bullet impact sounds when hurting infected. May seem odd without a gunfire sound & visual accompanying it. Makes witches emit extra high-pitched screams.

4 - SLASH[edit | edit source]

  • Hl2.pngCreates blood particle on player. HEV says "major/minor lacerations detected". Prevents using +use for half a second in episodic.

8 - BURN[edit | edit source]

  • Hl2.pngScreen flashes red. Burning sound effect plays (HL2 only). Ignites zombies (if hurting at a high enough DPS relative to their health) and headcrabs. Kills rollermines. Slowly chars citizens if combined with DMG_DIRECT. Causes flammable breakable props (such as oil barrels) to ignite.
  • P1.pngP2.pngDoes not ignite turrets.
  • Tf2.pngDoes not ignite players.
  • L4d2-small.pngShows flame and blur effects. Ignites infected.
  • Asw.pngIgnites marines and swarm.

16 - VEHICLE[edit | edit source]

  • Hl2.pngShows broken player.mdl if it kills the player! If killing a hunter, decreases the hunters_to_run_over global setting.
  • P2.pngShows Chell's model in a t-pose when killed!

32 - FALL[edit | edit source]

  • Hl2.pngPlays splat sound if the player dies from it. Damage amount not affected by difficulty. HEV says "major/minor fracture detected".
  • Css.pngDoes not play bullet impact sound (others will).
  • Dods.pngCharacter does not emit pain sounds (will from other sources).
  • Tf2.pngCharacter emits more dramatic pain sounds. Plays crunch sound if they die from it.
  • Csgo-small.pngDoes not play any impact sounds, ever.

64 - BLAST[edit | edit source]

Explosions.

  • Hl2.pngTemporarily deafens player. Causes flammable breakable props (such as oil barrels) to ignite. Makes antlions, rollermines, and manhacks explode on death. Makes Alyx flinch (episodic). Makes hunters flinch. May ignite headcrabs.
  • Css.pngTemporarily deafens the player if they take significant damage.
  • Dods.pngCharacter emits more dramatic pain sounds. Temporarily deafens the player if they take significant damage.
  • Tf2.pngGibs players if the damage done is at least 10 more than their current health.
  • L4d2-small.pngTemporarily deafens the player if they take significant damage. Kills infected instantly, regardless of damage. Knocks witches away from the damage source, but may cause them to be stuck in their stumbling animation until another begins playing (for a reason such as being disturbed).
  • Asw.pngUses a special pronged directional HUD indicator. Drones may get flung toward the player camera.
  • P2.pngKnocks turrets around.
  • Csgo-small.pngDoes not play impact sounds, decreases armor.

128 - CLUB[edit | edit source]

Melee bashing weapons.

  • Hl2.pngMakes manhacks spark, and makes them explode on death. Instantly kills barnacles and headcrabs. HEV may say "minor fracture detected".
  • Dods.pngCharacter emits more dramatic pain sounds.
  • Tf2.pngCharacter emits dramatic death sounds when they die from it.
  • L4d2-small.pngInstantly kills jockeys.

256 - SHOCK[edit | edit source]

Electrical damage. Creates sparks.

  • L4d2-small.pngMissing a dust texture! To do: Find it.
  • Asw.pngShocks swarm in the same manner as an electric attack.

512 - SONIC[edit | edit source]

Damage caused by a rapid change in air pressure.

  • Hl2.pngPlays special pain sound. HEV may say "internal bleeding detected".
  • Asw.pngAlways gibs swarm.
  • P2.pngPlays special pain sound.

1024 - ENERGYBEAM/Tf2.pngRADIUS_MAX[edit | edit source]

  • Tf2.pngNullifies distance-based damage falloff.
  • L4d2-small.pngHurts infected noticeably less per hit.
  • Asw.pngDamages asw_prop_laserables.

2048 - PREVENT_PHYSICS_FORCE/L4d2-small.pngBLAMELESS_FRIENDLY_FIRE[edit | edit source]

  • L4d2-small.pngTo do: Uncertain.

4096 - NEVERGIB[edit | edit source]

8192 - ALWAYSGIB[edit | edit source]

16384 - DROWN[edit | edit source]

Health will slowly regenerate to what it was before being hurt, but not when done through trigger_hurt.

  • Hl2.pngPlays drowning sound, screen flashes blue. Damage amount not affected by difficulty.
  • Tf2.pngPlays drowning sound, screen flashes blue.
  • P2.pngScreen flashes blue/red.

32768 - PARALYZE/L4d2-small.pngFORCE_INCAPACITATE[edit | edit source]

  • Hl2.pngHEV says "warning, blood toxin levels detected".
  • Dods.pngJostles the player's view like how grenades do. Higher damage means the view jostles more. Doesn't actually cause damage.
  • L4d2-small.pngInstantly knocks survivors down, even if it only takes off 1 HP. Instantly kills tanks.

65536 - NERVEGAS[edit | edit source]

  • Hl2.pngHEV says "warning, biohazard detected".

131072 - POISON/Tf2.pngNOCLOSEDISTANCEMOD/Asw.pngBLURPOISON[edit | edit source]

  • Hl2.pngHEV says "warning, blood toxin levels detected". Screen flashes yellow. Health will slowly regenerate to what it was before being hurt.
  • Tf2.pngIf using DMG_USEDISTANCEMOD, cancels the damage increase when the target is close, meaning the damage will only decrease (when farther away).
  • L4d2-small.pngDoes not show a red arrow pointing to the damage source (others will).
  • Asw.pngApplies the blur and trail effects received from buzzers.

262144 - RADIATION/Tf2.pngHALF_FALLOFF[edit | edit source]

  • Hl2.pngScreen flashes white. HEV says "warning, hazardous radiation levels detected". If using a trigger_hurt, a Geiger counter sound plays from the trigger's origin if it's in the player's PVS and they're close enough.
  • Tf2.pngHalves the damage reduction that explosives suffer due to distance from their target. Used on weapons like rockets to ensure that they always do a non-trivial amount of damage. If using a trigger_hurt, (inconsistently) emits a Geiger counter sound like radiation from HL2 and gibs players identically to blast.
  • Asw.pngDoes not knock marines back.

524288 - DROWNRECOVER[edit | edit source]

Used internally to make the player regain health when they stop drowning. Works like generic when using trigger_hurt.

1048576 - ACID/Tf2.pngCRITICAL/L4d2-small.pngCHOKE[edit | edit source]

  • Hl2.pngScreen flashes white. HEV says "warning, hazardous chemical detected".
  • Tf2.pngCrits. Always gibs players if combined with blast. Character emits dramatic death sounds if killed by the damage.
  • L4d2-small.pngTo do: Uncertain.

2097152 - SLOWBURN/Tf2.pngUSEDISTANCEMOD[edit | edit source]

  • Tf2.pngMakes the weapon's damage increase or decrease depending of the distance between the victim and the inflictor. Normal damage is at 512 units.

4194304 - REMOVENORAGDOLL[edit | edit source]

  • Hl2.pngInstantly removes the victim's remains upon killing them. Does not work for scanners. The NPC will still drop whatever weapon they held.
  • Asw.pngInstantly removes the victim's remains upon killing them. Marines will drop whatever weapons they had.

8388608 - PHYSGUN[edit | edit source]

  • Hl2.pngHit by gravity gun punt. Instantly kills birds. Flips antlions over. Always hurts headcrabs by 1/3rd of their max health. Only hurts manhacks by one point.
  • L4d2-small.pngMakes boomers explode instantly.

16777216 - PLASMA/Tf2.pngIGNITE/L4d2-small.pngMELEE[edit | edit source]

  • Hl2.pngDamage from a never-used weapon (the cremator flamethrower). Darkens screen and plays burning sound.
  • Tf2.pngActs like generic. Might have once ignited players, but does not.
  • L4d2-small.pngCreates a huge blood spurt on infected and cuts them up.

33554432 - AIRBOAT/Tf2.pngUSE_HITLOCATIONS/L4d2-small.pngSTUMBLE/Asw.pngINFEST[edit | edit source]

  • Hl2.pngDamage from the airboat gun. Needed to destroy some objects. Kills manhacks instantly.
  • Tf2.pngMakes the damage capable of doing a headshot. Does not apply to trigger_hurt.
  • L4d2-small.pngRight-click shoving. Makes most infected stumble away from the damage source. Stops jockeys (but not hunters) mid-jump.
  • Asw.pngDamage done from parasites. On death, the marine's body explodes and emits green blood.
  • Csgo-small.pngPlays the danger zone red area's hit sounds instead of the regular ones if the mode is danger zone. If the map is not loaded in danger zone mode, the console reports that the sounds are not precached, so nothing plays.

67108864 - DISSOLVE[edit | edit source]

  • Hl2.pngDissolves victims and whatever weapons/ammo they would normally drop. Prevents scanners from doing a divebomb.
  • Asw.pngDissolves victims.

134217728 - BLAST_SURFACE[edit | edit source]

  • Hl2.pngWill not damage players who are underwater.
  • Asw.pngLike blast, may fling drones toward the camera.

268435456 - DIRECT[edit | edit source]

Indicates that the damage is happening directly to the victim. Used in HL2 to distinguish from flames on a victim's body vs flames that aren't.

  • Asw.pngDoes not knock marines back or play the "hit" sound (only pain sounds).

536870912 - BUCKSHOT/L4d2-small.pngDISMEMBER[edit | edit source]

Shotgun damage.

  • L4d2-small.pngKnocks back common infected, but not boomers.
  • Asw.pngDamages asw_prop_laserables (at 1/5 the rate of energybeam, however).

Half-Life 2 severity notes[edit | edit source]

In Hl2.png a single hit of damage is considered "trivial" if the player still has at least 76 health left after it, or if it did less than 5 damage. Damage is "major" if the amount done was over 25, and damage is "critical" if the player has less than 30 health after being hurt.

Trivial damage will not trigger HEV voicelines unless the damage is an "over time" type, IE paralyze, nervegas, poison, radiation, drownrecover, acid, and slowburn. Trivial damage will also never trigger the "automatic medical systems engaged, morphine administered" line or any of the low health warnings, regardless of the damage type.

Major damage will make the HEV note a minor fracture for club and internal bleeding for sonic, note major damage for fall, crush, and slash, and will trigger the "automatic medical systems engaged, morphine administered" line if the player's health was above 75 before getting hurt.

Critical damage will cause the low health warnings to play, such as "seek medical attention" as long as the damage was not also considered trivial.

Notes[edit | edit source]

  • In the FGD, types still use their Half-Life 1 names. Vehicle is listed as freeze, acid is listed as chemical, and removenoragdoll is listed as slowfreeze. Melee from Left 4 Dead 2 is listed as fullgib.
  • The damage type "headshot" is known to exist in Left 4 Dead 2, but its value and effects have not been identified.

See Also[edit | edit source]