this is a thing that i made to test different game mechanics for the upcoming climb gamemode!!!!
the source code is available here: https://bitbucket.org/GameChaos/gokz-momentum-testing/branch/momentum-testing#diff
The commands are:
- sm_menu: Bring up the checkpoint menu.
- sm_rtv etc.
- sm_speed: show the speed panel
- sm_momoptions: Open the following options menu for testing different game mechanics:

What do the options do???
I'm not gonna explain all of them super detailed cos they're explained better elsewhere. I got a bit carried away at the end though :slight_smile:
1. Double duck. - You can do countjumps with them! Explanation here: https://www.youtube.com/watch?v=DHcdNi-kfwQ. This is an extremely versatile technique.
2. Edge friction: When you get close to an edge that's more than 66 units above the ground below it, you get slowed down. This is combined well with countjumps because they can quickly get past edge friction.
3. Stamina type:
CSS & 1.6
- This is the stamina system from CSS and CS 1.6 with slight differences probably.
GameChaos
- When you jump on a block that's 32 units or higher than where you jumped from, then you don't get any stamina. The maximum stamina you can get is when jumping on flat ground or lower (it's capped when you go lower). The thought that was behind this was to nerf bhopping, but still be able to play climb maps where you jump on blocks that are higher than 32 very often. Also the stamina is completely predictable and it doesn't stack.
None
- No stamina.
4. Jump height stamina: Whether to apply stamina to the jump height (it makes the jump height lower).
5. Ground speed stamina: Whether to apply stamina when you're on the ground (slows you down on the ground!!!).
6. Bhop cap:
SKZ
- SimpleKZ bhop cap: newspeed = 0.2 * landing speed + 200 only when landing speed >= 250
. I modified the time frame to hit a perfect bhop with SKZ from 2 ticks to 3 ticks.
KZT
- Your speed is capped to 380 speed when you jump.
1.6 KZ
- Your speed is reset to 250 speed if you go above 300 speed, if you don't then you keep your speed. I the low cap was actually 240 not 250 in 1.6, but that was too slow so I changed it!
GameChaos
- This is my epic experimental bhop cap. I designed this so that straight bhop sections could be done without strafing like a demon and thus tiring your hands out. The speed cap is calculated like this: newspeed = 355 - (landingspeed - 275) only when landing speed >= 275
This means that when you bhop with 355 speed your speed gets set to 275. The prespeed you can get with this is 315. The values can obviously be tweaked lots, but I think this is an OK start.
7. Prestrafe mode:
SKZ
- SimpleKZ prestrafe. You have to move your mouse faster than a set speed to gain prestrafe. You can also prestrafe with low speeds. The max is 276 and it stays constant once you've prestrafe long enough. You can also gain speed with any movement button combination.
KZT
- KZTimer prestrafe. You have to move your mouse any amount to gain speed and the speed gain is constant. The speed has a cycle going from 250 to 275 back to 250 etc. You can't prestrafe with low speeds, unlike SKZ (which can obviously be modified). You have to hold the strafe keys to be able to prestrafe with this. Holding both strafe keys and forward/back is a technique called our father, where you can just shake your mouse to gain prestrafe in a straight line (example here: https://www.youtube.com/watch?v=cbWE9Gmnzvs btw you can't jump in this map). There's even more tech to this than that, but I'm not gonna go into that cos this is getting long!
CSS & 1.6
: This is the classic prestrafe from CSS and CS 1.6. I made the accel and friction values different, though, but the max speed is still 278, like in css/cs 1.6, you only have to turn a bit more. You have to turn at a certain speed to gain speed and keep the speed. This one is caused by almost the same code as air acceleration. It's only different in that different acceleration values are used and friction is applied. This has cool speed techs as well. Holding a movement key and tapping a key that moves perpendicular to it, makes you go at about 265 units/s. You can also run against a wall, looking into it and get the maximum speed possible.
8. Ground speed cap:
CSGO
- This is forced on when you don't have CSS & 1.6 prestrafe selected, since the CSGO ground speed cap causes the pre from CSS 1.6 not working.
Soft
- This means that your speed gets set to 250u/s (85u/s when ducking) only once a few ticks after you land.
None
- There is no speed cap!