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:
| Distance | Chest | Head |
|---|---|---|
| 0 m | 30 | 125 |
| 10 m | 29.5 | 123 |
| 20 m | 29 | 121 |
| 30 m | 28.6 | 119 |
| 40 m | 28.1 | 117 |
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.