Skip to content

VolcanoCookies/cs2shock

Repository files navigation

CS2shock

How it works

Simple, you get shocked when you die during a live match (so not warmup).

Matches do not need to be premier or comp, can be any match.

There are two modes of zapping, either random that picks a value between your configured min and max, everytime you die. Or LastHitPercentage which takes a value depending on the percentage of health you had before you died, so if you had 25hp and died you will be zapped for 25% of your configured max.

There are also two options to beep whenever a match starts, and whenever a round starts. For you forgetful folks.

Usage

  1. Find you install directiory, do to so go to steam, right click on Counter-Strike 2, go to Manage > Browse Local Files.
  2. Put gamestate_integration_cs2shock.cfg in the game/csgo/cfg folder. (NOT THE csgo/cfg folder). You can now close this folder.
  3. You can now run cs2shock.exe.

Once you save your settings once, a config.json file will be placed next to cs2shock.exe.

Building from source

Prerequisites

  1. Clone the repository
    • git clone https://github.com/VolcanoCookies/cs2shock.git
  2. Open the created folder
    • cd cs2shock
  3. Build the project
    • cargo build --release

You can then find the executable in cs2shock/target/release/cs2shock.exe