OpenCS2hock/README.md
2024-01-18 18:15:11 +01:00

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

LogLevel

Levels

ApiKey

For OpenShock (HTTP) get token here

ApiType

CShockerGithub here

ShockerIds

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

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

Intensity Range

0-100%

Duration Range

in ms

TriggerEvent IDs

From CS2GSIGithub here

Values for Actions

From CShockerGithub here

ValueFromInput

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

Using

CS2GSI

GitHub License NuGet Version Github GitHub Release

CShocker

GitHub License Github NuGet Version