OpenCS2hock/README.md

50 lines
1.0 KiB
Markdown
Raw Normal View History

2024-01-14 02:41:33 +01:00
Example `config.json`. Place next to executable. Will also be generated on first start.
```
{
"SteamId": "<Your SteamId>",
"OpenShockSettings": {
"Endpoint": "https://api.shocklink.net",
"ApiKey": "<Your Shocklink API Key>",
"Shockers": [ "<Shocker Id> comma seperated" ]
},
"IntensityRange": {
"Min": 30,
"Max": 60
},
"DurationRange": {
"Min": 1000,
"Max": 1000
},
"Actions": {
"OnKill": "Beep",
"OnDeath": "Shock",
"OnRoundStart": "Nothing",
"OnRoundEnd": "Vibrate",
"OnRoundWin": "Nothing",
"OnRoundLoss": "Shock"
}
}
2024-01-14 02:52:39 +01:00
```
### SteamId
Your SteamId64 [here](https://steamid.io/lookup)
### ApiKey
For OpenShock get token [here](https://shocklink.net/#/dashboard/tokens)
### Shockers
List of Shocker-Ids, comma seperated. Get Id [here](https://shocklink.net/#/dashboard/shockers/own). Press the three dots -> Edit
Example `[ "ID-1", "ID-2" ]`
### Intensity Range
`0-100`
### Duration Range
in ms
### Values for `Actions`
- Beep
- Shock
- Vibrate