ExplosionClass

Classlabel: "explosion"

Class Tree: Entity->Explosion

Description:
Explosion Class is an instant Damage and Kick effect, with distance falloff.

ODF Properties:
  • [ExplosionClass]

    particleCount = 0
    Number of Particle Fx. Max is 16.

    For each Particle Count:
    particleClass1 ... particleClass16 = ""
    The Render Name for this Particle emitter.

    particlePosVar1 ... particlePosVar16 = "0.0 0.0 0.0"
    Particle starting Position variance.

    particleBias1 ... particleBias16 = "0.0 0.0 0.0"
    Particle base Velocity.

    particleVeloc1 ... particleVeloc16 = "0.0 0.0 0.0"
    Particle Velocity variance applied in addition to particleBias.

    particleInherit1 ... particleInherit16 = "0.0 0.0 0.0"
    Percent of Inherited velocity applied. 0.0 - 1.0 for each Axis.

    explSound = ""
    Sound file played with this Explosion.

    damageRadius = 0.0f
    Radius that Damage is applied near this object.

    damageValue(N) = 0
    Damage value done to objects with no Shield and Armor class N.

    damageValue(L) = 0
    Damage value done to objects with no Shield and Armor class L.

    damageValue(H) = 0
    Damage value done to objects with no Shield and Armor class H.

    damageValue(S) = 0
    Damage value done to objects with Shield class S.

    damageValue(D) = 0
    Damage value done to objects with Shield class D.

    damageValue(A) = 0
    Damage value done to objects with Shield class A.

    kickRadius = 0.0f
    Radius that Kick effect is applied.

    kickVeloc = 0.0f
    Kick Velocity applied to objects nearby.

    kickOmega = 0.0f
    Kick Omega applied to objects nearby.

    StartUpright = false
    If this is true, creates the Explosion oriented up. If false it generates it perpendicular to Terrain normal.

    FriendlyFireDamage = false
    If true, Friendly units can receive Damage from this Explosion.

    ChunkExplodeHeight = 0.0f
    Height above the ground the Chunks must get before they Explode.
    Note : Only used by Chunk Explosions.

    ChunkScrapValue = 0
    The amount of Scrap dropped by ChunkScrapClass1...3.
    Note : Only used by Chunk Explosions.

    ChunkScrapClass1 ... ChunkScrapClass3 = ""
    If ChunkScrapValue is > 0, it chooses between these 3 classes of Scrap to drop.
    Note : Only used by Chunk Explosions.
On this page