Go to file
2024-01-16 01:20:41 +01:00
.idea/.idea.OpenCS2hock/.idea Initial Commit 2024-01-13 20:17:33 +01:00
OpenCS2hock Add OnDamageTaken 2024-01-16 01:20:41 +01:00
.gitignore Initial Commit 2024-01-13 20:17:33 +01:00
LICENSE Move Readme and License 2024-01-14 02:56:54 +01:00
OpenCS2hock.sln Initial Commit Program 2024-01-13 20:21:01 +01:00
OpenCS2hock.sln.DotSettings Dictionary 2024-01-15 02:23:36 +01:00
OpenCS2hock.sln.DotSettings.user Use CS2GSI 2024-01-16 00:53:01 +01:00
README.md Move Readme and License 2024-01-14 02:56:54 +01:00

Example config.json. Place next to executable. Will also be generated on first start.

{
  "SteamId": "<Your SteamId>",
  "OpenShockSettings": {
    "Endpoint": "https://api.shocklink.net",
    "ApiKey": "<Your Shocklink API Key>",
    "Shockers": [ "<Shocker Id> comma seperated" ]
  },
  "IntensityRange": {
    "Min": 30,
    "Max": 60
  },
  "DurationRange": {
    "Min": 1000,
    "Max": 1000
  },
  "Actions": {
    "OnKill": "Beep",
    "OnDeath": "Shock",
    "OnRoundStart": "Nothing",
    "OnRoundEnd": "Vibrate",
    "OnRoundWin": "Nothing",
    "OnRoundLoss": "Shock"
  }
}

SteamId

Your SteamId64 here

ApiKey

For OpenShock get token here

Shockers

List of Shocker-Ids, comma seperated. Get Id here. Press the three dots -> Edit

Example [ "ID-1", "ID-2" ]

Intensity Range

0-100

Duration Range

in ms

Values for Actions

  • Beep
  • Shock
  • Vibrate