|
||
---|---|---|
.idea/.idea.OpenCS2hock/.idea | ||
OpenCS2hock | ||
.gitignore | ||
LICENSE | ||
OpenCS2hock.sln | ||
OpenCS2hock.sln.DotSettings | ||
OpenCS2hock.sln.DotSettings.user | ||
README.md |
OpenCS2hock
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
Shockers
ApiKey
ApiType
CShocker 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
OpenShock0-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 here
ShockerIds
List of Shocker-Ids, comma seperated. (Same as in configured Shocker)
[ "ID-1", "ID-2" ]
Actions
From CShocker here
ValueFromInput
Use CS2GSI EventArgs value to determine Intensity (within configured IntensityRange)