Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCESTRUCTS AND ENUMS

FCFImpactFeedbackEntry

MODULECrushformImpactINCLUDECFImpactFeedbackTypes.h

What plays for one impact event tag: sounds, a Niagara effect, volume and pitch ranges, filters and per-surface overrides.

Properties

FGameplayTag EventTag

The impact event tag this entry answers.

Category
Impact
TArray<TObjectPtr<USoundBase>> Sounds
Category
Impact
TObjectPtr<UNiagaraSystem> Effect
Category
Impact
TObjectPtr<USoundAttenuation> Attenuation

Attenuation settings of the spawned sound.

Category
Impact
FVector2D VolumeByIntensity = FVector2D(0.4, 1.0)
Default
FVector2D(0.4, 1.0)
Category
Impact
FVector2D PitchRange = FVector2D(0.92, 1.08)
Default
FVector2D(0.92, 1.08)
Category
Impact
float MinIntensity = 0.f
Default
0.f
Category
Impact
float CooldownSeconds = 0.1f
Default
0.1f
Category
Impact
int32 MaxConcurrentVoices = 4

Most sounds of this entry that play at once; while all are busy a new impact plays its effect but no sound.

Default
4
Category
Impact
TArray<FCFImpactSurfaceOverride> SurfaceOverrides

Replacement sounds and effect for particular physical surfaces.

Category
Impact