Skip to content

Instantly share code, notes, and snippets.

@sigsegv-mvm
Created January 6, 2018 05:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sigsegv-mvm/f20d2bc8d4065a89b442796764180990 to your computer and use it in GitHub Desktop.
Save sigsegv-mvm/f20d2bc8d4065a89b442796764180990 to your computer and use it in GitHub Desktop.
TF2 damage type bits/flags
TF2 DAMAGE BITS
BIT MASK NAME
--------------------------------------------------------------------------------
xx 00000000 DMG_GENERIC
00 00000001 DMG_CRUSH
01 00000002 DMG_BULLET
02 00000004 DMG_SLASH
03 00000008 DMG_BURN
04 00000010 DMG_VEHICLE
05 00000020 DMG_FALL
06 00000040 DMG_BLAST
07 00000080 DMG_CLUB
08 00000100 DMG_SHOCK
09 00000200 DMG_SONIC
0A 00000400 DMG_RADIUS_MAX [HL2: DMG_ENERGYBEAM]
0B 00000800 DMG_PREVENT_PHYSICS_FORCE
0C 00001000 DMG_NEVERGIB
0D 00002000 DMG_ALWAYSGIB
0E 00004000 DMG_DROWN
0F 00008000 DMG_PARALYZE
10 00010000 DMG_NERVEGAS
11 00020000 DMG_NOCLOSEDISTANCEMOD [HL2: DMG_POISON]
12 00040000 DMG_HALF_FALLOFF [HL2: DMG_RADIATION]
13 00080000 DMG_DROWNRECOVER
14 00100000 DMG_CRITICAL [HL2: DMG_ACID]
15 00200000 DMG_USEDISTANCEMOD [HL2: DMG_SLOWBURN]
16 00400000 DMG_REMOVENORAGDOLL
17 00800000 DMG_PHYSGUN
18 01000000 DMG_IGNITE [HL2: DMG_PLASMA]
19 02000000 DMG_USE_HITLOCATIONS [HL2: DMG_AIRBOAT]
1A 04000000 DMG_DISSOLVE
1B 08000000 DMG_BLAST_SURFACE
1C 10000000 DMG_DIRECT
1D 20000000 DMG_BUCKSHOT
1E 40000000 <unused>
1F 80000000 <unused>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment