ExplosionConfiguration

Constructors

Constructor

Description

ExplosionConfiguration()

Methods

Method

Description

CreateLinearFalloff(damage, damageRange, balanceDamage, balanceDamageRange, force)

Creates an explosion configuration with a linear falloff.

CreateSharpFalloff(damage, damageRange, balanceDamage, balanceDamageRange, force)

Creates an explosion configuration with sharp falloff.

CreateSmoothStepFalloff(damage, damageRange, balanceDamage, balanceDamageRange, force)

Creates an explosion configuration with smooth step falloff.

ToString()

Details

class ExplosionConfiguration
ExplosionConfiguration ExplosionConfiguration()
float balanceDamage
AnimationCurve balanceFalloff
float balanceRange
float damage
AnimationCurve damageFalloff
float damageRange
float force
float infantryDamageMultiplier
ExplosionConfiguration CreateLinearFalloff(float damage, float damageRange, float balanceDamage, float balanceDamageRange, float force)

Creates an explosion configuration with a linear falloff. Typically useful for small size explosions.

ExplosionConfiguration CreateSharpFalloff(float damage, float damageRange, float balanceDamage, float balanceDamageRange, float force)

Creates an explosion configuration with sharp falloff. Typically useful for large explosions, where the explosion should deal damage to but not neccessarily kill everyone in its range.

ExplosionConfiguration CreateSmoothStepFalloff(float damage, float damageRange, float balanceDamage, float balanceDamageRange, float force)

Creates an explosion configuration with smooth step falloff. Typically useful for small size explosions with a sharp change from high to low damage at half range.

string ToString()