// =============
// HAND GRENADE GROUND EXPLOSION
// =============

[ExplosionClass]
classLabel = "explosion"

///////////////////////////////

particleTypes = 13

particleClass1 = "zegrenadex.shock"
particleCount1 = 1
particleVeloc1 = "0.0 0.0 0.0"

particleClass2 = "zegrenadex.light"
particleCount2 = 1
particleVeloc2 = "0.0 0.0 0.0"

particleClass3 = "zegrenadex.ring"
particleCount3 = 1
particleVeloc3 = "0.0 0.0 0.0"

particleClass4 = "zegrenadex.posroll"
particleCount4 = 6
particleVeloc4 = "5.0 0.0 5.0"

particleClass5 = "zegrenadex.spark"
particleCount5 = 4
particleVeloc5 = "15.0 20.0 15.0"
particleBias5 = "0.0 4.0 0.0"

particleClass6 = "zegrenadex.spark2"
particleCount6 = 6
particleVeloc6 = "15.0 22.0 15.0"
particleBias6 = "0.0 5.0 0.0"


particleClass7 = "zegrenadex.billow"
particleCount7 = 6
particleVeloc7 = "6.0 6.0 6.0"
particleBias7 = "0.0 0.0 0.0"

particleClass8 = "zegrenadex.trail"
particleCount8 = 12
particleVeloc8 = "13.0 28.0 13.0"

particleClass9 = "zegrenadex.rocks"
particleCount9 = 10
particleVeloc9 = "14.0 35.0 14.0"

particleClass10 = "zegrenadex.rockstrail"
particleCount10 = 18
particleVeloc10 = "14.0 35.0 14.0"

particleClass11 = "zegrenadex.center"
particleCount11 = 1
particleVeloc11 = "11.0 15.0 11.0"

particleClass12 = "zegrenadex.core"
particleCount12 = 1
particleVeloc12 = "0.0 0.0 0.0"

particleClass13 = "zegrenadex.gnd"
particleCount13 = 1
particleVeloc13 = "0.0 0.0 0.0"






///////////////////////////////

kickRadius = 7
kickOmega = 15.0
kickVeloc = 4.0

explSound = "groundexp2.wav"
damageRadius = 7.0

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

damageValue(S) = 50 // standard
damageValue(D) = 100 // deflection
damageValue(A) = 30 // absorbtion

///////////////////////////////

[Shock]
simulateBase = "sim_null"
lifeTime = 0.3
renderBase = "draw_sphere"
textureName = "zewave.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 70"
finishColor = "100 70 10 0"
startRadius = 2.0
finishRadius = 15.0
animateTime = 0.3
latitudeBands = 8
longitudeSegments = 8

[Light]
simulateBase = "sim_null"
lifeTime = 1.0
renderBase = "draw_light"
startColor = "255 255 210 500"
finishColor = "255 255 210 0"
startRadius = 30.0
finishRadius = 10.0
animateTime = 1.0
attenuateConstant = 0.0
attenuateLinear = 1.0
attenuateQuadratic = 0.0

[ring]
simulateBase = "sim_null"
lifeTime = 1
renderBase = "draw_planar"
textureName = "grndchar.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "200 200 200 255"
finishColor = "200 200 200 0"
startRadius = 0.0
finishRadius = 6.0
animateTime = 1

[posroll]
simulateBase = "sim_dust"
lifeTime = 3
renderBase = "draw_twirl"
textureName = "zepuff.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "50 50 50 200"
finishColor = "0 0 0 0"
startRadius = 1.5
finishRadius = 1
animateTime = 3
rotationRate = 2

[spark]
simulateBase = "sim_ember"
lifeTime = 5.0
renderBase = "draw_twirl"
textureName = "zeslice1.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "94 94 88 180"
finishColor = "40 40 34 20"
startRadius = 0.2
finishRadius = 0.2
animateTime = 4.4
rotationRate = 10.0

[spark2]
simulateBase = "sim_ember"
lifeTime = 5.0
renderBase = "draw_twirl"
textureName = "zeslice2.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "100 100 90 180"
finishColor = "40 40 34 20"
startRadius = 0.12
finishRadius = 0.12
animateTime = 4.4
rotationRate = 10.0

[billow]
simulateBase = "sim_smoke"
lifeTime = 0.8
renderBase = "draw_twirl"
textureName = "zepuff.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "50 50 50 200"
finishColor = "30 20 10 0"
startRadius =  0.1
finishRadius = 1.2
animateTime = 0.8
rotationrate = 2

[trail]
simulateBase = "sim_ember"
lifeTime = 1.8
renderBase = "draw_twirl_trail"
textureName = "zepuff.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "60 57 55 62"
finishColor = "20 19 16 0"
startRadius = 0.2
finishRadius = 1.5
animateTime = 1.8
emitDelay = 0.05
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.9 0.9 0.9"
emitLife = 1.8
rotationRate = 0.2


[rocks]
simulateBase = "sim_ember"
lifeTime = 1.9
renderBase = "draw_twirl"
textureName = "zespark.tga"
textureBlend = "one one modulate"
startColor = "255 255 220 255"
finishColor = "200 200 90 0"
startRadius = 0.4
finishRadius = 0.3
animateTime = 2.5
emitDelay = 0.02
emitLife = 2.5
rotationRate = 0.01

[rockstrail]
simulateBase = "sim_ember"
lifeTime = 2.5
renderBase = "draw_trail"
textureName = "zespark.tga"
textureBlend = "one one modulate"
startColor = "255 255 180 90"
finishColor = "200 200 90 0"
startRadius = 0.4
finishRadius = 0.3
animateTime = 2.5
segmentTime = 0.3
trailTime = 0.9

[center]
simulateBase = "sim_ember"
lifeTime = 0.8
renderBase = "draw_twirl_trail"
textureName = "zepuff.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "30 29 26 114"
finishColor = "5 5 5 0"
startRadius = 0.2
finishRadius = 4.5
animateTime = 4.1
emitDelay = 0.05
emitVelocity = "0.0 0.0 0.0"
emitVariance = "2.4 2.4 2.4"
emitLife = 4.1
rotationRate = 1.0

[core]
simulateBase = "sim_ember"
lifeTime = 0.5
renderBase = "draw_sprite"
textureName = "zeexp2.tga"
textureBlend = "one one modulate"
startColor = "255 255 255 255"
finishColor = "255 200 0 0"
startRadius = 8.5
finishRadius = 1.5
animateTime = 0.5

[gnd]
simulateBase = "sim_null"
lifeTime = 20.0
renderBase = "draw_planar"
textureName = "zeground.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "105 105 105 255"
finishColor = "105 105 105 0"
startRadius = 3.5
finishRadius = 3.5
animateTime = 20.0












