// ===============
// DEVOUR VEHICLE HIT
// ===============

[ExplosionClass]
classLabel = "explosion"

explSound = "xfire1.wav"
damageRadius = 10.0

damageValue(N) = 100 // none
damageValue(L) = 70 // light
damageValue(H) = 50 // heavy

damageValue(S) = 70 // standard
damageValue(D) = 100 // deflection
damageValue(A) = 50 // absorbtion

kickRadius = 5.0
kickOmega = 0.0
kickVeloc = 2.0

particleTypes = 6
particleClass1 = "xdevcar.core"
particleCount1 = 1
particleVeloc1 = "0.0 0.0 0.0"

particleClass2 = "xdevcar.puff"
particleCount2 = 4
particleVeloc2 = "7.0 7.0 7.0"

particleClass3 = "xdevcar.light"
particleCount3 = 1
particleVeloc3 = "0.0 0.0 0.0"

particleClass4 = "xdevcar.shock"
particleCount4 = 1
particleVeloc4 = "0.0 0.0 0.0"

particleClass5 = "xdevcar.splat"
particleCount5 = 1
particleVeloc5 = "0.0 0.0 0.0"

particleClass6 = "xdevcar.spark"
particleCount6 = 1
particleVeloc6 = "20.0 25.0 20.0"
particleBias6 = "0.0 1.0 0.0"

[Core]
simulateBase = "sim_null"
lifeTime = 0.7
renderBase = "draw_twirl"
textureName = "flame.tga"
textureBlend = "one one modulate"
startColor = "120 120 100 255"
finishColor = "100 100 70 0"
startRadius = 1.0
finishRadius = 0.1
animateTime = 0.7

[Puff]
simulateBase = "sim_smoke"
lifeTime = 0.5
renderBase = "draw_twirl"
textureName = "flame.tga"
textureBlend = "one one modulate"
startColor = "150 150 150 200" 
finishColor = "140 140 100 0" 
startRadius = 0.5
finishRadius = 3.0
animateTime = 0.5
rotationRate = 0.3

[Light]
simulateBase = "sim_null"
lifeTime = 0.7
renderBase = "draw_light"
startColor = "255 255 230 555"
finishColor = "155 155 90 0"
startRadius = 0.2
finishRadius = 0.1
animateTime = 0.7
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Shock]
simulateBase = "sim_null"
lifeTime = 0.2
renderBase = "draw_sphere"
textureName = "vsmoke.tga"
textureBlend = "one one modulate"
startColor = "255 255 200 190" 
finishColor = "200 200 40 0" 
startRadius = 0.5
finishRadius = 3.0
animateTime = 0.2
latitudeBands = 8
longitudeSegments = 16

[Splat]
simulateBase = "sim_null"
lifeTime = 0.4
renderBase = "draw_twirl"
textureName = "ring.tga"
textureBlend = "one one modulate"
startColor = "190 190 190 255"
finishColor = "255 255 255 0"
startRadius = 0.1
finishRadius = 2.0
animateTime = 0.4

[Spark]
simulateBase = "sim_ember"
lifeTime = 4.0
renderBase = "draw_twirl"
textureName = "spark.tga"
textureBlend = "one one modulate"
startColor = "84 200 80 180"
finishColor = "100 140 60 0"
startRadius = 0.7
finishRadius = 0.2
animateTime = 4.0
rotationRate = 20.0