// =================
// VEHICLE CRASH
// =================

[ExplosionClass]
startupright = 1
classLabel = "explosion"

particleTypes = 8

particleClass1 = "xartlcr_srv.flashflame"
particleCount1 = 20
particleVeloc1 = "15.0 20.0 15.0"

particleClass2 = "xartlcr_srv.shocksphere"
particleCount2 = 1
particleVeloc2 = "0 0 0"

particleClass3 = "xartlcr_srv.shockwave"
particleCount3 = 1
particleVeloc3 = "0 0 0"

particleClass4 = "xartlcr_srv.shrapnel"
particleCount4 = 0
particleVeloc4 = "100.0 50.0 100.0"
particleBias4 = "0.0 10.0 0.0"

particleClass5 = "xartlcr_srv.groundchar"
particleCount5 = 1
particleVeloc5 = "0 0 0"

particleClass6 = "xartlcr_srv.smokee"
particleCount6 = 1
particleVeloc6 = "0 0 0"

particleClass7 = "xartlcr_srv.groundflash"
particleCount7 = 3
particleVeloc7 = "0 0 0"

particleClass8 = "xartlcr_srv.flash"
particleCount8 = 3
particleVeloc8 = "0 0 0"

explSound = "xcar.wav"
damageRadius = 25.0

damageValue(N) = 100 // none
damageValue(L) = 50 // light
damageValue(H) = 25 // heavy

damageValue(S) = 50 // standard
damageValue(D) = 100 // deflection
damageValue(A) = 25 // absorbtion
kickRadius = 35.0
kickOmega = 7.5
kickVeloc = 5

[Flashflame]
simulateBase = "sim_smoke"
lifeTime = 2.0
renderBase = "draw_sprite"
textureName = "flame2.tga"
textureBlend = "one one modulate"
startColor = " 255 255 0 255"
finishColor = "255 0 0 0"
startRadius = 5.0
finishRadius = 20.0
animateTime = 2
rotationRate = 50.0

[Shocksphere]
simulateBase = "sim_null"
lifeTime = 1.0
renderBase = "draw_sphere"
textureName = "vsmoke.tga"
textureBlend = "one one modulate"
startColor = "255 255 63 255"
finishColor = "255 0 0 0"
startRadius = 1.0
finishRadius = 30.0
animateTime = 0.3
latitudeBands = 8
longitudeSegments = 16

[Shockwave]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "xartlcr_srv.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 = 1
renderBase = "draw_wave"
textureName = "cloudwave.tga"
textureBlend = "one one modulate"
startColor = "255 255 0 192" 
finishColor = "0 0 0 0" 
startRadius = 1
finishRadius = 25
animateTime = 1
waveAngle = 3.1416
waveDepth = 0.5
waveSegments = 128

[Shrapnel]
simulateBase = "sim_smoke"
lifetime = 2.0
renderBase = "draw_multi"
renderCount = 2
renderName1 = "xartlcr_srv.flare"
renderName2 = "xartlcr_srv.trail"

[Flare]
simulateBase = "sim_smoke"
lifeTime = 2.0
renderBase = "draw_twirl_trail"
textureName = "lightflare.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "128 128 0 0"
startRadius = 1
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

[Trail]
simulateBase = "sim_smoke"
lifeTime = 2.0
renderBase = "draw_trail"
textureBlend = "one one modulate"
startColor = "255 255 0 255"
finishColor = "255 0 0 0"
startRadius = 0.1
finishRadius = 0.05
trailTime = 0.01
segmentTime = 0.5 

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

[Smokee]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 30
emitName = "xbldsmall_srv.smoke"
emitDelay = 0.5
emitDelayVar = 0.0
emitVelocity = "3 10 0"
emitVariance = "3 3 3"
emitInherit = "0 0 0"

[Smoke]
simulateBase = "sim_smoke"
lifeTime = 5
renderBase = "draw_twirl"
textureName = "wispsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "128 128 128 64"
finishColor = "128 128 128 0"
startRadius = 5.0
finishRadius = 15.0
animateTime = 5
rotationrate = 3

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

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