// ===============
// PLASMA BUILDING HIT
// ===============

[ExplosionClass]
classLabel = "explosion"

explSound = "xfire1.wav"
damageRadius = 5.0

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

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

particleTypes = 7
particleClass1 = "xphobld.core"
particleCount1 = 1
particleVeloc1 = "0.0 0.0 0.0"

particleClass2 = "xphobld.puff"
particleCount2 = 12
particleVeloc2 = "3.0 3.0 3.0"

particleClass3 = "xphobld.light"
particleCount3 = 1
particleVeloc3 = "0.0 0.0 0.0"

particleClass4 = "xphobld.sprite"
particleCount4 = 1
particleVeloc4 = "0.0 0.0 0.0"

particleClass5 = "xphobld.splat"
particleCount5 = 1
particleVeloc5 = "0.0 0.0 0.0"

particleClass6 = "xphobld.spark"
particleCount6 = 6
particleVeloc6 = "30.0 35.0 30.0"
particleBias6 = "0.0 1.0 0.0"

particleClass7 = "xphobld.trail"
particleCount7 = 6
particleVeloc7 = "30.0 35.0 30.0"
particleBias7 = "0.0 1.0 0.0"

[Core]
simulateBase = "sim_null"
lifeTime = 0.2
renderBase = "draw_sprite"
spriteCenter.x = 0.0
spriteCenter.y = 0.0
textureName = "zeexp2.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "255 200 60 170"
startRadius = 12.0
finishRadius = 1.0
animateTime = 0.2

[Puff]
simulateBase = "sim_smoke"
lifeTime = 2.2
renderBase = "draw_twirl"
textureName = "zepuff3.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "85 85 85 60" 
finishColor = "20 20 20 0" 
startRadius = 0.5
finishRadius = 5.0
animateTime = 2.2
rotationRate = 1.0

[Light]
simulateBase = "sim_null"
lifeTime = 0.7
renderBase = "draw_light"
startColor = "255 255 240 505"
finishColor = "155 155 50 0"
startRadius = 30.0
finishRadius = 0.0
animateTime = 0.7
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Sprite]
simulateBase = "sim_null"
lifeTime = 0.5
renderBase = "draw_sprite"
spriteCenter.x = 0.0
spriteCenter.y = 0.0
textureName = "zeexp.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "60 40 10 0"
startRadius = 1.0
finishRadius = 14.0
animateTime = 0.5


[Splat]
simulateBase = "sim_null"
lifeTime = 0.3
renderBase = "draw_twirl"
textureName = "ring.tga"
textureBlend = "one one modulate"
startColor = "190 190 100 255"
finishColor = "0 255 0 0"
startRadius = 0.1
finishRadius = 3.0
animateTime = 0.3


[Spark]
simulateBase = "sim_ember"
lifeTime = 4.0
renderBase = "draw_twirl"
textureName = "zespark.tga"
textureBlend = "one one modulate"
startColor = "84 200 80 180"
finishColor = "100 140 60 0"
startRadius = 0.3
finishRadius = 0.2
animateTime = 4.0
rotationRate = 20.0


[Trail]
simulateBase = "sim_ember"
lifeTime = 4.0
renderBase = "draw_trail"
textureName = "zespark.tga"
textureBlend = "one one modulate"
startColor = "220 170 130 200"
finishColor = "40 20 0 0"
startRadius = 0.3
finishRadius = 0.2
animateTime = 4.0
rotationRate = 20.0
trailTime = 1.0
segmentTime = 0.2


