// ===============
// DEVOUR BUILDING HIT
// ===============

[ExplosionClass]
classLabel = "explosion"

explSound = "xfire1.wav"
damageRadius = 5.0

damageValue(N) = 75 // none
damageValue(L) = 30 // light
damageValue(H) = 0 // heavy

damageValue(S) = 30 // standard
damageValue(D) = 75 // deflection
damageValue(A) = 0 // absorbtion

particleTypes = 5
particleClass1 = "xdevbld.core"
particleCount1 = 1
particleVeloc1 = "0.0 0.0 0.0"

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

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

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

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

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

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

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

[Light]
simulateBase = "sim_null"
lifeTime = 0.7
renderBase = "draw_light"
startColor = "255 255 240 505"
finishColor = "155 155 50 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.4
renderBase = "draw_sphere"
textureName = "vsmoke.tga"
textureBlend = "one one modulate"
startColor = "255 255 200 120" 
finishColor = "200 0 0 0" 
startRadius = 0.5
finishRadius = 3.0
animateTime = 0.4
latitudeBands = 8
longitudeSegments = 16

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


[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