// =============
// MTR VEHICLE EXPLOSION
// =============

[ExplosionClass]
classLabel = "explosion"

///////////////////////////////

particleTypes = 6

particleClass1 = "rookxhull.core"
particleCount1 = 1
particleVeloc1 = "0.0 0.0 0.0"

particleClass2 = "rookxhull.shock"
particleCount2 = 1
particleVeloc2 = "0.0 0.0 0.0"

particleClass3 = "rookxhull.spark"
particleCount3 = 8
particleVeloc3 = "21.0 21.0 21.0"

particleClass4 = "rookxhull.blur"
particleCount4 = 8
particleVeloc4 = "21.0 21.0 21.0"

particleClass5 = "rookxhull.light"
particleCount5 = 1
particleVeloc5 = "0.0 0.0 0.0"

particleClass6 = "rookxhull.billow"
particleCount6 = 12
particleVeloc6 = "6.0 6.0 6.0"
particleBias6 = "0.0 0.0 0.0"

particleClass7 = "rookxhull.trail"
particleCount7 = 12
particleVeloc7 = "14.0 14.0 14.0"







///////////////////////////////

explSound = "hullexp1.wav"
damageRadius = 38.0

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

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

///////////////////////////////

[Core]
simulateBase = "sim_null"
lifeTime = 0.2
renderBase = "draw_twirl"
textureName = "=flare1.bmp"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "200 80 40 0"
startRadius = 3.2
finishRadius = 1.8
animateTime = 0.2

[Shock]
simulateBase = "sim_null"
lifeTime = 0.2
renderBase = "draw_sphere"
textureName = "=firesphere.bmp"
textureBlend = "one one modulate"
startColor = "255 220 200 52"
finishColor = "100 50 10 0"
startRadius = 3.0
finishRadius = 20.0
animateTime = 0.18
latitudeBands = 6
longitudeSegments = 6

[Spark]
simulateBase = "sim_ember"
lifeTime = 3.0
renderBase = "draw_twirl"
textureName = "spark.tga"
textureBlend = "one one modulate"
startColor = "230 220 110 255"
finishColor = "130 70 40 30"
startRadius = 0.6
finishRadius = 0.2
animateTime = 3.0
rotationRate = 20.0

[blur]
simulateBase = "sim_ember"
lifeTime = 2.0
renderBase = "draw_trail"
textureBlend = "one one modulate"
startColor = "120 220 120 180"
finishColor = "50 70 35 0"
startRadius = 0.03
finishRadius = 0.01
trailTime = 0.6
segmentTime = 0.1


[Light]
simulateBase = "sim_null"
lifeTime = 0.5
renderBase = "draw_light"
startColor = "255 255 210 1800"
finishColor = "255 0 0 0"
startRadius = 30.0
finishRadius = 40.0
animateTime = 0.5
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0



[billow]
simulateBase = "sim_smoke"
lifeTime = 0.6
renderBase = "draw_twirl"
textureName = "=smoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "255 255 200 180"
finishColor = "40 20 0 0"
startRadius =  0.1
finishRadius = 2
animateTime = 0.5
rotationrate = 2

[trail]
simulateBase = "sim_ember"
lifeTime = 0.6
renderBase = "draw_twirl_trail"
textureName = "=smoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "255 250 100 60"
finishColor = "100 50 20 0"
startRadius = 0.2
finishRadius = 1.4
animateTime = 0.4
emitDelay = 0.03
emitVelocity = "0.0 0.0 0.0"
emitVariance = "1.4 1.4 1.4"
emitLife = 1.2


