InfectionHUD
A mod for displaying the infection percentage of the player caused by the Cadaver
About this mod Author’s original text
InfectionHUD
A mod for displaying the infection percentage of the player caused by the Cadaver.
It is a client side mod.
Development Tips
- Use ScriptEngine for hot-reload support, providing great development experience. NO MORE restarting and finding a Cadaver Growth for 10 minutes every code change!
- Use the Rider publish configuration to build and copy the mod to the BepInEx plugins folder automatically.
IMPORTANT NOTE:
This is not documented anywhere, I had to waste a Saturday for this, but set HideManagerGameObject = true in BepInEx/config/BepInEx.cfg
The default value false is incompatible with ScriptEngine and causes BepInEx plugin manager object to be destroyed early.
Thank Lethal Company for this behavior!
For production, be sure to test it works with it false!!
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: