implementing advanced gore effects
Implementing advanced gore effects involves hooking into the soldier's damage handler to manage cuts, blood sprays, and decals based on hit location and damage type.
- The gore system is based on the GHOUL2 System but built on Renegade's W3D skeleton, with an AI replication for viability.
- A hook in the soldier's damage handler passes information like shooter's damage, hit direction, hit box name, splash falloff, and health before/after.
- Gore effects are driven by hit location and damage, not warhead ID; specific warhead names are used to disable gore (e.g., fire, chem, tiberium, laser, electric).
- Cutting effects involve hiding skin below the cut joint, collapsing vertices, attaching cap meshes and blood fountains, and creating flying copies of cut-off parts.
- All gore effects are cosmetic, not affecting damage, AI, or saves, and are open-source for community use.


