[WeaponClass]
//isArcing = 1
classLabel = "mortar" //"Chargegun"
ordName = "artfire"
wpnName = "Artillery"
fireSound = "ibartlfire_srv.wav"
wpnReticle = "gmortar"
wpnLadder = "gmortar.L0"
wpnPriority = 2
wpnCategory = "MORT"
flashname = "gartgun.flash"

needLOS = 0

aiRange = 1e6 //400.0

[CannonClass]
salvocount = 10
salvodelay = 3
shotDelay = 120.0
shotvariance = 0.04
shotAlternate = 0

[ChargeGunClass]
startRate = 11025.0
deltaRate = 4000.0
startVolume = 40.0
deltaVolume = 20.0

ordnanceCount = 3

shotDelay1 = 0
salvoCount1 = 0
salvoDelay1 = 0
fireSound1 = NULL
ordName1 = NULL
wpnReticle1 = "gmaggun.0"

shotDelay2 = 15
salvoCount2 = 0
salvoDelay2 = 0
fireSound2 = NULL
ordName2 = NULL
wpnReticle2 = "gmaggun.0"

shotDelay3 = 30
salvoCount3 = 10
salvoDelay3 = 0.1
fireSound3 = "gmdmg00.wav"
ordName3 = "artfire"
wpnReticle3 = "gmaggun.4"

holdRate = 10.0

[Flash]
renderBase = "draw_multi"
renderCount = 5
renderName1 = "gartgun.Smoke"
renderName2 = "gartgun.Flare"
renderName3 = "gartgun.exhaust"
renderName4 = "gartgun.Bangflare"
renderName5 = "gartgun.grounddust"

[Flare]
simulateBase = "sim_smoke"
lifeTime = .1
renderBase = "draw_emit"
emitName = "gartgun.Flare2"
emitDelay = 9e9
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.0 0.0 0.0"
emitLife = 0.1
maxDist = 1000

[Flare2]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "gartgun.Flare4"
emitDelay = 0.005
emitVelocity = "0 0 10"
emitVariance = "10 10 20"
emitLife = 0.75

[Flare3]
simulateBase = "sim_smoke"
lifeTime = 0.5
renderBase = "draw_multi"
renderCount = 2
renderName1 = "gartgun.Flare4"
renderName2 = "gartgun.Bangflare"

[Flare4]
simulateBase = "sim_smoke"
lifeTime = 0.5
renderBase = "draw_sprite"
textureName = "cloudsmokeadd.tga" //"flame2.tga"
textureBlend = "one one modulate"
startColor = "255 255 200 255"
finishColor = "0 0 0 0"
startRadius = 0.1
finishRadius = 3.0
animateTime = 0.5

[BangFlare]
simulateBase = "sim_smoke"
lifeTime = .1
renderBase = "draw_emit"
emitName = "gartgun.Bangflare2"
emitDelay = 9e9
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.0 0.0 0.0"
emitLife = 0.1
maxDist = 1000

[BangFlare2]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "gartgun.BangFlare3"
emitDelay = 0.05
emitVelocity = "0 0 100"
emitVariance = "100 100 200"
emitLife = 0.1

[BangFlare3]
simulateBase = "sim_smoke"
lifeTime = 0.15
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeadd.tga" //"flame2.tga"
textureBlend = "one one modulate"
startColor = "255 255 200 255"
finishColor = "0 0 0 0"
startRadius = 1
finishRadius = 15.0
animateTime = 0.15
emitDelay = 0.01
emitVelocity = "0.0 0.0 0.0"
emitVariance = "50.0 50.0 100.0"
emitLife = 0.1
rotationRate = 50
maxdist = 1000

[SmokeOut]
simulateBase = "sim_smoke"
lifeTime = .1
renderBase = "draw_emit"
emitName = "gartgun.smokeout2"
emitDelay = 9e9
emitVelocity = "100.0 0.0 0.0"
emitVariance = "0.0 0.0 0.0"
emitLife = 0.1
maxDist = 1000

[SmokeOut2]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "gartgun.smokeout3"
emitDelay = 0.05
emitVelocity = "0 0 0"
emitVariance = "10 10 10"
emitLife = 0.1

[SmokeOut3]
simulateBase = "sim_smoke"
lifeTime = 0.15
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeOL.tga" //"flame2.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "64 64 64 255"
finishColor = "128 128 128 0"
startRadius = 10
finishRadius = 25.0
animateTime = 5
emitDelay = 0.01
emitVelocity = "5.0 0.0 0.0"
emitVariance = "50.0 50.0 100.0"
emitLife = 5
rotationRate = 5
maxdist = 1000

[smoke]
simulateBase = "sim_smoke"
lifeTime = .1
renderBase = "draw_emit"
emitName = "gartgun.smoke2"
emitDelay = 9e9
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.0 0.0 0.0"
emitLife = 0.1
maxDist = 1000

[smoke2]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "gartgun.smoke3"
emitDelay = 0.01
emitVelocity = "5 0 5"
emitVariance = "10 10 25"
emitLife = 10

[Smoke3]
simulateBase = "sim_smoke"
lifeTime = 10
renderBase = "draw_twirl"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "64 64 64 128"
finishColor = "255 255 255 0"
startRadius = 5
finishRadius = 35
animateTime = 10
rotationrate = 5

[exhaust]
simulateBase = "sim_smoke"
lifeTime = .1
renderBase = "draw_emit"
emitName = "gartgun.exhaust2"
emitDelay = 9e9
emitVelocity = "0.0 0.0 0.0"
emitVariance = "0.0 0.0 0.0"
emitLife = 0.1
maxDist = 1000

[exhaust2]
simulateBase = "sim_smoke"
lifeTime = 0.1
renderBase = "draw_emit"
emitName = "gartgun.exhaust3"
emitDelay = 0.005
emitVelocity = "0 0 0"
emitVariance = "25 2.5 2.5"
emitLife = 1

[exhaust3]
simulateBase = "sim_smoke"
lifeTime = 1
renderBase = "draw_twirl"
textureName = "cloudsmoke.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "0 0 0 255"
finishColor = "128 128 128 0"
startRadius = 0.1
finishRadius = 2.5
animateTime = 1
rotationrate = 50

[GroundDust]
simulateBase = "sim_dust"
lifeTime = 0.05
renderBase = "draw_emit"
emitName = "gartgun.dust2"
emitDelay = 0.01
emitVelocity = "0 0 0"
emitVariance = "0 0 0"
emitLife = 0.5
maxDist = 500

[Dust2]
simulateBase = "sim_dust"
lifeTime = 0.02
renderBase = "draw_emit"
emitName = "gartgun.dust3"
emitDelay = 9e9
emitVelocity = "0 0 0"
emitVariance = "1000 1000 1000"
emitLife = 0.75
maxDist = 500

[Dust3]
simulateBase = "sim_dust"
lifeTime = 0.2
renderBase = "draw_twirl_trail"
textureName = "cloudsmokeOL.tga"
textureBlend = "srcalpha invsrcalpha modulatealpha"
startColor = "212 196 181 64"
finishColor = "212 196 181 0"
startRadius = 4
finishRadius = 10
rotationRate = 5
animateTime = 5
emitDelay = 0.02
emitDelayVar = 0.0
emitVelocity = "5 0 0"
emitVariance = "10 10 0"
emitInherit = "0 0 0"
emitlife = 5
maxDist = 500