Created
January 6, 2018 05:49
-
-
Save sigsegv-mvm/8ac001020092967f32fdd7393b45d5aa to your computer and use it in GitHub Desktop.
TF2 weapons' damage type bits (g_aWeaponDamageTypes)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEAM FORTRESS 2 WEAPON DAMAGE TYPES (g_aWeaponDamageTypes) | |
Current as of TF2 version 20171214a | |
Dumped by sigsegv | |
NOTE: these are NOT necessarily the actual damage bits that will be used; | |
weapon code CAN and WILL modify these flags and/or use different ones in many cases | |
(most obvious example: DMG_CRITICAL is OR'd on when crit-boosted) | |
TF_WEAPON_NONE 00000000 (DMG_GENERIC) | |
TF_WEAPON_BAT 00000080 (DMG_CLUB) | |
TF_WEAPON_BAT_WOOD 00000080 (DMG_CLUB) | |
TF_WEAPON_BOTTLE 00000080 (DMG_CLUB) | |
TF_WEAPON_FIREAXE 00000080 (DMG_CLUB) | |
TF_WEAPON_CLUB 00000080 (DMG_CLUB) | |
TF_WEAPON_CROWBAR 00000080 (DMG_CLUB) | |
TF_WEAPON_KNIFE 00000004 (DMG_SLASH) | |
TF_WEAPON_FISTS 00000080 (DMG_CLUB) | |
TF_WEAPON_SHOVEL 00000080 (DMG_CLUB) | |
TF_WEAPON_WRENCH 00000080 (DMG_CLUB) | |
TF_WEAPON_BONESAW 00000004 (DMG_SLASH) | |
TF_WEAPON_SHOTGUN_PRIMARY 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SHOTGUN_SOLDIER 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SHOTGUN_HWG 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SHOTGUN_PYRO 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SCATTERGUN 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SNIPERRIFLE 02000002 (DMG_BULLET|DMG_USE_HITLOCATIONS) | |
TF_WEAPON_MINIGUN 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SMG 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SYRINGEGUN_MEDIC 00220802 (DMG_BULLET|DMG_USEDISTANCEMOD|DMG_NOCLOSEDISTANCEMOD|DMG_PREVENT_PHYSICS_FORCE) | |
TF_WEAPON_TRANQ 00208802 (DMG_BULLET|DMG_USEDISTANCEMOD|DMG_PARALYZE|DMG_PREVENT_PHYSICS_FORCE) | |
TF_WEAPON_ROCKETLAUNCHER 00240040 (DMG_BLAST|DMG_USEDISTANCEMOD|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADELAUNCHER 00240040 (DMG_BLAST|DMG_USEDISTANCEMOD|DMG_HALF_FALLOFF) | |
TF_WEAPON_PIPEBOMBLAUNCHER 00060040 (DMG_BLAST|NOCLOSEDISTANCEMOD|DMG_HALF_FALLOFF) | |
TF_WEAPON_FLAMETHROWER 01000800 (DMG_IGNITE|DMG_PREVENT_PHYSICS_FORCE) | |
TF_WEAPON_GRENADE_NORMAL 00040040 (DMG_BLAST|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADE_CONCUSSION 00040200 (DMG_SONIC|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADE_NAIL 00040002 (DMG_BULLET|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADE_MIRV 00040040 (DMG_BLAST|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADE_MIRV_DEMOMAN 00040040 (DMG_BLAST|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADE_NAPALM 00000408 (DMG_BURN|DMG_RADIUS_MAX) | |
TF_WEAPON_GRENADE_GAS 00060000 (DMG_NOCLOSEDISTANCEMOD|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADE_EMP 00040840 (DMG_BLAST|DMG_HALF_FALLOFF|DMG_PREVENT_PHYSICS_FORCE) | |
TF_WEAPON_GRENADE_CALTROP 00000000 (DMG_GENERIC) | |
TF_WEAPON_GRENADE_PIPEBOMB 00060040 (DMG_BLAST|NOCLOSEDISTANCEMOD|DMG_HALF_FALLOFF) | |
TF_WEAPON_GRENADE_SMOKE_BOMB 00000000 (DMG_GENERIC) | |
TF_WEAPON_GRENADE_HEAL 00000000 (DMG_GENERIC) | |
TF_WEAPON_GRENADE_STUNBALL 00000080 (DMG_CLUB) | |
TF_WEAPON_GRENADE_JAR 00000080 (DMG_CLUB) | |
TF_WEAPON_GRENADE_JAR_MILK 00000080 (DMG_CLUB) | |
TF_WEAPON_PISTOL 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_PISTOL_SCOUT 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_REVOLVER 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_NAILGUN 00220802 (DMG_BULLET|DMG_USEDISTANCEMOD|DMG_NOCLOSEDISTANCEMOD|DMG_PREVENT_PHYSICS_FORCE) | |
TF_WEAPON_PDA 00000002 (DMG_BULLET) | |
TF_WEAPON_PDA_ENGINEER_BUILD 00000002 (DMG_BULLET) | |
TF_WEAPON_PDA_ENGINEER_DESTROY 00000002 (DMG_BULLET) | |
TF_WEAPON_PDA_SPY 00000002 (DMG_BULLET) | |
TF_WEAPON_BUILDER 00000002 (DMG_BULLET) | |
TF_WEAPON_MEDIGUN 00000002 (DMG_BULLET) | |
TF_WEAPON_GRENADE_MIRVBOMB 00000040 (DMG_BLAST) | |
TF_WEAPON_FLAMETHROWER_ROCKET 01000440 (DMG_BLAST|DMG_IGNITE|DMG_RADIUS_MAX) | |
TF_WEAPON_GRENADE_DEMOMAN 00040040 (DMG_BLAST|DMG_HALF_FALLOFF) | |
TF_WEAPON_SENTRY_BULLET 00000002 (DMG_BULLET) | |
TF_WEAPON_SENTRY_ROCKET 00000040 (DMG_BLAST) | |
TF_WEAPON_DISPENSER 00000000 (DMG_GENERIC) | |
TF_WEAPON_INVIS 00000000 (DMG_GENERIC) | |
TF_WEAPON_FLAREGUN 01000002 (DMG_BULLET|DMG_IGNITE) | |
TF_WEAPON_LUNCHBOX 00000000 (DMG_GENERIC) | |
TF_WEAPON_JAR 00000000 (DMG_GENERIC) | |
TF_WEAPON_COMPOUND_BOW 02000002 (DMG_BULLET|DMG_USE_HITLOCATIONS) | |
TF_WEAPON_BUFF_ITEM 00000000 (DMG_GENERIC) | |
TF_WEAPON_PUMPKIN_BOMB 00000080 (DMG_CLUB) | |
TF_WEAPON_SWORD 00000080 (DMG_CLUB) | |
TF_WEAPON_ROCKETLAUNCHER_DIRECTHIT 00240040 (DMG_BLAST|DMG_USEDISTANCEMOD|DMG_HALF_FALLOFF) | |
TF_WEAPON_LIFELINE 00000080 (DMG_CLUB) | |
TF_WEAPON_LASER_POINTER 00000080 (DMG_CLUB) | |
TF_WEAPON_DISPENSER_GUN 00000002 (DMG_BULLET) | |
TF_WEAPON_SENTRY_REVENGE 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_JAR_MILK 00000000 (DMG_GENERIC) | |
TF_WEAPON_HANDGUN_SCOUT_PRIMARY 20200002 (DMG_BULLET|DMG_BUCKSHOT|NODISTANCEMOD) | |
TF_WEAPON_BAT_FISH 00000080 (DMG_CLUB) | |
TF_WEAPON_CROSSBOW 02000002 (DMG_BULLET|DMG_USE_HITLOCATIONS) | |
TF_WEAPON_STICKBOMB 00000080 (DMG_CLUB) | |
TF_WEAPON_HANDGUN_SCOUT_SECONDARY 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SODA_POPPER 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_SNIPERRIFLE_DECAP 02000002 (DMG_BULLET|DMG_USE_HITLOCATIONS) | |
TF_WEAPON_RAYGUN 00220002 (DMG_BULLET|DMG_USEDISTANCEMOD|DMG_NOCLOSEDISTANCEMOD) | |
TF_WEAPON_PARTICLE_CANNON 00240040 (DMG_BLAST|DMG_USEDISTANCEMOD|DMG_HALF_FALLOFF) | |
TF_WEAPON_MECHANICAL_ARM 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_DRG_POMSON 00220002 (DMG_BULLET|DMG_USEDISTANCEMOD|DMG_NOCLOSEDISTANCEMOD) | |
TF_WEAPON_BAT_GIFTWRAP 00000080 (DMG_CLUB) | |
TF_WEAPON_GRENADE_ORNAMENT_BALL 00000080 (DMG_CLUB) | |
TF_WEAPON_FLAREGUN_REVENGE 01000002 (DMG_BULLET|DMG_IGNITE) | |
TF_WEAPON_PEP_BRAWLER_BLASTER 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_CLEAVER 00000000 (DMG_GENERIC) | |
TF_WEAPON_GRENADE_CLEAVER 00000004 (DMG_SLASH) | |
TF_WEAPON_STICKY_BALL_LAUNCHER 00000000 (DMG_GENERIC) | |
TF_WEAPON_GRENADE_STICKY_BALL 00000000 (DMG_GENERIC) | |
TF_WEAPON_SHOTGUN_BUILDING_RESCUE 20200000 (DMG_BUCKSHOT|DMG_USEDISTANCEMOD) | |
TF_WEAPON_CANNON 00040040 (DMG_BLAST|DMG_HALF_FALLOFF) | |
TF_WEAPON_THROWABLE 00000002 (DMG_BULLET) | |
TF_WEAPON_GRENADE_THROWABLE 00000002 (DMG_BULLET) | |
TF_WEAPON_PDA_SPY_BUILD 00000002 (DMG_BULLET) | |
TF_WEAPON_GRENADE_WATERBALLOON 00000002 (DMG_BULLET) | |
TF_WEAPON_HARVESTER_SAW 00000004 (DMG_SLASH) | |
TF_WEAPON_SPELLBOOK 00000000 (DMG_GENERIC) | |
TF_WEAPON_SPELLBOOK_PROJECTILE 00000000 (DMG_GENERIC) | |
TF_WEAPON_SNIPERRIFLE_CLASSIC 02000002 (DMG_BULLET|DMG_USE_HITLOCATIONS) | |
TF_WEAPON_PARACHUTE 00000000 (DMG_GENERIC) | |
TF_WEAPON_GRAPPLINGHOOK 00000000 (DMG_GENERIC) | |
TF_WEAPON_PASSTIME_GUN 00000000 (DMG_GENERIC) | |
TF_WEAPON_CHARGED_SMG 00200002 (DMG_BULLET|DMG_USEDISTANCEMOD) | |
TF_WEAPON_BREAKABLE_SIGN 00000080 (DMG_CLUB) | |
TF_WEAPON_ROCKETPACK 00000000 (DMG_GENERIC) | |
TF_WEAPON_SLAP 00000080 (DMG_CLUB) | |
TF_WEAPON_JAR_GAS 00000000 (DMG_GENERIC) | |
TF_WEAPON_GRENADE_JAR_GAS 00000000 (DMG_GENERIC) | |
TF_WEPON_FLAME_BALL* 00000000 (DMG_GENERIC) | |
* yes, that really is how Valve spelled it, and no, they still haven't corrected it, 2.5 months later |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment