[ExplosionClass]
classLabel = "explosion"

startUpright = 1

explSound = "xsv2.wav"

damageRadius = 75.0 

damageValue(N) = 700 // none
damageValue(L) = 500 // light
damageValue(H) = 300 // heavy

damageValue(S) = 400 // standard
damageValue(D) = 400 // deflection
damageValue(A) = 400 // absorbtion

kickRadius = 7.0
kickOmega = 15.0
kickVeloc = 0.0 

particleTypes = 9

particleClass8 = "xblanket.cloud" 
particleCount8 = 5               
particleVeloc8 = "60 60 60"    
particlebias8 = "0 10 0"

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

particleClass3 = "xblanket.flash2" 
particleCount3 = 1               
particleVeloc3 = "0 0 0"    
particlebias3 = "0 0 0"

particleClass4 = "xblanket.flash1" 
particleCount4 = 1               
particleVeloc4 = "0 0 0"    
particlebias4 = "0 0 0"

particleClass5 = "xblanket.flash" 
particleCount5 = 1              
particleVeloc5 = "0 0 0"    
particlebias5 = "0 0 0"

particleClass6 = "xblanket.shock"
particleCount6 = 1
particleVeloc6 = "0 0 0"

particleClass7 = "xblanket.shockground"
particleCount7 = 1
particleVeloc7 = "0 0 0"

particleClass1 = "xblanket.groundchar"
particleCount1 = 1
particleVeloc1 = "0 0 0"

particleClass9 = "xblanket.groundflash"
particleCount9 = 1
particleVeloc9 = "0.0 0.0 0.0"

[flash2]
simulateBase = "sim_null"
lifeTime = .5
renderBase = "draw_sprite"
spriteCenter.x = 0.0
spriteCenter.y = 0.0
textureName = "plasma.tga"
textureBlend = "one one modulate"
startColor = "244 45 10 255"
finishColor = "244 45 10 255"
startRadius = 10
finishRadius = 0
animateTime = .5

[flash1]
simulateBase = "sim_null"
lifeTime = .5
renderBase = "draw_sprite"
spriteCenter.x = 0.0
spriteCenter.y = 0.0
textureName = "lighthalo.tga"
textureBlend = "one one modulate"
startColor = "244 45 10 255"
finishColor = "244 45 10 255"
startRadius = 5.5
finishRadius = 0
animateTime = .5

[flash]
simulateBase = "sim_null"
lifeTime = .5
renderBase = "draw_sprite"
spriteCenter.x = 0.0
spriteCenter.y = 0.0
textureName = "lighthalo.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 128"
finishColor = "255 128 0 0"
startRadius = 30.0
finishRadius = 30
animateTime = .5

[cloud]
simulateBase = "sim_ember"
lifeTime = 2
renderBase = "draw_multi"
renderCount = 3
renderName1 = "xblanket.smoke"
renderName2 = "xblanket.flame"
renderName3 = "xblanket.light"

[Flame]
simulateBase = "sim_smoke"
renderBase = "draw_twirl_trail"
lifeTime = 1.5 // explosion/flash only
textureName = "wispsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 50 35 255"
finishColor = "255 100 45 0"
startRadius = 1		//
finishRadius = 5		// 
rotationRate = 5 	// 
animateTime = 0.5		//
emitDelay =  0.05		//
emitVelocity = "0.0 3.0 0.0"
emitVariance = "2.0 2.0 2.0" //"10.0 5.0 15.0"
emitLife = 0.5	

[smoke]
simulateBase = "sim_smoke"
renderBase = "draw_twirl_trail"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "70 70 70 255"
finishColor = "5 5 5 0"
startRadius = 1 		//
finishRadius =  5		// 
rotationRate = 3 	// 
animateTime = 10		//
emitDelay =  0.04		//
emitVelocity = "0.0 0.0 0.0"
emitVariance = "2 2 2" //"10.0 5.0 15.0"
emitLife = 10			//

[light]
simulateBase = "sim_null"
renderBase = "draw_light"
startColor = "255 50 35 200"
finishColor = "150 0 0 0"
startRadius = 50
finishRadius = 50
animateTime = 1.5
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0
lensflare = 0

[Shock]
simulatebase = "sim_null"
lifetime = 0.75
renderBase = "draw_sphere"
textureName = "vsmoke.tga"
textureBlend = "one one modulate"
startColor = "32 32 32 128"
finishColor = "0 0 0 0"
startRadius = 1
finishRadius = 100
animateTime = 0.75
latitudeBands = 8
longitudeSegments = 16

[Shockground]
simulateBase = "sim_null"
lifeTime = 0.75
renderBase = "draw_planar"
textureName = "raindrop.tga"
textureBlend = "one one modulate"
startColor = "32 32 32 200"
finishColor = "0 0 0 0"
startRadius = 1.0
finishRadius = 100.0
animateTime = 0.75

[Shockwave]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "xblanket.shockemit"
emitDelay = 0.1
emitVelocity = "0.0 -0.1 0.0"//.4 0 0
emitVariance = "0.0 0.0 0.0"// .5 .5 .5

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

[Groundsmoke]
simulateBase = "sim_dust"
lifeTime = 10
renderBase = "draw_sprite"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "70 70 70 255"
finishColor = "5 5 5 0"
startRadius = 10.0
finishRadius = 20.0
animateTime = 10

[Groundchar]
simulateBase = "sim_null"
lifeTime = 60
renderBase = "draw_planar"
textureName = "craterscorch.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "16 16 16 255"
finishColor = "16 16 16 0"
startRadius = 10
finishRadius = 10
animateTime = 60

[GroundFlash]
simulateBase = "sim_null"
lifeTime = 0.5
renderBase = "draw_planar"
textureName = "lighthalo.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "255 128 0 0"
startRadius = 40.0
finishRadius = 40.0
animateTime = 0.5