Code Monkey home page Code Monkey logo

opencs2hock's Introduction

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

opencs2hock's People

Contributors

c9glax avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.