OpenCS2hock/README.md
glax 41a433bf3f Version 3:
CS2GSI and CShocker libraries
More extensive options for Events
Setup on first start
2024-01-18 00:06:39 +01:00

2.0 KiB

OpenCS2hock

GitHub License GitHub Release

Electrifying your Counter-Strike experience. With OpenShock!

How to use

Download latest Release and execute.

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

{
  "LogLevel": 2,
  "Shockers": [
    {
      "ShockerIds": [
        "ID HERE"
      ],
      "IntensityRange": {
        "Min": 30,
        "Max": 50
      },
      "DurationRange": {
        "Min": 1000,
        "Max": 1000
      },
      "ApiType": 0,
      "Endpoint": "https://api.shocklink.net",
      "ApiKey": "API KEY HERE"
    }
  ],
  "ShockerActions": [
    {
      "TriggerEvent": 2,
      "ShockerIds": [
        "SAME ID HERE"
      ],
      "Action": 2,
      "ValueFromInput": false
    }
  ]
}

ApiKey

For OpenShock get token here

ShockerIds

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
  • Nothing

Using

CS2GSI

GitHub License NuGet Version Github GitHub Release

CShocker

GitHub License Github NuGet Version