// =============
// ROOK MTR GROUND EXPLOSION
// =============

[ExplosionClass]
classLabel = "explosion"

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

particleTypes = 10

particleClass1 = "xzewcanc.shock"
particleCount1 = 1
particleVeloc1 = "0.0 0.0 0.0"

particleClass2 = "xzewcanc.light"
particleCount2 = 1
particleVeloc2 = "0.0 0.0 0.0"

particleClass3 = "xzewcanc.spark"
particleCount3 = 4
particleVeloc3 = "25.0 27.5 25.0"
particleBias3 = "0.0 4.0 0.0"

particleClass4 = "xzewcanc.spark2"
particleCount4 = 10
particleVeloc4 = "30.0 36.0 30.0"
particleBias4 = "0.0 5.0 0.0"

particleClass5 = "xzewcanc.billow"
particleCount5 = 10
particleVeloc5 = "6.0 6.0 6.0"
particleBias5 = "0.0 0.0 0.0"

particleClass6 = "xzewcanc.trail"
particleCount6 = 24
particleVeloc6 = "13.0 52.0 13.0"

particleClass7 = "xzewcanc.rocks"
particleCount7 = 10
particleVeloc7 = "14.0 55.0 14.0"

particleClass8 = "xzewcanc.rockstrail"
particleCount8 = 24
particleVeloc8 = "14.0 55.0 14.0"

particleClass9 = "xzewcanc.center"
particleCount9 = 1
particleVeloc9 = "11.0 15.0 11.0"

particleClass10 = "xzewcanc.core"
particleCount10 = 1
particleVeloc10 = "0.0 0.0 0.0"

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

explSound = "groundexp2.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

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

[Shock]
simulateBase = "sim_null"
lifeTime = 0.3
renderBase = "draw_sphere"
textureName = "zewave.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 70"
finishColor = "100 70 10 0"
startRadius = 3.0
finishRadius = 20.0
animateTime = 0.3
latitudeBands = 8
longitudeSegments = 8

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

[spark]
simulateBase = "sim_ember"
lifeTime = 5.0
renderBase = "draw_twirl"
textureName = "zerock.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "94 94 88 180"
finishColor = "40 40 34 20"
startRadius = 0.25
finishRadius = 0.25
animateTime = 4.4
rotationRate = 10.0

[spark2]
simulateBase = "sim_ember"
lifeTime = 5.0
renderBase = "draw_twirl"
textureName = "zerock.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "100 100 90 180"
finishColor = "40 40 34 20"
startRadius = 0.14
finishRadius = 0.14
animateTime = 4.4
rotationRate = 10.0

[billow]
simulateBase = "sim_smoke"
lifeTime = 0.8
renderBase = "draw_twirl"
textureName = "zepuff.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "0 0 0 200"
finishColor = "0 0 0 0"
startRadius =  0.1
finishRadius = 2
animateTime = 0.8
rotationrate = 2

[trail]
simulateBase = "sim_ember"
lifeTime = 1.8
renderBase = "draw_twirl_trail"
textureName = "zepuff.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "5 5 5 62"
finishColor = "5 5 5 0"
startRadius = 0.2
finishRadius = 2.2
animateTime = 1.8
emitDelay = 0.1
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.9 0.9 0.9"
emitLife = 1.8
rotationRate = 0.2

[rocks]
simulateBase = "sim_ember"
lifeTime = 1.9
renderBase = "draw_twirl"
textureName = "zespark.tga"
textureBlend = "one one modulate"
startColor = "255 255 220 255"
finishColor = "200 200 90 0"
startRadius = 0.5
finishRadius = 0.4
animateTime = 2.5
emitDelay = 0.1
emitLife = 2.5
rotationRate = 0.01

[rockstrail]
simulateBase = "sim_ember"
lifeTime = 2.5
renderBase = "draw_trail"
textureName = "zespark.tga"
textureBlend = "one one modulate"
startColor = "255 255 180 90"
finishColor = "200 200 90 0"
startRadius = 0.6
finishRadius = 0.5
animateTime = 2.5
segmentTime = 0.3
trailTime = 0.9

[center]
simulateBase = "sim_ember"
lifeTime = 0.8
renderBase = "draw_twirl_trail"
textureName = "zepuff.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "5 5 5 124"
finishColor = "5 5 5 0"
startRadius = 0.2
finishRadius = 7.4
animateTime = 4.1
emitDelay = 0.1
emitVelocity = "0.0 0.0 0.0"
emitVariance = "2.4 2.4 2.4"
emitLife = 4.1
rotationRate = 1.0

[core]
simulateBase = "sim_ember"
lifeTime = 0.5
renderBase = "draw_sprite"
textureName = "zeexp2.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "255 200 0 0"
startRadius = 9.5
finishRadius = 1.5
animateTime = 0.5
