// =====================
// NUCLEAR EXPLOSION
// =====================

[ExplosionClass]
classLabel = "explosion"

particleTypes = 9
particleClass8 = "xrecycler_srv.groundemit"
particleCount8 = 10
particleVeloc8 = "0 0 0"
particleClass6 = "xrecycler_srv.shock"
particleCount6 = 1
particleVeloc6 = "0.0 0.0 0.0"
particleClass7 = "xrecycler_srv.light"
particleCount7 = 1
particleVeloc7 = "0.0 0.0 0.0"
particleClass5 = "xrecycler_srv.lightground"
particleCount5 = 1
particleVeloc5 = "0 0 0"
particleClass4 = "xrecycler_srv.groundchar"
particleCount4 = 1
particleVeloc4 = "0 0 0"
particleClass3 = "xrecycler_srv.groundbase"
particleCount3 = 1
particleVeloc3 = "0.0 0.0 0.0"
particleClass1 = "xrecycler_srv.plume"
particleCount1 = 1
particleVeloc1 = "0 0 0"
particleClass2 = "xrecycler_srv.stack"
particleCount2 = 75
particleVeloc2 = "1 30 1"
//particlebias2 = "2 7.5 2"
particleClass9 = "xrecycler_srv.psemit"
particleCount9 = 1
particleVeloc9 = "0 0 0"

explSound = "xbmbxpl_srv.wav"

damageRadius = 200.0

damageValue(N) = 3500
damageValue(L) = 3000
damageValue(H) = 2500

damageValue(S) = 2500
damageValue(D) = 3000
damageValue(A) = 2000

kickRadius = 300.0
kickOmega = 36.0
kickVeloc = 25.0

[Groundemit]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.3
emitName = "xrecycler_srv.groundsmoke"
emitDelay = 0.001
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "25 0 25"
emitInherit = "0 0 0"

[Groundsmoke]
simulateBase = "sim_dust"
lifeTime = 30
renderBase = "draw_sprite"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "96 96 96 255" //"31 31 31 255"
finishColor = "0 0 0 0" //"40 40 40 0"
startRadius = 25.0
finishRadius = 75.0
animateTime = 30

[Groundbase]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.3
emitName = "xrecycler_srv.groundsmokelow"
emitDelay = 0.001
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "10 0 10"
emitInherit = "0 0 0"

[Groundsmokelow]
simulateBase = "sim_dust"
lifeTime = 50
renderBase = "draw_sprite"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "96 96 96 255" //"31 31 31 255"
finishColor = "0 0 0 0" //"40 40 40 0"
startRadius = 30.0
finishRadius = 75.0
animateTime = 50

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

[Light]
simulateBase = "sim_null"
lifeTime = 20
renderBase = "draw_light"
startColor = "255 255 255 2550"
finishColor = "255 0 0 0"
startRadius = 1e6.0
finishRadius = 600.0
animateTime = 20
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[Flameringe]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.04
emitName = "xrecycler_srv.flamering"
emitDelay = 0.001
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "400 0 400"
emitInherit = "0 0 0"

[Lightground]
simulateBase = "sim_null"
lifeTime = 10
renderBase = "draw_planar"
textureName = "lighthalo.tga"
textureBlend = "one one modulate"
startColor = "255 255 200 255" 
finishColor = "255 0 0 0" 
startRadius = 175
finishRadius = 175
animateTime = 10

[Groundchar]
simulateBase = "sim_null"
lifeTime = 1e6
renderBase = "draw_planar"
textureName = "craterscorch.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "96 96 96 255"
finishColor = "96 96 96 0"
startRadius = 175
finishRadius = 175
animateTime = 1e6

[Flamering]
simulateBase = "sim_dust"
lifeTime = 1
renderBase = "draw_twirl"
textureName = "flame.tga"
textureBlend = "one one modulate"
startColor = "255 64 0 255"
finishColor = "0 0 0 0"
startRadius = 1.0
finishRadius = 150.0
animateTime = 1
rotationrate = 50

[Smokeringe]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.02
emitName = "xrecycler_srv.smoke"
emitDelay = 0.001
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "400 0 400"
emitInherit = "0 0 0"

[Smoke]
simulateBase = "sim_dust"
lifeTime = 2
renderBase = "draw_twirl"
textureName = "smoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "31 31 31 128"
finishColor = "0 0 0 0"
startRadius = 1.0
finishRadius = 150.0
animateTime = 2
rotationrate = 50

[Shockwave]
simulateBase = "sim_null"
lifeTime = 5
renderBase = "draw_planar"
textureName = "wasplat.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255" 
finishColor = "0 0 0 0" 
startRadius = 1
finishRadius = 300
animateTime = 5

[PSEmit]
simulatebase = "Sim_smoke"
lifetime = 0.1
renderBase = "Draw_multi"
rendercount = 5
rendername3 = "xrecycler_srv.pfire"
rendername1 = "xrecycler_srv.pflash"
rendername2 = "xrecycler_srv.pflash2"
rendername4 = "xrecycler_srv.pflash3"
rendername5 = "xrecycler_srv.flash"

[PFire]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.1
emitName = "xrecycler_srv.plumefire"
emitDelay = 0.005
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "15 7.5 15"
emitInherit = "0 0 0"

[PFlash]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.02
emitName = "xrecycler_srv.plumeflash"
emitDelay = 0.001
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "30 10 30"
emitInherit = "0 0 0"

[PFlash2]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.02
emitName = "xrecycler_srv.flash"
emitDelay = 0.01
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "60 20 60"
emitInherit = "0 0 0"

[PFlash3]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.1
emitName = "xrecycler_srv.plumeflare"
emitDelay = 0.02
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "0 0 0" //"60 20 60"
emitInherit = "0 0 0"

[PFlash3e]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 0.1
emitName = "xrecycler_srv.plumeflare"
emitDelay = 0.01
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "0 0 0" //"60 20 60"
emitInherit = "0 0 0"

[PSmoke1e]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.05
emitName = "xrecycler_srv.psmoke1"
emitDelay = 0.002
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "13 5 13"
emitInherit = "0 0 0"

[PSmoke2e]
simulateBase = "sim_dust"
renderBase = "draw_emit"
lifeTime = 0.05
emitName = "xrecycler_srv.psmoke2"
emitDelay = 0.002
emitDelayVar = 0.0
emitVelocity = "0 10 0"
emitVariance = "13 5 13"
emitInherit = "0 0 0"

[Plume]
simulatebase = "Sim_smoke"
lifetime = 0.1
renderBase = "Draw_multi"
rendercount = 2
rendername2 = "xrecycler_srv.psmoke1e"
rendername1 = "xrecycler_srv.psmoke2e"

[PSmoke1]
simulateBase = "sim_smoke"
lifeTime = 50
renderBase = "draw_twirl"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "80 80 80 255" //"31 31 31 255"
finishColor = "0 0 0 0" //"40 40 40 0"
startRadius = 50.0
finishRadius = 100.0
animateTime = 50
rotationrate = -1

[PSmoke2]
simulateBase = "sim_smoke"
lifeTime = 50
renderBase = "draw_twirl"
textureName = "poofsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "96 96 96 255" //"31 31 31 255"
finishColor = "0 0 0 0" //"40 40 40 0"
startRadius = 50.0
finishRadius = 100.0
animateTime = 50
rotationrate = -1

[plumefire]
simulateBase = "sim_smoke"
lifeTime = 30
renderBase = "draw_twirl"
textureName = "cloudsmokeadd.tga" //"flame.tga"
textureBlend = "one one modulate"
startColor = "255 64 0 255"
finishColor = "0 0 0 0"
startRadius = 50.0
finishRadius = 100.0
animateTime = 30
rotationrate = 2

[PlumeFlash]
simulateBase = "sim_smoke"
lifeTime = 8
renderBase = "draw_sprite"
textureName = "lightflare.tga"
textureBlend = "one one modulate"
startColor = "255 255 200 255"
finishColor = "64 0 0 0"
startRadius = 300.0
finishRadius = 150.0
animateTime = 8

[PlumeFlare]
simulateBase = "sim_smoke"
lifeTime = 25
renderBase = "draw_sprite"
//spriteCenter.x = 0.1
spriteCenter.y = -0.1
textureName = "plasma.tga"
textureBlend = "one one modulate"
startColor = "255 128 64 255"
finishColor = "64 0 0 0"
startRadius = 300.0
finishRadius = 300.0
animateTime = 25

[Plumeemit]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 1
emitName = "xrecycler_srv.psemit"
emitDelay = 9e9
emitDelayVar = 0.0
emitVelocity = "0 10 0" //"2 8 4"
emitVariance = "0 0 0"
emitInherit = "0 0 0"

[Stackemit]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 10
emitName = "xrecycler_srv.stack"
emitDelay = 0.2
emitDelayVar = 0.0
emitVelocity = "0 0 0"
emitVariance = "0 0 0"
emitInherit = "0 0 0"

[Stack]
simulatebase = "Sim_smoke"
lifetime = 50
renderBase = "Draw_multi"
rendercount = 2
rendername2 = "xrecycler_srv.stack1"
rendername1 = "xrecycler_srv.stack2"

[Stack1]
simulateBase = "sim_smoke"
lifeTime = 50
renderBase = "draw_twirl"
textureName = "poofsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "96 96 96 255" //"31 31 31 255"
finishColor = "0 0 0 0" //"40 40 40 0"
startRadius = 20
finishRadius = 40.0
animateTime = 50
rotationrate = 1

[Stack2]
simulateBase = "sim_smoke"
lifeTime = 50
renderBase = "draw_twirl"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "96 96 96 255" //"31 31 31 255"
finishColor = "0 0 0 0" //"40 40 40 0"
startRadius = 25
finishRadius = 60.0
animateTime = 50
rotationrate = 1

[Stacksmoke]
simulateBase = "sim_smoke"
renderBase = "draw_emit"
lifeTime = 7.5
emitName = "xrecycler_srv.stack"
emitDelay = 0.125
emitDelayVar = 0.1
emitVelocity = "0 0 0"
emitVariance = "3 0 3"
emitInherit = "0 0 0"

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