Docs

Guides

Hit presets and decal materials

The eight shipped hit presets, the 21 decal materials, how marks build up into soaks, and how to make your own decal or preset.

A hit preset is a data asset that turns one hit into a matched set of marks. You pass it to Apply Hit.

Hit presets in the box#

DA_Hit_Bullet, DA_Hit_Shotgun, DA_Hit_Slash, DA_Hit_Stab, DA_Hit_Blunt, DA_Hit_Explosion, DA_Hit_Mud, DA_Hit_Sand in /SkinMark/Presets. A preset is a list of layers (material, size range, count, probability, spread, gravity offset, orientation, rotation jitter, damage size scale) plus a soak material, site radius, soak levels and soak size range. Copy one to make your own.

Eight tiles of the same character, each showing the marks of one shipped hit preset
The eight hit presets on the same character, one tile per preset. Real Unreal captures.

How marks build up over hits#

Build-up is automatic, per preset. Hits within a preset's SiteRadius share a wound site; crossing the next SoakLevels entry grows a bigger soak. A soak is the larger stain that grows at a spot as hits pile up. GetBloodiness() returns 0..1: summed soak levels over MaxBloodiness (12). Clearing marks also resets wound sites and bloodiness.

Decal materials in the box#

21 material instances in /SkinMark/Materials: BloodSplat, BloodSpatter, BloodDrip, BloodMist, BloodSmear, SmearLarge, SmearWipe, Stream, Soak, Coat, BulletEntry, BulletExit, Graze, Slash, Stab, Claw, Bruise, Burn, Mud, Sand, Wet (each MI_SkinMark_<name>), on three masters (M_SkinMark_Decal, M_SkinMark_Tint, M_SkinMark_Wet) and four 4096 x 4096 atlases (T_SkinMark_Shape, T_SkinMark_Drip, T_SkinMark_Large, T_SkinMark_LargeDrip). All textures were made by our own procedural script. MI_SkinMark_Debug is a test material.

Your own decal#

Make a material instance of M_SkinMark_Decal, or any material with the Deferred Decal domain, and pass it to SpawnDecalFromHit or put it in a preset layer. Non-decal materials are refused with a log line.

Every preset and layer property, with its default: Settings.