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.
- Find you install directiory, do to so go to steam, right click on Counter-Strike 2, go to
Manage > Browse Local Files
. - Put
gamestate_integration_cs2shock.cfg
in thegame/csgo/cfg
folder. (NOT THEcsgo/cfg
folder). You can now close this folder. - You can now run
cs2shock.exe
.
Once you save your settings once, a config.json
file will be placed next to cs2shock.exe
.
- Clone the repository
git clone https://github.com/VolcanoCookies/cs2shock.git
- Open the created folder
cd cs2shock
- Build the project
cargo build --release
You can then find the executable in cs2shock/target/release/cs2shock.exe