// =====================
// BOMBER CRASH EXPLOSION
// =====================

[ExplosionClass]
startupright = 1
classLabel = "explosion"

particleTypes = 8
particleClass5 = "xbmbercrash_srv.shrapnel"
particleCount5 = 0
particleVeloc5 = "400 100 400"
particleBias4 = "0 0 5"
particleClass6 = "xbmbercrash_srv.shock"
particleCount6 = 1
particleVeloc6 = "0.0 0.0 0.0"
particleClass3 = "xbmbercrash_srv.light"
particleCount3 = 1
particleVeloc3 = "0.0 0.0 0.0"
particleClass2 = "xbmbercrash_srv.flame"
particleCount2 = 30
particleVeloc2 = "150 0 150"
particleClass4 = "xbmbercrash_srv.plume"
particleCount4 = 20
particleVeloc4 = "10 10 10"
particleClass1 = "xbmbercrash_srv.groundchar"
particleCount1 = 1
particleVeloc1 = "0 0 0"
particleClass7 = "xbmbercrash_srv.fire"
particleCount7 = 2
particleVeloc7 = "150 0 150"
particleClass8 = "xbmbercrash_srv.smokee"
particleCount8 = 1
particleVeloc8 = "0 0 0"

explSound = "xemt2.wav"

damageRadius = 100.0

damageValue(N) = 500
damageValue(L) = 300
damageValue(H) = 200

damageValue(S) = 300
damageValue(D) = 300
damageValue(A) = 300

kickRadius = 75.0
kickOmega = 16.0
kickVeloc = 5.0

[Shrapnel]
simulateBase = "sim_ember"
lifeTime = 0.75
renderBase = "draw_twirl_trail"
textureName = "poofsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "0 0 0 128"
finishColor = "128 128 128 0"
startRadius = 1
finishRadius = 4
animateTime = 10
emitDelay = 0.0075
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.75 0.75 0.75"
emitLife = 10
maxdist = 1000

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

[Light]
simulateBase = "sim_null"
lifeTime = 1
renderBase = "draw_light"
startColor = "255 128 0 2550"
finishColor = "255 0 0 0"
startRadius = 600.0
finishRadius = 60.0
animateTime = 1
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Flame]
simulatebase = "sim_dust"
lifetime = 1
renderBase = "draw_multi"
rendercount = 2
//renderName3 = "xbmbercrash_srv.fire"
renderName2 = "xbmbercrash_srv.smoke"
renderName1 = "xbmbercrash_srv.firespawner"

[Firespawner]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 20
emitName = "xbmbercrash_srv.firespwn2"
emitDelay = 0.1
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "0 0 0"
emitInherit = "0 0 0"

[Firespwn2]
//simulateBase = "sim_ember"
//renderBase = "draw_emit"
//lifeTime = 20
//emitName = "xbmbercrash_srv.fire2"
//emitDelay = 0.1
//emitDelayVar = 0.0
//emitVelocity = "0 0 0"
//emitVariance = "1 75 1"
//emitInherit = "0 0 0"
//
//[Fire2]
simulateBase = "sim_smoke"
lifeTime = 10
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 64 0 255"
finishColor = "0 0 0 0"
startRadius = 10
finishRadius = 1
animateTime = 2
emitDelay = 0.1
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.75 40 40"
emitLife = 2
maxdist = 1000

[Smoke2]
simulateBase = "sim_smoke"
lifeTime = 20
renderBase = "draw_twirl_trail"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "0 0 0 255"
finishColor = "128 128 128 0"
startRadius = 10
finishRadius = 50
animateTime = 5
emitDelay = 0.1
emitVelocity = "0.0 0.0 -20.0"
emitVariance = "3 3 3"
emitLife = 5
maxdist = 1000

[Plume]
simulateBase = "sim_smoke"
lifeTime = 10.0
renderBase = "draw_sprite"
textureName = "wispsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "0 0 0 255"
finishColor = "128 128 128 0"
startRadius = 50.0
finishRadius = 100.0
animateTime = 10.0
rotationrate = 1
maxdist = 1000

[Fire]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 64 0 255"
finishColor = "64 0 0 0"
startRadius = 40.0
finishRadius = 15.0
animateTime = 2.5
rotationrate = 25
emitDelay = 0.01
emitVelocity = "0.0 0.0 0.0"
emitVariance = "50 50 50"
emitLife = 5
maxdist = 1000

[GroundChar]
simulateBase = "sim_null"
lifeTime = 180
renderBase = "draw_planar"
textureName = "craterscorch.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "162 162 162 255"
finishColor = "162 162 162 0"
startRadius = 75
finishRadius = 75
animateTime = 180

[Smokee]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 30
emitName = "xbldlarge_srv.smoke"
emitDelay = 0.5
emitDelayVar = 0.0
emitVelocity = "3 10 0"
emitVariance = "3 3 3"
emitInherit = "0 0 0"

[Smoke]
simulateBase = "sim_smoke"
lifeTime = 15
renderBase = "draw_twirl"
textureName = "wispsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "128 128 128 64"
finishColor = "128 128 128 0"
startRadius = 25.0
finishRadius = 50.0
animateTime = 15
rotationrate = 3
