Damage types

The Damage Type property of a trigger_hurt entity lets you choose between many types of damage, but it may be hard to figure out what these types of damage do exactly, so below is a list.
Depending on game, the damage type may be entirely different, along with the way the damage is shown to the player.
Damage Perception:
 If nothing else is stated, each damage hit will (besides damaging you) make you jerk a little, make your screen flash red if you don't have a HEV suit, or provide red HUD directions to display where the damage is coming from if you have a HEV suit.
 Receiving damage only plays a vocal response and shows a damage indicator.
Amount of Damage Applied:
 The amount of damage applied depends on the current difficulty setting:
* "Easy" (skill 1) applies 50% of the Damage value every half-second.
* "Normal" (skill 2) applies 100% of the Damage value every half-second.
* "Hard" (skill 3) applies 150% of the Damage value every half-second.
Newer Multiplayer games seem to always apply 50% of the Damage value every half-second, even when playing singleplayer on Expert mode in .
:This is the case in and . 
== Damage types ==
This table shows every damage type available in the game. Some of these are not in the default FGDs and have to be added manually.
Some games have different damage type names that trigger different effects. Some will be listed here as well.
The value for damage types are essentially bitflags. This means that multiple damage types can be specified at once where applicable. For instance, DMG_SHOCK have a value of 256 and DMG_DROWN have a value of 16384. Entering the sum of those (256 + 16384), 16640, would both cause the player's screen to flash blue, and a spark will appear near the player.
Value 	Name 	Comments / Effects
0 	DMG_GENERIC 	
* Does not make any kind of visual or audible indication of incoming damage, unlike other damage types.
1 	DMG_CRUSH 	
* The whole screen flashes red even if you're wearing a HEV suit.
* Always does 50% of the Damage value every half-second, regardless of difficulty setting.
* Also makes the Witch flinch without startling her.
2 	DMG_BULLET 	
* Plays bullet impact sounds.
* Also makes the Witch flinch without startling her.
4 	DMG_SLASH 	
* Displays spurts of blood if player HEV suit power is 0.
* Also makes the Witch flinch without startling her.
8 	DMG_BURN 	
* Plays heat damage sounds. (Something sizzling and the player going "Ouch!".)
* The whole screen flashes red even if you're wearing a HEV suit.
* No HUD damage directions are given. 
* Does NOT ignite players.
* Ignites all bots, also shows fire overlay in first person.
16 	DMG_VEHICLE 	
* impacts deal this type of damage.
* Listed as "Freeze" in Valve FGDs, since this damage type was previously used for freeze damage in .
* When used in the Half-Life codebase, the HEV suit will display a snowflake icon on the left side of the screen.
* A player killed by this type of damage will be displayed as being run over by a train.
32 	DMG_FALL 	
* Always does 50% of the Damage value every half-second, regardless of difficulty setting.
* The HEV suit will not protect you from this type of damage.
* A player killed by this type of damage will play a fall damage sound and display the fall-specific kill feed line "fell to a clumsy, painful death".
* If used on a , survivors will not scream "I'm Down" or simmilar lines when incapacitated.
64 	DMG_BLAST 	
* May temporarily deafen the player.
* Stumbles all CI, SI, Tanks and Witches. Does not startle the Witch.
* A player killed by this type of damage will leave gibs instead of a ragdoll.
128 	DMG_CLUB 	
* A player killed by this type of damage will emit their dramatic death sounds. Melee weapons deal this type of damage.
* Same damage as a Tanks punch and his boulders.
256 	DMG_SHOCK 	
* Sparks for every hit.
* The whole screen flashes light blue even if you're wearing a HEV suit.
* No flashes, Missing Particle/white texture.
512 	DMG_SONIC 	
*Damage from supersonic objects.
1024 	DMG_ENERGYBEAM 	
*Laser or other high energy beam.
2048 	DMG_PREVENT_PHYSICS_FORCE 
DMG_BLAMELESS_FRIENDLY_FIRE	
*Prevent a physics force (e.g. Gravity Gun Jump on Props).
* This damage type, as the name suggests, is used for friendly fire, except that the players will not say "Don't shoot me".
4096 	DMG_NEVERGIB 	
*No damage type will be able to gib victims upon death.
: Does not function as such.
8192 	DMG_ALWAYSGIB 	
*Any damage type can be made to gib victims upon death.
: Does not function as such.
16384 	DMG_DROWN 	
* The whole screen flashes blue even if you're wearing a HEV suit.
* Double HUD damage directions are given.
* Plays drowning sounds.
* Always does 50% of the Damage value every half-second, regardless of difficulty setting.
* The HEV suit will not protect you from this type of damage.
32768 	DMG_PARALYZE
DMG_FORCE_INCAPACITATE	
* HEV suit warning: "Warning: Bloodtoxin levels detected." (hl1/fvox/blood_toxins.wav)
* If used on a , instantly incapacitates survivor bots. Regardless of damage value or mode.
65536 	DMG_NERVEGAS 	
* HEV suit warning: "Warning: Biohazard detected." (hl1/fvox/biohazard_detected.wav)
* A player killed by this type of damage will be displayed as a kill by a sawblade.
131072 	DMG_POISON 	
* deal this type of damage.
* The whole screen flashes yellow even if you're wearing a HEV suit. (This flash seems to stick sometimes, and may appear the next time the player is hurt.)
* The HEV suit will not protect you from this type of damage.
* Always does 50% of the Damage value every half-second, regardless of difficulty setting.
* HEV suit warns: "Warning: Bloodtoxin levels detected." (hl1/fvox/blood_toxins.wav)
* HUD displays: "Neurotoxin Detected Administering Antidote"
* The damage received is slowly healed after a delay (even if the player is not wearing a suit, oddly enough).
* Similar to GENERIC.
* Will not show damage indicator arrows on screen. This damage type is applied when bleeding out while being incapacitated.
262144 	DMG_RADIATION 	
* Close proximity to a with this type of damage will set off the HEV suit's Geiger counter.
* The HEV suit will not protect you from this type of damage.
* The whole screen flashes white even if you're wearing a HEV suit.
 The screen does not flash. Causes gibbing like Blast damage.
* Double HUD damage directions are given.
* HEV suit warning: "Warning: Hazardous radiation levels detected." (hl1/fvox/radiation_detected.wav)
524288 	DMG_DROWNRECOVER 	
* Used for regeneration of health lost due to drowning damage.
* If used on a , this will not recover health, but deal the damage. However, any using negative damage values can heal you.
1048576 	DMG_ACID 
DMG_CHOKE	
* The whole screen flashes white even if you're wearing a HEV suit. 
* Double HUD damage directions are given.
* HEV suit warning: "Warning: Hazardous chemical detected." (hl1/fvox/chemical_detected.wav)
* Listed as "Chemical" in Valve FGDs, since this damage type was previously used for chemical damage in .
* Critical damage. Deals 300% of the Damage value. Critical hit sounds play alongside killed players emitting dramatic death sounds.
* This damage is being dealt by the smoker. Both when the smoker punches caught survivors, but also by the tongue itself when survivors get stuck on an object while being dragged.
2097152 	DMG_SLOWBURN 
DMG_MELEE	
* Uses the damage falloff formula (50% at 1024 units away from attacker's origin, 150% at point blank)
4194304 	DMG_REMOVENORAGDOLL	
* If damage of this type kills the player or an NPC, a ragdoll will not be created.
* This bit is set when attempting to use an on a live player.
* Listed as "Slow Freeze" in Valve FGDs, since this damage type was previously used for slow freeze damage in .
8388608 	DMG_PHYSGUN 	
*Damage from the Gravity Gun (e.g. pushing head crabs).
16777216 	DMG_PLASMA 	
*Turns the player's screen dark and plays sounds until the player's next footstep.
* Spawns Shotgun like gib particles until CI die and gib.
33554432 	DMG_AIRBOAT 
DMG_STUMBLE	
*Damage from airboat gun.
* Staggers CI like the melee attack of a firearm does.
67108864 	DMG_DISSOLVE 	
* Emancipation effect of and the (Fizzlers) in .
* The chainsaw.
134217728 	DMG_BLAST_SURFACE 	
*A blast on the surface of water that cannot harm things underwater
268435456 	DMG_DIRECT 	
*Damage from being on fire. (DMG_BURN relates to external sources hurting you)
536870912 	DMG_BUCKSHOT 	
*Damage from shotguns. (not quite a bullet. Little, rounder, different.)
* Staggers CI. Makes Witch flinch.
1073741824 	DMG_HEADSHOT 	
*Damage from a headshot.
-2147483648	DMG_LASTGENERICFLAG 
DMG_DISMEMBER	
*
== Prefabs ==
* Example 1 - Gravity Gun Jump Without Taking Damage! 
* Example 2 - No Player Fall Damage!
== See also ==
* Filter_damage_type
Damage type
Category:Level Design