Henry1887
Active Member
- Aug 2, 2020
- 701
- 983
- 287
For anyone interested in making an external tool to sync the in game vibrator/piston to anything i have made a bepinex plugin as a better alternative to the games implementation of just showing pixels on screen for the status. My plugin will create a websocket server at "ws://localhost:11451/ws/" that your external tool can connect to where my plugin will very periodically broadcast the vibrators and pistons current state in json like this: {"vibe":0,"piston":0}.
Vibe: 0=Off, 1=Low, 2=High
Piston: 0=Off, 1=Low, 2=Medium, 3=High
You must be registered to see the links
Heres the source code if anyones worried about virustotal flagging my plugin