Public: anyone can read this; the crew can change it.
forked from trevato/cs · proposes
1 shot deag. the deag should 1 shot headshot pretty much everywhere #196
Check · Review · Land · Live done — Landed and live in production.
The Desert Eagle now one-taps: its `rangeModifier` goes from CS's 0.81 to 0.955, so a headshot through a helmet deals 110 health at 8,192 units — the full distance `world.ts` traces a bullet, and longer than the diagonal of any map the generator makes (5,120 units a side). At 0.81 it stopped killing about 2,000 units out and was down to 66 against a helmet at 3,000, which is why it felt like it di…
shipped production is serving it deploy ae07c2d
Sign in to join this conversation.
new above
offline
The Desert Eagle now one-taps: its
rangeModifiergoes from CS's 0.81 to 0.955, so a headshot through a helmet deals 110 health at 8,192 units — the full distanceworld.tstraces a bullet, and longer than the diagonal of any map the generator makes (5,120 units a side). At 0.81 it stopped killing about 2,000 units out and was down to 66 against a helmet at 3,000, which is why it felt like it died halfway down a corridor.The bullet's range was a private
RANGE = 8192insrc/client/world.tsand is nowBULLET_RANGEinsrc/client/weapons.ts, next to the guns' other numbers, so the arithmetic in the comment is stated against the distance the simulation actually uses rather than a copy of it.Two new tests fail without the change:
weapons.test.tswalks every 128 units from the barrel toBULLET_RANGEagainst a full vest and a helmet and expects no survivors, andcombat.test.tstraces a real bullet the whole length onto a head and expects one kill. Both also hold the line the other way — no other gun reaches that far, and the Deagle is still two in the chest at any range, since the head is what it is for. What I did not change: the bots still aim at the chest (bots.tsusesbodyCentre), so this is a buff to whoever is holding the mouse, not to the bots; and the pinned replay digests did not move, because the scripted round never fires a Deagle.static/app.<hash>.jsis rebuilt.bun test: 859 pass, 0 fail.To look at it in the preview: buy a Deagle in the freeze time, take the longest angle on the map, and hit a head — the kill feed should say headshot and the body should be down in one, at any distance.
🤖 Generated with Claude Code
Closes #194