Reference
Settings
Every SkinMark setting with its default: the component, weather, hit presets and their layers, and the Demo Director.
All settings are in the Details panel. Component settings are under the Skin Mark categories, the demo director's under Skin Mark | Demo.
Skin Mark component#
Main settings#
| Property | Default | Meaning |
|---|---|---|
DefaultMaterial |
MI_SkinMark_BloodSplat | Used when a spawn call passes no material. |
MaxDecals |
64 | Oldest decals are removed past this count (soaks last). |
SurfaceOffset |
0.15 | cm the decal is lifted off the skin. |
bAlignToGravity |
true | Plain decals turn so drips run down. |
RandomSeed |
0 | Same seed + same hits = same marks. |
MaxBloodiness |
12 | Summed soak levels at which GetBloodiness reaches 1. |
bPrewarmOnBeginPlay |
true | Build spawn data for every skinned mesh of the owner at Begin Play. |
PreloadedPresets |
empty | Presets whose materials load at Begin Play. |
bReplicateMarks |
false | Replicate marks to clients. |
Mesh changes and modular characters#
| Property | Default | Meaning |
|---|---|---|
bKeepMarksOnMeshChange |
true | When a part's skeletal mesh changes, its marks are rebuilt on the new mesh (same skeleton). |
bContinueAcrossParts |
true | A mark that reaches another skeletal mesh part of the actor continues on it with the same image. |
Weather#
| Property | Default | Meaning |
|---|---|---|
bUseGlobalRain |
true | Use the global rain (SetGlobalRain / console SkinMark.Rain). Off = use RainIntensity. |
RainIntensity |
0 | This character's rain 0..1 when bUseGlobalRain is off. |
RainWashSeconds |
240 | Seconds of full rain that wash a blood or mud mark away. |
bUseWaterSurface |
false | Wash against a water surface at WaterSurfaceZ. SetWaterSurface sets this and the next value. |
WaterSurfaceZ |
0 | World Z of the water surface. |
bDetectWaterVolumes |
true | Also wash inside Physics Volumes marked "Water Volume" (surface = top of the volume). |
WaterWashSeconds |
4 | Seconds under water that wash a mark away. |
WetDrySeconds |
60 | Seconds a wet mark takes to dry after rain or water. |
WashUpdateInterval |
0.25 | Seconds between wash updates. |
Hit preset#
A hit preset (USkinMarkHitPreset, a data asset) is a list of layers plus a soak. Copy one of the DA_Hit_* presets to make your own.
| Property | Default | Meaning |
|---|---|---|
Layers |
The kinds of mark a hit leaves (see the next table). | |
SoakMaterial |
Decal grown at a wound site as hits pile up. None = no soak. | |
SiteRadius |
12 | cm: a hit this close to an earlier one adds to its wound site. |
SoakLevels |
empty | Summed damage at which the soak is spawned bigger, ascending. Empty = no soak. |
SoakSizeRange |
30 to 70 | Soak size in cm, from the first level to the last. |
Layer#
Each layer (FSkinMarkHitLayer) is one kind of mark (wound, spray, stream).
| Property | Default | Meaning |
|---|---|---|
Material |
Deferred Decal material. A missing one is skipped with one log line. | |
SizeRange |
10 to 20 | Size range in cm. |
CountMin, CountMax |
1, 1 | How many of this mark per hit. |
Probability |
1 | 0..1 chance this layer appears at all. |
Spread |
0 | cm of random offset around the hit. |
GravityOffset |
0 | cm the mark starts lower on the body (streams start below the wound). |
Orient |
Random | Random, Gravity (bottom down), AlongDirection (along the swing), AcrossDirection (along the swing, turned 90 degrees). |
RotationJitter |
0 | Degrees of random roll on top. |
DamageSizeScale |
0 | How much Damage scales the size: size *= lerp(1, Damage, DamageSizeScale). |
Demo Director#
| Property | Default | Meaning |
|---|---|---|
| Targets | empty | Actors to hit. Empty = every actor with a skeletal mesh within Search Radius. |
| Search Radius | 400 | cm from the director, used only when Targets is empty. |
| Hit Presets | the 8 shipped presets | Used in turn, loaded by path. A preset that does not load is skipped with one warning. Packaged game: see Demo Director in a packaged game. |
| Hit Bones | spine, pelvis, clavicles, arms, legs, neck, head (UE mannequin names) | Bones the hits aim at; missing ones are skipped. |
| Seconds Between Hits / Clear After Seconds / Hits Per Cycle | 1.5 / 40 / 0 | 0 = never clear / no limit. |
| Damage / Start Delay | 1 / 1 | Damage passed with every hit; seconds before the first hit. |
| Rain / Rain Strength / Rain Cycle Seconds | off / 1 / 30 | SetLocalRain from dry to Rain Strength and back. |
| Water Surface / Water Height | off / 0 | SetWaterSurface(true, Water Height) on every target. |
| Random Seed | 1 | Same seed = same hits. |
| Show Preset Name / Label Height | on / 210 | Debug text above the target (not drawn in Shipping builds). |
Console variables have their own page: Console variables.