Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
InfectionBar
Displays Cadaver Growth infection progress as a compatibility-aware HUD element when the host and connected clients run Infection Bar.
| Last updated | 2 weeks ago |
| Total downloads | 1729 |
| Total rating | 0 |
| Categories | Mods BepInEx Client-side Server-side Tweaks & Quality Of Life AI Generated |
| Dependency string | Aueser-InfectionBar-1.1.2 |
| Dependants | 2 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
Infection Bar
Infection Bar adds a dedicated HUD display for Cadaver Growth infection progress in Lethal Company.
The mod shows infection progress when the lobby is compatible and keeps the original connection flow intact. It does not block players from joining, does not kick players, and does not change gameplay.
Multiplayer Requirements
Infection Bar uses host-required compatibility mode.
- Install Infection Bar on the host.
- Install Infection Bar on every connected client when the lobby should have the HUD active.
- In lobbies hosted without Infection Bar, installed clients remain connected and the HUD stays hidden automatically.
- If any connected player is missing Infection Bar, the host and installed clients hide the HUD until the lobby is compatible again.
- Players without the mod can still join the lobby.
- Mid-session joins are allowed. The mod waits briefly before deciding whether a newly joined client has Infection Bar installed.
This behavior keeps lobby connectivity stable while avoiding a HUD advantage when the full lobby is not running the mod.
Features
- Displays Cadaver Growth infection progress as a percentage.
- Supports an always-visible mode for checking the HUD at 0%.
- Automatically chooses a compatible HUD presentation.
- Uses a compact current-style bar in compatible HUD environments.
- Uses a vanilla stamina-ring style with the base game HUD.
- Preserves terminal fade behavior and follows global HUD visibility where appropriate.
- Reuses the base HUD intro visibility behavior so the infection display blends into lobby startup.
- Reduces scene-scan overhead when Cadaver Growth infection data is not available.
- Supports automatic Chinese/English label selection, with manual override available.
- Includes diagnostic logging options for troubleshooting.
HUD Style Modes
HudStyleMode controls presentation:
Auto: recommended. Uses compact current-style presentation with compatible HUD environments and vanilla stamina-ring presentation otherwise.CurrentStyle: forces the compact bar presentation.VanillaStaminaRingStyle: forces the vanilla stamina-ring presentation.
Installation
Install through a Thunderstore-compatible mod manager, or manually place the DLL at:
BepInEx/plugins/InfectionBar/InfectionBar.dll
For multiplayer use, install the mod on the host and on every connected client when the lobby should have the HUD active.
Configuration
The configuration file is generated after first launch:
BepInEx/config/InfectionBar.cfg
Common options:
InfectionBarEnabled: enables or disables the infection display.InfectionBarAlwaysVisible: keeps the display visible even at 0%.HudStyleMode: selects automatic, compact, or vanilla HUD style.LabelLanguageMode: selects automatic, English, or Chinese labels.TerminalFadeAlpha: controls terminal fade alpha.VanillaRingScale,VanillaRingOffsetX,VanillaRingOffsetY: tune vanilla HUD mode placement.VanillaWarningTextOffsetEnabled,VanillaWarningTextOffsetX,VanillaWarningTextOffsetY: move original warning text in vanilla HUD mode to reduce overlap.DebugLogging: enables diagnostic logging.
EladsHUD Interoperability
EladsHUD support is optional.
- Infection Bar does not require EladsHUD.
- Infection Bar is not packaged with EladsHUD.
- Infection Bar does not include EladsHUD source code, prefabs, images, shaders, materials, fonts, or asset bundles.
- Compatibility is handled by detecting the runtime HUD environment and rendering Infection Bar through this mod's own UI code.
EladsHUD is mentioned only to describe interoperability behavior. This mod is not affiliated with, endorsed by, maintained by, or packaged with EladsHUD or its forks.
Notes
- This is an unofficial community mod.
- Lethal Company and its assets belong to their respective owners.
- This package does not redistribute game assets or third-party HUD mod assets.