HITGROUP
Description
Enumerations used by GM:ScalePlayerDamage and GM:ScaleNPCDamage and returned by Player:LastHitGroup.
Values
| HITGROUP_GENERIC | 0 | 1:1 damage. Melee weapons and fall damage typically hit this hitgroup.
This hitgroup is not present on default player models.
It is unknown how this is generated in GM:ScalePlayerDamage, but it occurs when shot by NPCs ( npc_combine_s ) for example. |
| HITGROUP_HEAD | 1 | Head |
| HITGROUP_CHEST | 2 | Chest |
| HITGROUP_STOMACH | 3 | Stomach |
| HITGROUP_LEFTARM | 4 | Left arm |
| HITGROUP_RIGHTARM | 5 | Right arm |
| HITGROUP_LEFTLEG | 6 | Left leg |
| HITGROUP_RIGHTLEG | 7 | Right leg |
| HITGROUP_GEAR | 10 | Gear. Supposed to be belt area.
This hitgroup is not present on default player models. Alerts NPC, but doesn't do damage or bleed (1/100th damage) |
Garry's Mod
Rust
Steamworks
Wiki Help