Skip to content

Damage & penetration

Damage in NT;RE is simple. A bullet does its weapon's damage, scaled by where it hits, and only loses damage when it passes through a wall.

There's no armour, no headshot bonus and no falloff over distance.

How damage works

Every bullet's damage is scaled by ×1.485, then by the hit location.12

  • Range doesn't matter. A bullet does the same damage at any distance until it hits something.3
  • There's no armour. Classes differ only in how much health they have.4
  • Fractions add up. Each hit takes whole HP only. The leftover fraction is saved for each attacker, and taken once it reaches 1.5
Technical details
  • damage = weapon damage × 1.485 × hit-location multiplier [× penetration loss]12
  • The 1.485 is sv_neo_wep_dmg_modifier, applied to every bullet. Explosives use sv_neo_exp_dmg_modifier, also 1.485.6
  • Maximum health is 100 for Recon, 120 for Assault and 225 for Support.4

Hit locations

Hit locationDamage multiplier
Head7×1
Chest8×1
Stomach9×0.75
Arms10×0.75
Legs11×0.6

No headshot bonus

A headshot does exactly as much damage as a chest shot. NT;RE sets the head multiplier to 1.0, where Half-Life 2 uses 2.0.

Penetration

Bullets can go through walls. Every gun has a penetration value, and every surface has a value for how easy it is to shoot through. Thinner walls, and surfaces like glass, are easier to get through.12

  • A bullet that goes through keeps at least a quarter of its damage.13
  • It can carry on through more walls with the penetration it has left.14
  • Bullets never pass through players.15
  • Shotgun pellets (buckshot) never go through anything. The Supa-7 slug does.

In the table, a higher value means the surface is easier to shoot through. Dirt and sand (0.2) are the hardest; glass (0.9) is easy.

Higher values are easier to shoot through. The third column is how much penetration a bullet needs to cross 12 units of that surface. Surfaces only Half-Life 2 uses are left out.
SurfaceValuePen. to cross 12uNotes
dirt160.260
sand170.260
concrete180.340
metal190.524
computer200.524
tile210.524
flesh220.620
grate230.7516
vent240.7516
wood250.7516
plastic260.815
foliage270.815
glass280.913.3
clip29112
blockbullets30112Never penetrable regardless of table value
slosh31112
Technical details
  • When a bullet hits a surface, the game measures how thick it is, up to 12 units, and divides that by the surface's value. If the result is no more than the bullet's remaining penetration, the bullet goes through.12
  • Damage after the wall is damage × max(0.25, 1 − used ÷ penetration), so a bullet keeps at least 25% of its damage.13
  • The penetration used is subtracted, and the bullet carries on with what's left.14
  • Buckshot has penetration 0.
  • The code calls the surface table PENETRATION_RESISTANCE, but its values work as a divisor, so a higher number means less resistance.

Accuracy

Your shots spread wider when you fire, jump, or move without aiming, and tighten again when you stop. One shot pushes the spread most of the way to its maximum, so tap-firing and crouching matter.

Changes to the accuracy penalty. The penalty runs from 0 to 1 and is capped there.32
EffectPenalty
Each shot fired33+0.8
Airborne, per second34+3
Moving without aiming (speed > 5), per second35+2
Recovery, per second36−1.2
Extra recovery while crouched, per second37−1

Unconfirmed: extra recoil on long bursts

The SRS and ZR68-L also add up to 1 degree of extra vertical recoil after 10 shots in a row. This comes from reading the code and hasn't been tested in play.38

Technical details

Each weapon has a minimum and maximum spread cone, one pair for hip fire and one for aiming. The current cone sits between them according to the accuracy penalty, from 0 to 1.39

Explosions

Explosions do full damage at the centre, falling evenly to zero at the edge of their radius.40

Damage includes the ×1.485 explosive modifier.
ExplosiveDamageRadius
Frag grenade416400.95 (base 270)42270u
Detpack4364445445 (base 300)46350u

Team damage

Friendly fire is on by default, so you can hurt your teammates.47

For the first 7 seconds of a live round, it backfires. Your teammate takes no damage, and you take double what you dealt. If that kills you, you can't respawn that round.4849

For server admins

  • sv_neo_wep_dmg_modifier (1.485) scales all bullet damage.12 sv_neo_exp_dmg_modifier (also 1.485) does the same for explosives.6
  • sv_neo_hitboxgroup_pen 1 (default 0) changes how limb hits count. A shot that hits an arm or leg is traced again to see whether it would also have hit the head, chest or stomach behind it, and uses that multiplier instead.50
  • mp_friendlyfire 1 (the default) turns friendly fire on.47

References

  1. src/game/shared/neo/neo_gamerules.cpp:53 ↩ ↩ ↩

  2. src/game/server/player.cpp:1004-1027 ↩ ↩ ↩

  3. src/game/shared/baseentity_shared.cpp:2003-2032 ↩

  4. src/game/shared/neo/neo_player_shared.h:229-234 ↩ ↩

  5. src/game/server/neo/neo_player.cpp:3320-3330 ↩

  6. src/game/shared/neo/neo_gamerules.cpp:54 ↩ ↩ ↩ ↩

  7. src/game/server/player.cpp:197 ↩

  8. src/game/server/player.cpp:198 ↩

  9. src/game/server/player.cpp:199 ↩

  10. src/game/server/player.cpp:200 ↩

  11. src/game/server/player.cpp:201 ↩

  12. src/game/shared/baseentity_shared.cpp:2336-2340 ↩ ↩

  13. src/game/shared/baseentity_shared.cpp:2366 ↩ ↩

  14. src/game/shared/baseentity_shared.cpp:2369 ↩ ↩

  15. src/game/shared/baseentity_shared.cpp:2264-2270 ↩

  16. src/game/shared/neo/neo_penetration_resistance.h:16 ↩

  17. src/game/shared/neo/neo_penetration_resistance.h:26 ↩

  18. src/game/shared/neo/neo_penetration_resistance.h:15 ↩

  19. src/game/shared/neo/neo_penetration_resistance.h:25 ↩

  20. src/game/shared/neo/neo_penetration_resistance.h:28 ↩

  21. src/game/shared/neo/neo_penetration_resistance.h:32 ↩

  22. src/game/shared/neo/neo_penetration_resistance.h:18 ↩

  23. src/game/shared/neo/neo_penetration_resistance.h:19 ↩

  24. src/game/shared/neo/neo_penetration_resistance.h:34 ↩

  25. src/game/shared/neo/neo_penetration_resistance.h:35 ↩

  26. src/game/shared/neo/neo_penetration_resistance.h:24 ↩

  27. src/game/shared/neo/neo_penetration_resistance.h:27 ↩

  28. src/game/shared/neo/neo_penetration_resistance.h:37 ↩

  29. src/game/shared/neo/neo_penetration_resistance.h:21 ↩

  30. src/game/shared/neo/neo_penetration_resistance.h:22 ↩

  31. src/game/shared/neo/neo_penetration_resistance.h:31 ↩

  32. src/game/shared/neo/weapons/weapon_neobasecombatweapon.h:281 ↩

  33. src/game/shared/neo/weapons/weapon_neobasecombatweapon.h:280 ↩

  34. src/game/shared/neo/weapons/weapon_neobasecombatweapon.cpp:593 ↩

  35. src/game/shared/neo/weapons/weapon_neobasecombatweapon.cpp:596-599 ↩

  36. src/game/shared/neo/weapons/weapon_neobasecombatweapon.cpp:576 ↩

  37. src/game/shared/neo/weapons/weapon_neobasecombatweapon.cpp:578-581 ↩

  38. src/game/shared/neo/neo_shot_manipulator.cpp:63-147 ↩

  39. src/game/shared/neo/weapons/weapon_neobasecombatweapon.cpp:854-879 ↩

  40. src/game/shared/gamerules.cpp:376,519-520 ↩

  41. src/game/shared/neo/weapons/weapon_grenade.cpp:259 ↩

  42. src/game/shared/neo/weapons/weapon_grenade.cpp:28 ↩

  43. src/game/shared/neo/weapons/weapon_detpack.cpp:302 ↩

  44. src/game/server/neo/neo_detpack.cpp:180 ↩

  45. src/game/server/explode.cpp:384 ↩

  46. src/game/server/neo/neo_detpack.h:20 ↩

  47. src/game/shared/gamevars_shared.cpp:46-55 ↩ ↩

  48. src/game/shared/neo/neo_gamerules.cpp:141-148 ↩

  49. src/game/server/neo/neo_player.cpp:3332-3357 ↩

  50. src/game/shared/neo/neo_player_shared.cpp:858,902-924 ↩