Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCESETTINGS

UCFImpactFeedbackSettings

MODULECrushformImpactINCLUDECFImpactFeedbackSettings.hPARENTUDeveloperSettings

Blueprint: Crushform Impact Feedback

Project settings of the impact feedback: the active impact set, audible and visible distances, voice limits, the per-frame sound cap and the default breakable host.

Functions

AUTHORITY · server, every machineLOCAL · this machinePURE · read only
const UCFImpactFeedbackSettings* Get()
C++ ONLY

The project's settings object.

FSoftObjectPath GetShippedSetPath()
C++ ONLY

The impact set the plugin ships, the C++ default of DefaultSet: a row for each of the plugin's impact tags (CFImpactTags).

bool IsIgnoredHitActor(const AActor& Actor) const
PUREC++ ONLY

Whether a hit by Actor is no impact: its class is, or derives from, one of IgnoredHitActorClasses. Settings exist on every node, a dedicated server included.

void ApplyConsoleVariables(EConsoleVariableFlags SetBy = ECVF_SetByProjectSetting) const
PUREC++ ONLY

Writes MaxSoundsPerFrame and SoundQueueSeconds into their console variables at the given priority. The default is the project-setting priority, which a console command or a device profile overrides.

Properties

TSoftObjectPtr<UCFImpactFeedbackSet> DefaultSet
Category
Impact
float MaxAudibleDistanceCm = 6000.f

Impacts farther than this, in cm, from the listener (the local camera) play no sound.

Default
6000.f
Category
Impact
float MaxEffectDistanceCm = 8000.f

Impacts farther than this, in cm, from the listener (the local camera) spawn no effect.

Default
8000.f
Category
Impact
float MinVoiceSeconds = 0.25f
Default
0.25f
Category
Impact
float MaxVoiceSeconds = 3.f
Default
3.f
Category
Impact
int32 MaxSoundsPerFrame = 2

Sounds started in one frame; the rest wait, strongest first, for later frames. 0: no cap.

Default
2
Category
Impact
float SoundQueueSeconds = 0.15f

How long a sound over the frame's cap may wait; past it, it is dropped.

Default
0.15f
Category
Impact
TArray<TSoftClassPtr<AActor>> IgnoredHitActorClasses
Category
Impact
bool bUseDefaultBreakableHost = true
Default
true
Category
Breakable Host