// =============
// EMP Explosion
// =============

[ExplosionClass]
classLabel = "explosion"

particleTypes = 5
particleClass1 = "xemp.core"
particleCount1 = 1
particleVeloc1 = "0.0 0.0 0.0"
particleClass2 = "xemp.shock"
particleCount2 = 1
particleVeloc2 = "0.0 0.0 0.0"
particleClass3 = "xemp.ring"
particleCount3 = 1
particleVeloc3 = "0.0 0.0 0.0"
particleClass4 = "xemp.flash"
particleCount4 = 1
particleVeloc4 = "0.0 0.0 0.0"
particleClass5 = "xemp.smoke"
particleCount5 = 10
particleVeloc5 = "20 20 20"


explSound = "emp.wav"
damageRadius = 0.0

damageValue(N) = 0 // none
damageValue(L) = 0 // light
damageValue(H) = 0 // heavy

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


[Core]
simulateBase = "sim_null"
lifeTime = 4
renderBase = "draw_sphere"
textureName = "vsmoke.tga"
textureBlend = "one one modulate"
startColor = "0 255 255 255"
finishColor = "0 255 255 255"
startRadius = 15.0
finishRadius = 0.0
animateTime = 4
latitudeBands = 8
longitudeSegments = 16

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

[Light]
simulateBase = "sim_null"
lifeTime = 1.5
renderBase = "draw_light"
startColor = "255 255 255 2550"
finishColor = "255 255 255 0"
startRadius = 150.0
finishRadius = 10.0
animateTime = 1.5
attenuateConstant = 1.0
attenuateLinear = 1.0
attenuateQuadratic = 1.0

[Ring]
simulateBase = "sim_null"
lifeTime = 3.0
renderBase = "draw_planar"
textureName = "wasplat.tga"
textureBlend = "one one modulate"
startColor = "0 255 255 255"
finishColor = "0 0 255 0"
startRadius = 1.5
finishRadius = 200.0
animateTime = 3.0

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

[Smoke]
simulateBase = "sim_smoke"
lifeTime = 30
renderBase = "draw_sprite"
textureName = "flame.tga"
textureBlend = "one one modulate"
startColor = "0 255 255 64"
finishColor = "0 0 255 0"
startRadius = 50.0
finishRadius = 100.0
animateTime = 30