// =====================
// BOMB EXPLOSION
// =====================

[ExplosionClass]
startUpright = 1
classLabel = "explosion"

particleTypes = 8
particleClass1 = "xhammerxpl_srv.groundsmoke"
particleCount1 = 5
particleVeloc1 = "500 0 500"
particleClass2 = "xhammerxpl_srv.shock"
particleCount2 = 1
particleVeloc2 = "0.0 0.0 0.0"
particleClass3 = "xhammerxpl_srv.light"
particleCount3 = 1
particleVeloc3 = "0.0 0.0 0.0"
particleClass7 = "xhammerxpl_srv.flamering"
particleCount7 = 1
particleVeloc7 = "0 0 0"
particleClass8 = "xhammerxpl_srv.flame"
particleCount8 = 1
particleVeloc8 = "0 0 0"
particleClass4 = "xhammerxpl_srv.shockwave"
particleCount4 = 1
particleVeloc4 = "0.0 0.0 0.0"
particleClass6 = "xhammerxpl_srv.psemit"
particleCount6 = 1
particleVeloc6 = "0 0 0"
particleClass5 = "xhammerxpl_srv.stack"
particleCount5 = 50
particleVeloc5 = "1 30 1"
//particlebias8 = "2 7.5 2"
particleClass9 = "xhammerxpl_srv.flash"
particlecount9 = 0
particleVeloc9 = "200 100 200"

explSound = "ssmxpl.wav"

damageRadius = 75.0

damageValue(N) = 6450
damageValue(L) = 5700
damageValue(H) = 5050

damageValue(S) = 5700
damageValue(D) = 6450
damageValue(A) = 5050

kickRadius = 180.0
kickOmega = 36.0
kickVeloc = 25.0

[Groundemit]
simulateBase = "sim_smoke"
lifetime = 1
renderBase = "draw_multi"
renderCount = 2
renderName1 = "xhammerxpl_srv.flame"
renderName2 = "xhammerxpl_srv.groundsmoke"

[Flame]
simulateBase = "sim_smoke"
lifeTime = 0.3
renderBase = "draw_twirl_trail"
textureName = "wispsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 64 0 255"
finishColor = "64 0 0 0"
startRadius = 50.0
finishRadius = 100.0
animateTime = 0.3
emitDelay = 0.02
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "750 0 750"
emitInherit = "0 0 0"
emitlife = 0.3
maxdist = 1000

[Groundsmoke]
simulateBase = "sim_smoke"
lifeTime = 0.5
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeOL.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "31 31 31 255"
finishColor = "128 128 128 0"
startRadius = 25.0
finishRadius = 50.0
animateTime = 30
emitDelay = 0.1
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "10 0 10"
emitInherit = "0 0 0"
emitlife = 30
maxdist = 1000

[Shock]
simulateBase = "sim_null"
lifeTime = 1.0
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 = 1e6.0
finishRadius = 60.0
animateTime = 1
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Flameringe]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 0.04
emitName = "xhammerxpl_srv.flamering"
emitDelay = 0.001
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "400 0 400"
emitInherit = "0 0 0"
maxdist = 1000

[Flamering]
simulateBase = "sim_smoke"
lifeTime = 0.05
renderBase = "draw_emit"
emitName = "xhammerxpl_srv.groundsmoke"
emitDelay = 0.01
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "500 0 500"
emitInherit = "0 0 0"
emitLife = 0.5
maxdist = 1000

[Smokeringe]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 0.02
emitName = "xhammerxpl_srv.smoke"
emitDelay = 0.001
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "400 0 400"
emitInherit = "0 0 0"
maxdist = 1000

[Smoke]
simulateBase = "sim_smoke"
lifeTime = 2
renderBase = "draw_twirl"
textureName = "cloudsmokeOL.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "31 31 31 128"
finishColor = "0 0 0 0"
startRadius = 1.0
finishRadius = 150.0
animateTime = 2
rotationrate = 50
maxdist = 1000

[Shockwave]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "xhammerxpl_srv.shockemit"
emitDelay = 0.1
emitVelocity = "0.0 1 0.0"
emitVariance = "0.0 0.0 0.0"
maxdist = 1000

[shockemit]
simulateBase = "sim_smoke"
lifeTime = 2
renderBase = "draw_wave"
textureName = "wave.tga"
textureBlend = "one one modulate"
startColor = "32 32 32 128" 
finishColor = "0 0 0 0" 
startRadius = 1
finishRadius = 300
animateTime = 2
waveAngle = 3.1416
waveDepth = 0.5
waveSegments = 16

[Plume]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 0.05
emitName = "xhammerxpl_srv.plumesmoke"
emitDelay = 0.002
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "15 7.5 15"
emitInherit = "0 0 0"
maxdist = 1000

[PFire]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 0.05
emitName = "xhammerxpl_srv.plumefire"
emitDelay = 0.005
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "10 5 10"
emitInherit = "0 0 0"
maxdist = 1000

[PFlash]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 0.05
emitName = "xhammerxpl_srv.plumeflash"
emitDelay = 0.01
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "40 20 40"
emitInherit = "0 0 0"
maxdist = 1000

[plumesmoke]
simulateBase = "sim_smoke"
lifeTime = 30
renderBase = "draw_twirl"
textureName = "cloudsmokeOL.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "31 31 31 255"
finishColor = "128 128 128 0"
startRadius = 50.0
finishRadius = 100.0
animateTime = 30
rotationrate = 1
maxdist = 1000

[plumefire]
simulateBase = "sim_smoke"
lifeTime = 10
renderBase = "draw_twirl"
textureName = "cloudsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 32 0 255"
finishColor = "32 16 0 0"
startRadius = 50.0
finishRadius = 75.0
animateTime = 10
rotationrate = -2
maxdist = 1000

[PlumeFlash]
simulateBase = "sim_smoke"
lifeTime = 7.5
renderBase = "draw_sprite"
textureName = "lighthalo.tga"
textureBlend = "one one modulate"
startColor = " 255 255 255 255"
finishColor = "0 0 0 0"
startRadius = 100.0
finishRadius = 100.0
animateTime = 7.5

[Plumeemit]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 1
emitName = "xhammerxpl_srv.psemit"
emitDelay = 9e9
emitDelayVar = 0.0
emitVelocity = "0 10 0" //"2 8 4"
emitVariance = "0 0 0"
emitInherit = "0 0 0"
maxdist = 1000

[PSEmit]
simulatebase = "Sim_smoke"
lifetime = 0.1
renderBase = "Draw_multi"
rendercount = 2
rendername2 = "xhammerxpl_srv.pfire"
rendername1 = "xhammerxpl_srv.plume"

[Stackemit]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 10
emitName = "xhammerxpl_srv.stack"
emitDelay = 0.2
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "0 0 0"
emitInherit = "0 0 0"
maxdist = 1000

[Stack]
simulateBase = "sim_smoke"
lifeTime = 20
renderBase = "draw_twirl"
textureName = "cloudsmokeOL.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "12 12 12 255"
finishColor = "128 128 128 0"
startRadius = 25
finishRadius = 25.0
animateTime = 30
rotationrate = 1
maxdist = 1000

[Stacksmoke]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 7.5
emitName = "xhammerxpl_srv.stack"
emitDelay = 0.125
emitDelayVar = 0.1
emitVelocity = "0 0 0"
emitVariance = "3 0 3"
emitInherit = "0 0 0"
maxdist = 1000

[Flash]
simulateBase = "sim_smoke"
lifeTime = 3
renderBase = "draw_sprite"
textureName = "lighthalo.tga"
textureBlend = "one one modulate"
startColor = " 255 255 255 255"
finishColor = "0 0 0 0"
startRadius = 400.0
finishRadius = 400.0
animateTime = 3
