2,318online

The damage model

Combat

How one bullet becomes damage: the formula, what we proved, and what we cannot read.

This is the part of the game we can prove. It describes what happens to the damage number when a bullet hits; it does not cover aiming, spread or recoil.

The formula

For a hit at a distance, the game works out:

damage = base damage × hit-box multiplier × the larger of zero and (one minus falloff × distance in metres)

  • Base damage is the weapon’s own number. Shotguns apply it to each pellet.
  • The hit-box multiplier depends on which part of the body was hit. See Hit boxes.
  • Falloff is a per-weapon value. Damage shrinks in a straight line with distance and never goes below zero.
  • Distance is the straight line in three dimensions between the shooter and the hit, in metres.
  • Range is a hard limit. A hit farther than the weapon’s range is flagged as invalid by the host code, so nothing lands past it.

A worked example: M4A1

M4A1 has a falloff of 0.0016 per metre and a range of 251 metres. Its table gives these chest and head figures for one bullet:

DistanceChestHead
0 m30125
10 m29.5123
20 m29121
30 m28.6119
40 m28.1117

Each row is computed with the formula above from the weapon’s table values. M4A1’s page

What this does not cover

Health
Shots to kill assumes 100 health for everyone. No table we can read states it. If a mode or item changes health, our shots-to-kill numbers will not follow.
Spread and recoil
Open. The values are in the tables, but the code that uses them is packed, so their units are unproven. We do not draw spray patterns.
Damage variation
Open. Some weapons carry a variation factor that we could not resolve, so it is not applied.
Other modes
AI and some special modes swap in their own falloff value for weapons that set one. This site shows the standard value.
Browse weapons Game mechanics