Go to file
2024-01-19 03:14:53 +01:00
.idea/.idea.OpenCS2hock/.idea Initial Commit 2024-01-13 20:17:33 +01:00
OpenCS2hock Improved Setup 2024-01-19 03:08:03 +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-19 01:55:21 +01:00
OpenCS2hock.sln.DotSettings.user Version 3: 2024-01-18 00:06:39 +01:00
README.md Update README.md 2024-01-19 03:14:53 +01:00

OpenCS2hock

GitHub License GitHub Release

Electrifying your Counter-Strike experience. With OpenShock and PiShock! (Not Associated)

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
    }
  ]
}

LogLevel

Levels

Shockers

ApiKey

  • For OpenShock (HTTP) get token here
  • For PiShock (HTTP) get information here

ApiType

CShocker Github here

ShockerIds

List of Shocker-Ids, comma seperated.

[ "ID-1-asdasd", "ID-2-fghfgh" ]

Intensity Range

in percent

0-100

Duration Range

in ms

  • 0-30000 OpenShock
  • 0-15000 PiShock

Username (PiShockHttp only)

For PiShock (HTTP) get information here

Sharecode (PiShockHttp only)

For PiShock (HTTP) get information here

ShockerActions

TriggerEvent IDs

From CS2GSI Github here

ShockerIds

List of Shocker-Ids, comma seperated. (Same as in configured Shocker)

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

Actions

From CShocker Github here

ValueFromInput

Use CS2GSI EventArgs value to determine Intensity (within configured IntensityRange)

Using

CS2GSI

GitHub License NuGet Version Github GitHub Release

CShocker

GitHub License Github NuGet Version