// =================
// DIGGER EXPLOSION
// =================

[ExplosionClass]
classLabel = "explosion"

particleTypes = 6

particleClass1 = "xdigger.flame1"
particleCount1 = 20
particleVeloc1 = "2.0 16.0 5.0"

particleClass2 = "xdigger.flame2"
particleCount2 = 30
particleVeloc2 = "3.0 16.0 2.0"

particleClass3 = "xdigger.smoke"
particleCount3 = 30
particleVeloc3 = "5.0 18.0 5.0"

particleClass4 = "xdigger.light"
particleCount4 = 1
particleVeloc4 = "0.0 0.0 0.0"

particleClass5 = "xdigger.shrapnel"
particleCount5 = 20
particleVeloc5 = "100.0 50.0 100.0"
particleBias5 = "0.0 10.0 0.0"

particleClass6 = "xdigger.shock"
particleCount6 = 1
particleVeloc6 = "0.0 0.0 0.0"

explSound = "xcar.wav"
damageRadius = 25.0

damageValue(N) = 1200 // none
damageValue(L) = 800 // light
damageValue(H) = 400 // heavy

damageValue(S) = 800 // standard
damageValue(D) = 1200 // deflection
damageValue(A) = 400 // absorbtion
kickRadius = 50.0
kickOmega = 10.0
kickVeloc = 10.0

[Flame1]
simulateBase = "sim_smoke"
lifeTime = 2.0
renderBase = "draw_twirl"
textureName = "wispsmokeadd.tga"
textureBlend = "one one modulate"
startColor = " 255 0 0 255"
finishColor = "0 0 0 0"
startRadius = 5.0
finishRadius = 3.0
animateTime = 2.0
rotationRate = 15.0

[Flame2]
simulateBase = "sim_smoke"
lifeTime = 1.0
renderBase = "draw_twirl"
textureName = "wispsmokeadd.tga"
textureBlend = "one one modulate"
startColor = " 255 128 128 255"
finishColor = "0 0 0 0"
startRadius = 5.0
finishRadius = 3.0
animateTime = 1.0
rotationRate = 15.0

[Smoke]
simulateBase = "sim_smoke"
lifeTime = 15.0
renderBase = "draw_twirl"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "106 100 90 255"
finishColor = "212 196 181 0"
startRadius = 3.0
finishRadius = 15.0
animateTime = 15.0
rotationRate = 1.0

[Light]
simulateBase = "sim_null"
lifeTime = 3.0
renderBase = "draw_light"
startColor = "255 255 0 510"
finishColor = "255 0 0 0"
startRadius = 100.0
finishRadius = 50.0
animateTime = 3.0
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Shrapnel]
simulateBase = "sim_ember"
lifeTime = 1.0
renderBase = "draw_twirl_trail"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "106 100 90 200"
finishColor = "212 196 181 0"
startRadius = 0.1
finishRadius = 1.0
animateTime = 3.0
emitDelay = 0.02
emitVelocity = "0.0 0.0 0.0"
emitVariance = "1 1 1"
emitLife = 3.0

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