ExplosionConfiguration¶
Constructors¶
Constructor |
Description |
---|---|
Members¶
Member |
Description |
---|---|
Methods¶
Method |
Description |
---|---|
|
Creates an explosion configuration with a linear falloff. |
|
Creates an explosion configuration with sharp falloff. |
|
Creates an explosion configuration with smooth step falloff. |
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
()¶
-
ExplosionConfiguration