DamageSync
A host only mod that syncs enemy HP with clients.
About this mod Author’s original text
A host only mod that syncs enemy HP with clients.
Requires Bepinex, but is not dependent on GTFO-API plugin, so you can remove GTFO-API.dll from plugins folder to keep vanilla rundown and progression.
Big thanks to mankool for figuring out the bulk of this!
============ API ============
namespace DamSync;
DamageSync.Sync(EnemyAgent agent, int limbID = -1);
DamageSync.Sync(Dam_EnemyDamageBase agent, int limbID = -1);
Calling Sync from host with limbID = 0 will sync the given enemy's limb hp with clients (but not its actual enemy HP).
============ Change Log ============
v0.0.7
- Added API for plugin devs to sync custom damage.
v0.0.6
- Fixed limbID of 0 being ignored.
v0.0.5
- If host has the mod, syncs limb health values with clients that also have the mod.
v0.0.4
- Changed the channel type so health updates are SNet_ChannelType.GameReceiveCritical (Thanks to Dex for suggesting this!)
v0.0.3
- Added config to enable debug info
v0.0.2
- Removed Debug clutter
v0.0.1
- Initial Release
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: