// =================
// C4 EXPLOSION
// =================

[ExplosionClass]
classLabel = "explosion"

particleTypes = 6

particleClass1 = "xc4_srv.flame1"
particleCount1 = 20
particleVeloc1 = "10 10 10"

particleClass2 = "xc4_srv.flame2"
particleCount2 = 10
particleVeloc2 = "100 100 100"

particleClass3 = "xc4_srv.smoke"
particleCount3 = 10
particleVeloc3 = "10.0 10.0 10.0"

particleClass4 = "xc4_srv.light"
particleCount4 = 1
particleVeloc4 = "0.0 0.0 0.0"

particleClass5 = "xc4_srv.shrapnel"
particleCount5 = 20
particleVeloc5 = "100.0 50.0 100.0"
particleBias5 = "0.0 10.0 0.0"

particleClass6 = "xc4_srv.shock"
particleCount6 = 1
particleVeloc6 = "0.0 0.0 0.0"

explSound = "xcar.wav"
damageRadius = 20.0

damageValue(N) = 2525 //5050 // none
damageValue(L) = 2025 //4050 // light
damageValue(H) = 1525 //3050 // heavy

damageValue(S) = 2525 //5050 // standard
damageValue(D) = 2025 //4050 // deflection
damageValue(A) = 1525 //3050 // absorbtion
kickRadius = 30.0
kickOmega = 5.0
kickVeloc = 10.0

[Flame1]
simulateBase = "sim_smoke"
lifeTime = 2.0
renderBase = "draw_twirl"
textureName = "cloudsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 192 0 255"
finishColor = "64 0 0 0"
startRadius = 6.0
finishRadius = 3.0
animateTime = 2.0
rotationRate = 15.0

[Flame2]
simulateBase = "sim_smoke"
lifetime = 0.5
renderBase = "draw_multi"
renderCount = 2
renderName1 = "xc4_srv.fire"
renderName2 = "xc4_srv.smokeemit"

[Fire]
simulateBase = "sim_smoke"
lifeTime = 0.5
renderBase = "draw_twirl_trail"
textureName = "flame2.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "128 64 0 0"
startRadius = 1.0
finishRadius = 15.0
animateTime = 0.2
emitDelay = 0.05
emitVelocity = "0.0 0.0 0.0"
emitVariance = "100 100 100"
emitLife = 0.2
rotationRate = 15.0

[Smokeemit]
//startdelay = 0.2
simulateBase = "sim_smoke"
lifeTime = 0.5
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeOL.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "21 21 21 64"
finishColor = "128 128 128 0"
startRadius = 5
finishRadius = 10.0
animateTime = 5.0
emitDelay = 0.05
emitVelocity = "0.0 0.0 0.0"
emitVariance = "10 10 10"
emitLife = 5.0

[Smoke]
simulateBase = "sim_smoke"
lifeTime = 5.0
renderBase = "draw_twirl"
textureName = "cloudsmokeOL.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "64 64 64 255"
finishColor = "128 128 128 0"
startRadius = 5
finishRadius = 20.0
animateTime = 5.0
rotationRate = 1.0

[Light]
simulateBase = "sim_null"
lifeTime = 3.0
renderBase = "draw_light"
startColor = "255 255 0 510"
finishColor = "255 0 0 0"
startRadius = 100.0
finishRadius = 50.0
animateTime = 3.0
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Shrapnel]
simulateBase = "sim_ember"
lifetime = 2.0
renderBase = "draw_multi"
renderCount = 2
renderName1 = "xc4_srv.hot"
renderName2 = "xc4_srv.smoketrail"

[Hot]
simulateBase = "sim_ember"
lifeTime = 2.0
renderBase = "draw_twirl_trail"
textureName = "wispsmokeadd.tga"
textureBlend = "one one modulate"
startColor = "255 128 0 255"
finishColor = "64 0 0 0"
startRadius = 0.5
finishRadius = 1
animateTime = 0.2
emitDelay = 0.02
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.2 0.2 0.2"
emitLife = 3.0

[SmokeTrail]
simulateBase = "sim_ember"
lifeTime = 2.0
renderBase = "draw_twirl_trail"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "64 64 64 200"
finishColor = "128 128 128 0"
startRadius = 0.2
finishRadius = 1.5
animateTime = 3.0
emitDelay = 0.02
emitVelocity = "0.0 0.0 0.0"
emitVariance = "1.5 1.5 1"
emitLife = 3.0

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