Graduated telecom student at INSA Lyon. CS2KZ dev.
Block or Report
Block or report zer0k-z
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
-
cs2-leaderboard-api-description
cs2-leaderboard-api-description Public archiveDescription of how CS2 client fetches its leaderboard data
Python 4
-
-
CSGO (and CS2) deadstrafe explained
CSGO (and CS2) deadstrafe explained 1In CSGO/CS2, deadstrafe period is the term created by the KZ community which refers to the period where the player's airstrafe capacity (and therefore turning capacity) is significantly lowered. For the simple explaination, see [this video](https://www.youtube.com/watch?v=j_-neh314b0) by RedMooN.
23The cause of this involves two functions, [CGameMovement::CategorizePosition](https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/shared/gamemovement.cpp#L3856) and [CGameMovement::AirAccelerate](https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/shared/gamemovement.cpp#L1707).
45To be more specific, the main culprit is [this](https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/shared/gamemovement.cpp#L3856C9-L3856C9) line of code in `CategorizePosition`, which reduces the player's surface friction to 0.25 (originally 1) when the player is in the air and has a vertical velocity between 0 and +140.0.
-
Weird subtick jump inputs behavior
Weird subtick jump inputs behavior 1As of September 18, jump inputs using scroll are treated very weirdly compared to using a normal key.
2By enabling `cl_showusercmd 1` (hidden cvar) and with some extra hackery, I managed to figure out a bit about how the jump input cooldown works.
34Basically, the cooldown of 0.015625s (or whatever `sv_jump_spam_penalty_time`'s value is) starts when the player stop pressing the jump button. Whether you can jump again or not depends on when you *release* the next jump input (or until the end of that tick).
5 -
CS2KZ's rampbug fix
CS2KZ's rampbug fix 1# Introduction
2In CS2, when a player is sliding/surfing against some geometry, it's possible that they lose all their momentum/velocity. This is usually called wallbug/rampbug. While the name was inherited from Source 1 games (such as CS:GO, CS:S, TF2,...), rampbugs in CS2 behave much differently from its predecessor. In contrast to source 1 games, it's also possible have the velocity redirected to another direction instead of losing all momentum.
34This bug doesn't seem to be common in all source 2 games (HL:A for instance, does not have this bug), and was orignially not present in the very early versions of CS2 Limited Test. Rampbugs become more and more frequent over time, with the Call to Arms update effectively doubling the frequency of these bugs, which is a significant problem for custom gamemodes heavily depending on geometry collision (eg. surf).
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.