Garry's Mod Wiki

DMG

Description

Values

DMG_GENERIC0Generic damage (used by weapon_fists)
DMG_CRUSH1Caused by physics interaction and ignored by airboat drivers. This is used by the Rollermine and an unused animation attack called 'Fireattack' by the Antlion Guard ACT_RANGE_ATTACK1

  • 4202501 is the same DMG type as 1 but has a different value and its only used by the Barnacle when it kills an NPC

  • 8197 is the same DMG type as 1 but has a different value and its only used by the Barnacle when its hurting a player

DMG_BULLET2Bullet damage from Ceiling Turrets, the Strider, Turrets and most guns

  • 4098 is the same DMG type as 2 but has a different value and its only used by the Helicopter & Gunship
DMG_SLASH4Used by the Stunstick, Manhacks, Antlions, Antlion Guards, Headcrabs, Fast Headcrabs, all Zombies types, Hunter, and potentially other NPCs attacks
DMG_BURN8Damage from fire
DMG_VEHICLE16Hit by a vehicle (This will need to be set for passengers of some vehicle to receive damage)
DMG_FALL32Fall damage
DMG_BLAST64Explosion damage like grenades, helicopter bombs, combine mines, Will be ignored by most vehicle passengers

  • 134217792 is the same as 64 but has a different value and its used by the Explosive Oil Drum
DMG_CLUB128Blunt attacks such as from the Crowbar, Antlion Guard & Hunter
DMG_SHOCK256Electrical damage, shows smoke at the damage position and its used by Stalkers & Vortigaunts
DMG_SONIC512Sonic damage, used by the Gargantua and Houndeye NPCs
DMG_ENERGYBEAM1024Laser damage
DMG_PREVENT_PHYSICS_FORCE2048Prevent a physics force

  • 4196352 is the same as 2048 but has a different value and its only used by the Hunter when it kills a player via the flechettes
DMG_NEVERGIB4096Crossbow damage, never creates gibs

  • 67112960 is the same as 4096 but has a different value and its used by the Hunter's flechettes when initial contact is made to the entity
DMG_ALWAYSGIB8192Always create gibs
DMG_DROWN16384Drown damage
DMG_PARALYZE32768Same as DMG_POISON
DMG_NERVEGAS65536Neurotoxin damage
DMG_POISON131072Poison damage used by Antlion Workers & Poison Headcrabs

  • 134348800 is the same as 131072 but has a different value and its only used by the Antlion Worker's death damage
DMG_RADIATION262144Radiation damage & it will be ignored by most vehicle passengers
DMG_DROWNRECOVER524288Damage applied to the player to restore health after drowning
DMG_ACID1048576Toxic chemical or acid burn damage used by the Antlion Workers
DMG_SLOWBURN2097152In an oven
DMG_REMOVENORAGDOLL4194304Don't create a ragdoll on death
DMG_PHYSGUN8388608Damage done by the gravity gun

  • 8388609 is the same as 8388608 but has a different value and its damage done by the gravity gun to NPCs
DMG_PLASMA16777216Plasma damage
DMG_AIRBOAT33554432Airboat gun damage
DMG_DISSOLVE67108864Forces the entity to dissolve on death. This is what the combine ball uses when it hits a target

  • 67108865 is the same as 67108864 but has a different value and its when an npc dies to a combine ball

  • 67110912 is the same as 67108864 but has a different value and its used by the Hunter's flechettes when they explode

DMG_BLAST_SURFACE134217728This won't hurt the player underwater
DMG_DIRECT268435456Direct damage to the entity that does not go through any damage value modifications
DMG_BUCKSHOT536870912The pellets fired from a shotgun
DMG_SNIPER1073741824Damage from SniperRound/SniperPenetratedRound ammo types
DMG_MISSILEDEFENSE2147483648Damage from npc_missiledefense, npc_combinegunship, or monster_mortar

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 6