Haptics/Vibrator Mod for Casualties: Unknown
June 14, 2026 · View on GitHub
A haptic feedback (vibration) mod for Casualties: Unknown.
Tested with the Casualties: Unknown 7.0 demo.
Features
This mod uses Buttplug.io. See IoST Index for supported toys/devices.
- Vibrate on...
- Pain
- Heartbeat (stronger with pain)
(No other haptics are currently supported. Only vibration.)
For Players
Installation
(The installation works like any other BepInEx 5 mod. You may read the official guide; but it's not very helpful.)
Additionally, you need Intiface to connect your toy/device to your computer. You can also run Intiface on your phone (e.g. if your PC does not have Bluetooth) but that's out of scope for this guide.
Installation Guide (click to open)
- Download BepInEx 5
- Download and extract
BepInEx_win_x64_5.4.23.5.zip - Put all the files in the game's directory. (you can find that in Steam by right-clicking the game, and then selecting Manage > Browse local files)
- Download and extract
- Download this mod.
- Extract all files into the game's directory too.
- (On Linux only)
- Add
WINEDLLOVERRIDES="winhttp=n,b" %command%to the launch options in Steam - For additional information, see the BepInEx documentation
- Add
- Download and install Intiface
- Intiface always needs to be running while the game runs.
After installation, you game directory should look like this:
Casualties Unknown Demo
├── BepInEx <-- from BepInEx
│ ├── core <-- from BepInEx
│ └── plugins
│ └── CasualtiesHaptics <-- from CasualtiesHaptics
├── CasualtiesUnknown.exe
├── changelog.txt
├── doorstop_config.ini <-- from BepInEx
├── UnityPlayer.dll
├── winhttp.dll <-- from BepInEx
└── ...
Configuration
By default, it vibrates based on your current pain level.
You can change that (and many other settings) in the BepInEx/config/CasualtiesHaptics.cfg file. The file appears after running the game once with this mod installed.
You can change the settings, without having to restart the game. Just edit
(and save) the config file, then run the command hapticsreload in the
game's console. By default, the console can be opened with the ~ key.
Important Note (when using the Heartbeat mode):
The latency of some vibrators is not good enough to feel the heartbeat. In that case, just use another mode.
However... you can also try manually setting the "Message Gap" lower. Some devices handle that well, others don't and the connection will become unstable. But if it works, it greatly improves the latency. To do so:
- in Intiface, find your device
- stop the Intiface server
- set the "Message G"ap to a lower value (e.g. 20 ms)
Then, try if the hearbeat works better. If not, you should revert to the default message gap value.
Troubleshooting
TODO
Bug Reports
Development
Set the game install path by copying CasualtiesHaptics/InstallPath.props.template
to CasualtiesHaptics/InstallPath.props. Then, edit it to set the path. It
should point to Casualties Unknown Demo/CasualtiesUnknown_Data/Managed/.
# Checkout the patched Buttplug submodule.
git submodule --update --init
# Build!
cd CasualtiesHaptics
dotnet build -c Release
# And now put the DLLs from the Release/ directory in the BepInEx/plugins/ directory.