REFERENCEDATA ASSETS
UCFBreakableDefinition
One kind of breakable unit: its intact mesh, baked debris pieces and break tuning.
Functions
The level an outside hit of HitKind reaches (0 = none) and its row in HitResponses (CFBreakable::NoResponse when 0). MaxLevel is the highest level the unit can still be taken to.
Whether IsDataValid asks for IntactMesh. A definition whose pieces are not cut from a mesh returns false.
The tag of the sound and effect the game plays for a feedback of Kind; empty = the host plays the plugin's tag for the event (CFImpactTags).
The row of HitResponses at ResponseIndex; nullptr for NoResponse or out of range.
Break feedback intensity in 0..1: the speed of ImpactVelocity (cm/s) over SpeedForFullBreakIntensityCmS, clamped.
Properties
The mesh a unit shows while intact; the bake cuts the debris pieces from it.
- Category
- Mesh
- Default
- false
- Category
- Bake
- Default
- 0.0005f
- Category
- Bake
- Default
- 60.f
- Category
- Bake
- Default
- 50.f
- Category
- Bake
Each saw cut is tilted by a random angle of up to this many degrees either way.
- Default
- 15.f
- Category
- Bake
Seed of the bake's random choices (cut tilt, glass shard layout). Change it to get a different set of pieces.
- Default
- 1
- Category
- Bake
Written by the bake: advances by one with every successful bake.
- Default
- 0
- Category
- Bake
The baked debris pieces; written by the bake, not edited by hand.
- Category
- Bake
- Default
- 0.6f
- Category
- Scatter
- Default
- 300.f
- Category
- Scatter
- Default
- 150.f
- Category
- Scatter
Fastest spin a thrown piece starts with, in degrees per second. Each piece gets a random share of it, smaller far from the impact point.
- Default
- 540.f
- Category
- Scatter
- Default
- 1500.f
- Category
- Feedback
- Default
- false
- Category
- Debris
- Default
- false
- Category
- Debris
- Default
- 3.5f
- Category
- Debris
- Default
- true
- Category
- Debris
- Default
- 8.f
- Category
- Debris
- Default
- 3.f
- Category
- Debris
Seconds a resting piece takes to sink away once its rest time is over.
- Default
- 1.f
- Category
- Debris
- Category
- Hits
- Category
- Hits