The Math Behind Counter-Strike Surfing(healeycodes.com)
425 points by v3gas 3 days ago | 73 comments
tl;dr: Surfing in Counter-Strike exploits Quake-derived movement physics: ramps steeper than ~45° disable friction and ground rules, so gravity accelerates you down them while air-strafing (sweeping the mouse with A/D held) builds speed via a per-tick 30 u/s "wish" cap that rewards turning perpendicular to velocity. The author also details quirks like per-axis sv_maxvelocity clamps and demonstrates a bot using 120 parallel "puppets" with beam search on sped-up servers, achieving a run only 1.3 seconds off the world record on surf_leet_xl_beta7z.
HN Discussion:
  • ↑Appreciation for the technical writeup explaining mechanics players intuitively knew
  • •Sharing related Quake-engine movement quirks and bugs from other games
  • •Nostalgia for surf/kz maps and community-run server culture
  • ↑Personal anecdotes about enjoying surf and sharing it with others
  • ~Minor nitpick about a physics detail in the article