| ▲ | The Math Behind Counter-Strike Surfing(healeycodes.com) | |||||||||||||||||||||||||
| 159 points by v3gas 2 days ago | 24 comments | ||||||||||||||||||||||||||
| ▲ | 0xC0FFEEE 3 hours ago | parent | next [-] | |||||||||||||||||||||||||
As someone who has played many many surf maps and many many kz maps[1] in both CS:S and CS:GO it's incredibly cool to see such a detailed writeup of this phenomenon. As a player, you build up an "instinct" for how this stuff works (i.e hold D + move mouse in same direction = acceleration and further jumps), but you never really know how it works under the hood. It's kind of just considered a virtual law of physics. [1]: kz maps are about climbing / doing platforming across a challenge map using the same air strafing / bunny hopping / acceleration mechanics which make surf work. The amount of hours I sunk into these maps as a teenager while listening to random streams or podcasts is embarrassing. | ||||||||||||||||||||||||||
| ▲ | SlackingOff123 an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
If you don't have CS installed, but itching to play some surf, give this web-based port a try[0]. It's a pretty faithful re-creation. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | ahendy an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
The quake engine also perpetuated aspects of this into call of duty games (2, 4 in my case). Jump maps were hugely popular, where instead of surfing you'd combine strafe jumps, FPS-limit changes and "bounces" (colliding with the edge of a surface, similar to the bad surf example, sending you flying)[1] to traverse the map. The hilarious part was toggling between 125, 250, and 333 FPS, to abuse an engine bug giving horizontal, balanced, vertical distance respectively. | ||||||||||||||||||||||||||
| ▲ | pimlottc 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
There was an earlier mod for Quake called Slide [0] [1] that converted it into a hoverboard racing game. That one definitely tweaked the physics a bit but it was quite fun, especially in multiplayer! | ||||||||||||||||||||||||||
| ▲ | kayson 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I loved playing these maps. And the jumping puzzle / platform ones (though I can't for the life of me remember the prefix). I miss the days where multiplayer gaming was really community based because the most popular servers were run by the community. Plenty of games still have unofficial serveds, but they just don't seem to get nearly as much play. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | falkuall 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I used to play these kz_ maps all day long, jumping as far as I could, I think I managed a strafejunp over 240 units, after that I got into surf maps. It gave the feeling that I kind of tricked what’s meant to be possible by doing it. Not that it brought a single kill in any map or situation (maybe it actually did, I don’t remember). It’s so nice to see this fascination for surfing and the maths behind it is still alive. I secretly wish that there will be a revival in a new dress one day! | ||||||||||||||||||||||||||
| ▲ | GranPC an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
This was an absolute delight to read. Surf has a sweet spot in my heart -- it's what stopped me from driving up the walls when I injured my wrist and could only use one hand for long stretches of time. My mouse had a buncha buttons, so I mapped them to A, D, jump, and duck. I dunno why but I felt like ducking made me faster. Probably not, but... rituals, and maybe carried over from crouch jumping. :-) One minor nitpick: > Gravity pulls you down at 800 u/s every single second. I was pretty sure it's actually 600. It turns out different Valve games use different values, so both are correct. When I surfed in CSS I am almost sure it was 600. -- Either way, this was an absolute delightful dive into something that kept me somewhat sane -- funnily enough, while I was working on a Source game. Thank you for writing this up and putting so much care into it! | ||||||||||||||||||||||||||
| ▲ | hmontazeri 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I have no idea how many hours of my life I gave to surf maps haha was a great time | ||||||||||||||||||||||||||
| ▲ | theokrueger 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
there's something so intuitive about movement in quake-descended games. i wonder how much finetuning had to occur at id to make this happen, or if it was just accidentally perfect? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | the__alchemist 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Aww; memories of failure. I could never figure this out, nor bunny hopping! | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | estetlinus 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Great article. Brings back memories of sweaty LANs in 2005… | ||||||||||||||||||||||||||
| ▲ | hsellentin an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
great write-up and excellent visuals. no fans spinning here! | ||||||||||||||||||||||||||
| ▲ | lnxsxu 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
a long north-south ramp could end in a gap that's just out of reach. rotate the entire map 45 degrees and the higher speed limit might let you clear the same gap. pretty funny way to fix a jump. | ||||||||||||||||||||||||||
| ▲ | qoez 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
This is a great example of how to use agents/llms (as mentioned in the bottom of the article) in a really high quality non slop way. The text is probably not AI generated, but they were able to get much higher quality visualizations into it using agents that wouldn't have made sense to invest time into without them. | ||||||||||||||||||||||||||
| ▲ | rokkamokka 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Best article I've read in months, thanks! | ||||||||||||||||||||||||||
| ▲ | bigyabai 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Quick shoutout to Momentum Mod, which is a free Source-engine game that ported all of the bhop, surf and HL2 ABH maps into a single multiplayer time-trial experience: https://momentum-mod.org/ The playtest should accept you immediately if you just want to start grinding surf_kitsune times on a Sunday afternoon. | ||||||||||||||||||||||||||
| ▲ | forrestthewoods 4 hours ago | parent | prev [-] | |||||||||||||||||||||||||
Awesome post. Thanks for sharing. | ||||||||||||||||||||||||||