
You are viewing a potentially older version of this package. View Latest Version

build/BloodLabMod.csproj in Release.build/build_out/net6.0/Bloodworks_RagdollCompatible_Bonelab.dll into BONELAB's Mods/ folder.This version generates its blood decals, droplets, and puddles at runtime, so no prefab setup is required.
This repository contains a MelonLoader-compatible BONELAB mod implementing a realistic blood and bleeding system.
Files are in ModSource/ and are ready to be compiled into a Unity/MelonLoader mod DLL.
Key features implemented in code:
Build & MelonLoader setup:
ModSource/*.cs into an Assembly Definition or compile into a DLL using a C# project targeting the game's runtime.Release.Mods/ folder.Plug-and-play notes:
BloodPrefabs/ resources are required.build/build_out/net6.0/Bloodworks_RagdollCompatible_Bonelab.dll.Compatibility:
Integration notes:
HookManager.OnEntityHit(...) is the central integration point. Call it from BONELAB's damage handlers for bullets, melee, explosions, and environmental damage.BodyPartIdentifier.Identify(root, hitTransform) to guess a body part.PlayerBloodManager.AddWound(playerTransform, localPos, normal, damage, bodyPart).Configuration:
BloodLabModConfig.json is created in the game's data path on first run. Edit it to adjust multipliers and performance limits.License: Use and adapt freely for personal modding. Credit is appreciated.