// =====================
// AIRBORNE CRASH EXPLOSION
// =====================

[ExplosionClass]
startupright = 1
classLabel = "explosion"

particleTypes = 6
particleClass6 = "xairmdcrsh_srv.shock"
particleCount6 = 1
particleVeloc6 = "0.0 0.0 0.0"
particleClass5 = "xairmdcrsh_srv.light"
particleCount5 = 1
particleVeloc5 = "0.0 0.0 0.0"
particleClass3 = "xairmdcrsh_srv.plume"
particleCount3 = 20
particleVeloc3 = "10 10 10"
particleClass1 = "xairmdcrsh_srv.groundchar"
particleCount1 = 1
particleVeloc1 = "0 0 0"
particleClass4 = "xairmdcrsh_srv.fire"
particleCount4 = 2
particleVeloc4 = "75 0 75"
particleClass2 = "xairmdcrsh_srv.smokee"
particleCount2 = 1
particleVeloc2 = "0 0 0"

explSound = "xemt2.wav"

damageRadius = 50.0

damageValue(N) = 50
damageValue(L) = 25
damageValue(H) = 10

damageValue(S) = 25
damageValue(D) = 25
damageValue(A) = 25

kickRadius = 35.0
kickOmega = 1.6
kickVeloc = 0.5

[Shock]
simulateBase = "sim_null"
lifeTime = 0.2
renderBase = "draw_sphere"
textureName = "vsmoke.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 64"
finishColor = "255 255 255 0"
startRadius = 1.0
finishRadius = 100.0
animateTime = 0.2
latitudeBands = 8
longitudeSegments = 16

[Light]
simulateBase = "sim_null"
lifeTime = 1
renderBase = "draw_light"
startColor = "255 128 0 2550"
finishColor = "255 0 0 0"
startRadius = 600.0
finishRadius = 60.0
animateTime = 1
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Plume]
simulateBase = "sim_smoke"
lifeTime = 10.0
renderBase = "draw_sprite"
textureName = "wispsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "0 0 0 255"
finishColor = "128 128 128 0"
startRadius = 25.0
finishRadius = 50.0
animateTime = 10.0
rotationrate = 1
maxdist = 1000

[Fire]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 64 0 255"
finishColor = "64 0 0 0"
startRadius = 20.0
finishRadius = 5.0
animateTime = 2.5
rotationrate = 25
emitDelay = 0.01
emitVelocity = "0.0 0.0 0.0"
emitVariance = "50 50 50"
emitLife = 5
maxdist = 1000

[Groundchar]
simulateBase = "sim_null"
lifeTime = 90
renderBase = "draw_planar"
textureName = "craterscorch.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "0 0 0 255"
finishColor = "0 0 0 0"
startRadius = 25
finishRadius = 25
animateTime = 90

[Smokee]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 30
emitName = "xairmdcrsh_srv.smoke"
emitDelay = 0.5
emitDelayVar = 0.0
emitVelocity = "3 10 0"
emitVariance = "3 3 3"
emitInherit = "0 0 0"

[Smoke]
simulateBase = "sim_smoke"
lifeTime = 5
renderBase = "draw_twirl"
textureName = "wispsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "128 128 128 64"
finishColor = "128 128 128 0"
startRadius = 5.0
finishRadius = 15.0
animateTime = 5
rotationrate = 3
