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.
trueno 17 hours ago [-]
spent years doing defrag/strafing in jedi academy which takes it to another level especially the climbing stuff since there are force jumps and saber bug mechanics that play into them. a player named acrobat has done some incredible mountain puzzle maps.
coldpie 1 days ago [-]
In high school, circa 2004, a friend and I created a 3D platformer engine from scratch. It was mostly styled after Mario 64. I remember one build I had partway through development had a bug with jumping where I had somehow broken the press-and-release requirement, so pressing & holding the Jump button would cause the player to continually jump up & down. This was silly enough, but where it really shined was when going up a hill. It would add the jump velocity to your vector for every frame where you were in contact with the ground and holding the Jump button. So you could use it to rocket up a hill, gaining speed with every frame, and go flying off the top of the hill all the way across the map. Whenever I wanted a break from working on the game I'd boot up that build and go flying around our maps, it was great fun.
Carrok 1 days ago [-]
Reminds me of Starsiege: Tribes.
spudlyo 1 days ago [-]
Reminds me of Descent trichording, where applying thrust in 3 directions at once would give you a distinct speed boost, and was often used online to great advantage.
kridsdale1 19 hours ago [-]
Duke 3D has this as well.
jamesfinlayson 23 hours ago [-]
I never played it but I remember reading about Tribes and the... skiing I think it was called?
ahonhn 21 hours ago [-]
I really miss that game. The jetpack + the skiing mechanic + the way the disk thrower worked all put together it just felt so good to play.
sitzkrieg 11 hours ago [-]
no game comes close to this day. you had quake projectile prediction shots that we all know and love.
and then there were zfps/ tribes where the spinfusor inherited players velocity, resulting in an equally impressive but different way of aiming projectiles no other series has done
jvolkman 21 hours ago [-]
Yep. Skiing was a huge part of Tribes.
abrookewood 1 days ago [-]
That game was soo much fun. The movement has never really been replicated.
sick_of_slop 1 days ago [-]
[dead]
ahendy 1 days ago [-]
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.
q3 overbounce is still in modern legacy of engines is my understanding. i certainly saw clips of it in cod4
GranPC 1 days ago [-]
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!
healeycodes 1 days ago [-]
It's 800 in CS (all CS, I think, via `sv_gravity`) and I just edited the post to make this clearer as it's e.g. 600 in HL2 (and I jump around between games a bit).
Really glad you enjoyed it :)
SlackingOff123 1 days ago [-]
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.
Doesn't seem to work on Firefox or Chromium on Linux, the game will try to fullscreen and then immediately unfullscreen and pause whenever I try to launch it.
hhh 1 days ago [-]
Momentum mod is better
sitzkrieg 11 hours ago [-]
and surfsup is better than momentum mod. and free, and actually available.
sneak 1 days ago [-]
What's the trick to it? The article didn't seem to mention that.
samdjstephens 1 days ago [-]
Always hold D on planes that are up and to the right, and A on planes that are up and to the left. Do the rest with your mouse. “Looking” more into the slope (meaning rightwards or leftwards) will send you in that direction and lose you speed, and looking down and off the low will speed you up but also drop you off it. Generally you want to be pointed directly along / parallel to the slope. It’s all about building and maintaining speed.
SlackingOff123 1 days ago [-]
The first step to surfing is to go against your instinct and not use the W key to surf forward, but use the strafe keys, A and D, against the ramp. So if you're on the left side of the ramp use the D to push right into the ramp and then move the mouse up and down to position yourself higher or lower on the ramp.
bob1029 1 days ago [-]
There are some games that attempt to educate the player on how to surf.
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.
fidrelity 1 days ago [-]
Oh, I loved climb maps! I think their prefix was kz?
cinntaile 1 days ago [-]
Yes, it stands for Kreedz. The guy who made the first climbing map.
pachouli-please 1 days ago [-]
Never expected to learn what the kz map prefix acronym meant on hn!! So fun.
hmmmk 1 days ago [-]
Not related to CS surfing but just some of the most awesome gaming movement I've ever saw: outro in this https://youtu.be/-T6IAHWMd2I?t=764
sitzkrieg 11 hours ago [-]
q3 cpm is the greatest game movement of all time
pimlottc 1 days ago [-]
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!
One like and I will spin up and host a greatriver/japan_v2/1337xlbeta_turbo/rebel_resistance_v4 server in CSS
pachouli-please 10 hours ago [-]
I hope that when my body dies I can upload my consciousness to play all the cs:s and war3 hits forever
hagendaasalpine 1 days ago [-]
Thank you author, I certainly think you 'went the distance'. I have had half baked thoughts about how fun it is watching surf movement - I wondered if you could design a map and surf movement across that map so it was in time to music
beanricecheese 1 days ago [-]
Agreed. This is a great article. Def a bit over my head but really interesting to read through and then attribute the style of movements to games I've played over the years. Your idea on timing the movement to music would be really fun to see and read about.
kridsdale1 19 hours ago [-]
If you like that general vague concept, go check out the game Thumper.
dayglo 13 hours ago [-]
Amazing in VR too
wes-k 1 days ago [-]
Love this breakdown! I played TFC and we had strafe / bunny hopping and concing!
The medic and scout classes had concussion grenades that would send enemies flying and make them dizzy (spin / hard to aim effect).
This spawned an entire sub culture of conc maps, conc servers, and concing clans. Similar to surfing, they required a ton of skill juggling the grenades and strafing though the stages.
I’ve always wanted an easy way to recreate those maps and the physics of it all.
And concmaps were often the wind-down event at the end of our LAN parties, even if we never made it through many of them.
sitzkrieg 11 hours ago [-]
fortress forever recreated tfc concing 1:1. turns out it felt kinda bad in source movement, so its slightly tweaked. however if you dont mind the source engine, fortress forever mod sources will give you reverse engineered tfc exact concs if you want
if you love conc many modern movement games offer (some bad) versions of it. momentum has it but its kinda shit. team fortress classified has some as well iirc
falkuall 1 days ago [-]
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!
theokrueger 1 days ago [-]
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?
bob1029 1 days ago [-]
It takes an incredible amount of fine tuning to make a character controller feel good. The acceleration constants have to be dialed in just right. Jumping, crouching and ladders are some of the more difficult things to deal with. Bridging console and PC is even more difficult.
You need other humans to validate each iteration after a certain point. This slows things down massively. A good QA team is the most important part of any game studio.
theokrueger 1 days ago [-]
generally true, but the best parts of quake and source movement are presumably unintentional. airstrafing, bunnyhopping, surfing, boosting, crouchjumping, rocketjumping, to name a few.
the base feel is absolutely intentional, but the ramifications have at times been purposefully nerfed in sequels (only to be undone again).
froppy_adr 1 days ago [-]
[dead]
froppy_adr 1 days ago [-]
[dead]
deepsquirrelnet 1 days ago [-]
I used to play scoutzknivez all. the. time. in cs 1.6 and into source days. We had a whole league setup for it and it seemed to attract people who were also into surf.
In low gravity maps, you could bind your mousewheel to crouch and strafe along the ground continuing your momentum in a landing. This made the knife a pretty significant threat in competitive play.
hmontazeri 1 days ago [-]
I have no idea how many hours of my life I gave to surf maps haha was a great time
milotek 1 days ago [-]
Really good post. I really like the animations and visualisations.
I tried to read the q3 source for the character controllers years ago and it really hurt my head. If someone had an writeup like this back then (pre LLMs) lord knows it would have been easier for me to understand.
sph 6 hours ago [-]
You can probably get a better grasp of it installing Godot and writing a 3D FPS character controller. It's basic tutorial stuff to make a character move, but making it feel smooth and fun is a whole art of balancing acceleration, friction, momentum, inertia, and maybe breaking the rules of physics.
Then you reach the magical threshold of good feel, and you're having a great time just running and jumping around an empty level.
jamesfinlayson 21 hours ago [-]
I wish Fabian Sanglard had done engine deep-dives for things beyond Doom...
nakedneuron 23 hours ago [-]
Great write-up and cool visuals!
Brings back nostalgic memories of Q3. I remember practising kind of a primer map on strafe jumping, it took me quite a while to get the decent timing right. It was an art, really. Hard to imagine the surreal wizardry sported by some only was a by-product of getting the feel of virtual movement right.
rokkamokka 1 days ago [-]
Best article I've read in months, thanks!
bdickason 22 hours ago [-]
This was one of the coolest blog posts i've seen in a while. Thank you!! Plugged too many hours into Quake and Quake 3 back in the day but never discovered surfing.
bombela 3 hours ago [-]
What a good post. The topic itself is very well presented. It all renders 3D fluidly, everything scrolls smoothly, it loads quickly too.
It's a breath of fresh air compared to all the slop.
TinkersW 1 days ago [-]
Hu looks like a really slow version of Tribes(1) extreme ski maps.
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.
morningsam 1 days ago [-]
>The text is probably not AI generated
No need for "probably". You get to the middle of it and notice you don't have a headache, don't remember a single time you had to mentally wince or sigh, and understood everything that was said without having to back-track. Ergo, the text is not AI generated.
the__alchemist 1 days ago [-]
Aww; memories of failure. I could never figure this out, nor bunny hopping!
dmoy 1 days ago [-]
I never did learn how to do this either
Lot of good memories in the "real" surfing fps though - the Tribes games
hsellentin 1 days ago [-]
great write-up and excellent visuals. no fans spinning here!
rawgabbit 22 hours ago [-]
I like the animated charts on this webpage. Any clues on how they were made?
estetlinus 2 days ago [-]
Great article. Brings back memories of sweaty LANs in 2005…
bigyabai 1 days ago [-]
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.
foltik 1 days ago [-]
Love the animations, and I really appreciated your note about choosing them deliberately and optimizing the rendering.
Before I even read that, I was already thinking to myself how refreshing it was that I couldn’t feel the back of my phone heating up yet.
Thank you for caring!
tester756 1 days ago [-]
It's unreal that such little thing gave so much fun for so many people for decades
chrisczura 1 days ago [-]
Wow, the presentation is absolutely outstanding! Kudos, Andrew!
heimanmatt 17 hours ago [-]
My daughter (9) is fascinated with surfing and is going to LOVE THIS.
Thank you
lnxsxu 1 days ago [-]
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.
dbworku 1 days ago [-]
So cool. This brings back memories.
farnabaz 1 days ago [-]
I liked how it illustrated the moves
thediagramme 23 hours ago [-]
this is really interesting, I could never do this in cs surf. respect
forrestthewoods 1 days ago [-]
Awesome post. Thanks for sharing.
1 days ago [-]
AtreusS 16 hours ago [-]
[dead]
italiansolider 1 days ago [-]
[dead]
dead_hn_redux 1 days ago [-]
[dead]
adamthecoder 1 days ago [-]
I'm on a work break right now, and because of his post I'm having Claude code, make me a CS Surfing game that I can do in VR on my quest 3, pcvr with my five eighty rtx , it's gonna be sweet
Rendered at 03:01:36 GMT+0000 (Coordinated Universal Time) with Vercel.
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.
and then there were zfps/ tribes where the spinfusor inherited players velocity, resulting in an equally impressive but different way of aiming projectiles no other series has done
1. https://youtu.be/OxIcLwa1I1k?t=55
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!
Really glad you enjoyed it :)
[0] https://surfd.net/
https://store.steampowered.com/app/4392600/Surf_Academy/
0: https://quakeslide.rileylabrecque.com/
1: https://youtu.be/BE73kGp6Uok
The medic and scout classes had concussion grenades that would send enemies flying and make them dizzy (spin / hard to aim effect).
This spawned an entire sub culture of conc maps, conc servers, and concing clans. Similar to surfing, they required a ton of skill juggling the grenades and strafing though the stages.
I’ve always wanted an easy way to recreate those maps and the physics of it all.
Any other concers out there?
And concmaps were often the wind-down event at the end of our LAN parties, even if we never made it through many of them.
if you love conc many modern movement games offer (some bad) versions of it. momentum has it but its kinda shit. team fortress classified has some as well iirc
You need other humans to validate each iteration after a certain point. This slows things down massively. A good QA team is the most important part of any game studio.
the base feel is absolutely intentional, but the ramifications have at times been purposefully nerfed in sequels (only to be undone again).
In low gravity maps, you could bind your mousewheel to crouch and strafe along the ground continuing your momentum in a landing. This made the knife a pretty significant threat in competitive play.
I tried to read the q3 source for the character controllers years ago and it really hurt my head. If someone had an writeup like this back then (pre LLMs) lord knows it would have been easier for me to understand.
Then you reach the magical threshold of good feel, and you're having a great time just running and jumping around an empty level.
Brings back nostalgic memories of Q3. I remember practising kind of a primer map on strafe jumping, it took me quite a while to get the decent timing right. It was an art, really. Hard to imagine the surreal wizardry sported by some only was a by-product of getting the feel of virtual movement right.
It's a breath of fresh air compared to all the slop.
Tribes 1 ski map:
https://www.youtube.com/watch?v=vR8lCBxs4fw
No need for "probably". You get to the middle of it and notice you don't have a headache, don't remember a single time you had to mentally wince or sigh, and understood everything that was said without having to back-track. Ergo, the text is not AI generated.
Lot of good memories in the "real" surfing fps though - the Tribes games
The playtest should accept you immediately if you just want to start grinding surf_kitsune times on a Sunday afternoon.
Before I even read that, I was already thinking to myself how refreshing it was that I couldn’t feel the back of my phone heating up yet.
Thank you for caring!