Skip to content
View zer0k-z's full-sized avatar

Organizations

@prestrafe
Block or Report

Block or report zer0k-z

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. KZGlobalTeam/cs2kz-metamod KZGlobalTeam/cs2kz-metamod Public

    Metamod Plugin for CS2 KZ

    C++ 108 34

  2. cs2-leaderboard-api-description cs2-leaderboard-api-description Public archive

    Description of how CS2 client fetches its leaderboard data

    Python 4

  3. sql_mm sql_mm Public

    Forked from Poggicek/mysql_mm

    SQL Connectors for MetaMod

    C++ 8 1

  4. CSGO (and CS2) deadstrafe explained CSGO (and CS2) deadstrafe explained
    1
    In 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.
    2
    
                  
    3
    The 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).
    4
    
                  
    5
    To 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.
  5. Weird subtick jump inputs behavior Weird subtick jump inputs behavior
    1
    As of September 18, jump inputs using scroll are treated very weirdly compared to using a normal key.
    2
    By 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. 
    3
    
                  
    4
    Basically, 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
    
                  
  6. CS2KZ's rampbug fix CS2KZ's rampbug fix
    1
    # Introduction
    2
    In 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.
    3
    
                  
    4
    This 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