OpenCS2hock
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
ApiKey
For OpenShock (HTTP) get token here
ApiType
CShocker 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 CS2GSI here
Values for Actions
From CShocker here
ValueFromInput
Use CS2GSI EventArgs value to determine Intensity (within configured Range)
Using
CS2GSI
CShocker
Dependency Updates
Latest
Languages
C#
100%