OpenCS2hock/OpenCS2hock
2024-01-14 02:52:39 +01:00
..
ConfiguredInteger.cs Changed access-types 2024-01-14 02:12:45 +01:00
CS2MessageHandler.cs Changed access-types 2024-01-14 02:12:45 +01:00
gamestate_integration_opencs2hock.cfg gsi.cfg timeout, buffer, throttle changes 2024-01-14 02:09:40 +01:00
GSIServer.cs Changed access-types 2024-01-14 02:12:45 +01:00
Installer.cs Changed access-types 2024-01-14 02:12:45 +01:00
LICENSE License and Readme 2024-01-14 02:41:33 +01:00
OpenCS2hock.cs Only handle events of own steamid 2024-01-14 02:10:24 +01:00
OpenCS2hock.csproj OpenShock, Range for Duration and Intensity (ConfiuguredInteger), CS2 Message Handler 2024-01-14 00:30:25 +01:00
OpenShock.cs Changed access-types 2024-01-14 02:12:45 +01:00
Program.cs Happy IntelliJ 2024-01-13 23:24:51 +01:00
README.md More Readme 2024-01-14 02:52:39 +01:00
Resources.Designer.cs gamestate.cfg file and ressource 2024-01-13 21:43:21 +01:00
Resources.resx gamestate.cfg file and ressource 2024-01-13 21:43:21 +01:00
Settings.cs Changed access-types 2024-01-14 02:12:45 +01:00
Shocker.cs Changed access-types 2024-01-14 02:12:45 +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