TruckSlowHeal
The truck automatically and slowly regenerates blood, recovering 5% of the maximum health per second. Independent judgment does not affect teammates.
About this mod Machine translation
Truck Slow Heal
Automatically and slowly regenerates health in the truck - at a fixed rate of 5% of your maximum health, allowing you to slowly recover in the safety of the truck.
Version: 0.1.0
⚠️ IMPORTANT NOTE
- Beta version: This module is still in the testing stage, and its functions may be adjusted at any time.
- Single-player environment testing only: Currently, it has only been fully tested in single-player mode, and the multi-player online environment has not been verified. If you encounter abnormal blood regeneration, synchronization problems, or lags when online, please provide feedback in time.
- Independent judgment: Even if each player calculates independently in theory, whether there will be synchronization or performance differences in a multiplayer environment still needs to be confirmed by actual testing.
✨ Features
- Automatic blood recovery in the truck: As long as the player is within the range of the truck and the current blood volume is not full, it will automatically and slowly recover.
- Dynamic rate: blood recovery per second = maximum health × 5% (for example: 100 upper limit returns 5 HP/second, 200 upper limit returns 10 HP/second), no complicated configuration is required, and it is naturally suitable for high-health characters.
- Independent judgment: Each player independently calculates whether he is in the truck, and the design will not affect the blood recovery rhythm of other teammates.
- Log switch: Detailed logs are turned off by default and can be turned on at any time for debugging.
⚙️Mechanism description
| Project | Description |
|---|---|
| Health recovery rate | Maximum health × 5% / second (fixed, not configurable) |
| Effective scope | Only inside the truck (based on the game’s native RoomVolumeCheck.inTruck) |
| Trigger condition | In the truck and current health < maximum health |
| Synchronized with the game | Follow the game's native host authority mechanism, and blood volume changes are automatically synchronized to all teammates |
📦 Installation
- Make sure BepInExPack is installed.
- Place TruckSlowHeal.dll into the BepInEx/plugins folder.
- Start the game and the module will automatically generate a configuration file.
🔧 Configuration
Configuration file location: BepInEx/config/cn_xc.TruckSlowHeal.cfg
| Configuration items | Default value | Description |
|---|---|---|
| EnableLog | false | Whether to output detailed logs (status and health recovery records) |
❓ FAQ
Q: Why doesn’t my health return when I’m full?
A: When the blood volume is full, the blood will not be returned. This is the design logic to avoid overflow.
Q: When I am online with my teammates, will my blood regeneration affect them?
A: Not by design. The module independently determines the status of each player and only restores its own blood volume. However, the multiplayer environment has not been fully tested yet. Please report back if there are any abnormalities.
Q: Is the 5% return rate per second hard-coded?
A: Yes, this is a fixed value based on balance considerations to prevent excessive recovery capabilities from ruining the game experience.
🙏 Thanks
- Kyle - Originally provided the idea of "automatic health regeneration in the truck".
- Lucca/Arno - Provided key suggestions on health balance, leading to the dynamic health regeneration mechanism based on the percentage of health cap.
QQ group: 573485890
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: