Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCEDATA ASSETS

UCFEngineSoundProfile

MODULECrushformEngineINCLUDECFEngineSoundProfile.hPARENTUDataAsset

One engine's sound for UCFEngineAudioComponent: loops recorded at steady speeds, crossfaded and pitched by the engine speed, louder under load than coasting, with a starter, a rise on start, a fade on stop and a shutdown sound.

Properties

TArray<FCFEngineSoundLayer> Layers

The loops of one engine, in any order: the component sorts them by RPM. A layer without a sound is left out.

Category
Engine Sound
TObjectPtr<USoundAttenuation> Attenuation

Distance falloff and spatialization of every sound of the engine. Required: without it the engine sound stays off.

Category
Engine Sound
float CoastVolume = 0.6f

The share of full volume heard with no load: an engine coasting is quieter than one under throttle.

Default
0.6f
Category
Engine Sound
float RPMInterpSpeed = 8.f

How fast the heard engine speed follows the host's, 1/s; 0 follows at once.

Default
8.f
Category
Engine Sound
float LoadInterpSpeed = 5.f

How fast the volume follows the load between Coast Volume and full, 1/s; 0 follows at once.

Default
5.f
Category
Engine Sound
float MinPitch = 0.5f

The lowest pitch a loop is slowed to below its recorded speed. The audio device plays no pitch below 0.4 by default (Project Settings > Audio > Global Min Pitch Scale).

Default
0.5f
Category
Engine Sound
float MaxPitch = 2.f

The highest pitch a loop is sped up to above its recorded speed. The audio device plays no pitch above 2.0 by default (Project Settings > Audio > Global Max Pitch Scale).

Default
2.f
Category
Engine Sound
float StartFadeSeconds = 0.4f

How long the loops take to rise from silence once the engine runs; 0: at once.

Default
0.4f
Category
Engine Sound|Transitions
float StopFadeSeconds = 1.f

How long the loops take to fade out once the engine stops; 0: at once.

Default
1.f
Category
Engine Sound|Transitions
TObjectPtr<USoundBase> StarterSound

Plays, looping, while the engine cranks; empty: a silent start.

Category
Engine Sound|Transitions
TObjectPtr<USoundBase> ShutdownSound

Plays once when a running engine turns off; empty: none.

Category
Engine Sound|Transitions