-- UNITDEF -- TLLBURNER -- -------------------------------------------------------------------------------- local unitName = "tllburner" -------------------------------------------------------------------------------- local unitDef = { acceleration = 0.35, bmcode = 1, brakeRate = 0.183105469, buildCostEnergy = 2400, buildCostMetal = 375, builder = false, buildTime = 6500, canAttack = true, canGuard = true, canMove = true, canPatrol = true, canstop = 1, category = [[ALL ANTIFLAME MEDIUM MOBILE NOTDEFENSE NOTHOVERNOTVTOL NOTSUB NOTSUBNOTSHIP NOTVTOL WEAPON]], corpse = [[dead]], defaultmissiontype = [[Standby]], description = [[Assault Kbot]], designation = [[]], energyMake = 1.1, energyUse = 1.2, explodeAs = [[BIG_UNITEX]], firestandorders = 1, footprintX = 2, footprintZ = 2, idleAutoHeal = 5, idleTime = 1800, maneuverleashlength = 640, maxDamage = 1250, maxSlope = 17, maxVelocity = 1.85, maxWaterDepth = 25, mobilestandorders = 1, movementClass = [[KBOT2]], name = [[Burner]], noAutoFire = false, noChaseCategory = [[SUB VTOL]], objectName = [[TLLBURNER]], selfDestructAs = [[CORPYRO_BLAST]], shootme = 1, side = [[TLL]], sightDistance = 289, standingfireorder = 2, standingmoveorder = 1, steeringmode = 2, turnRate = 1150, unitname = [[tllburner]], unitnumber = 830, upright = true, featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[kbcormov]], }, select = { [1] = [[kbcorsel]], }, }, weaponDefs = nil, weapons = { [1] = { badTargetCategory = [[ANTIFLAME]], def = [[TLL_FLAME]], onlyTargetCategory = [[NOTVTOL]], }, }, } -------------------------------------------------------------------------------- local weaponDefs = { TLL_FLAME = { areaOfEffect = 48, avoidFeature = false, burst = 22, burstrate = 0.01, craterBoost = 0, craterMult = 0, endsmoke = 1, fireStarter = 100, flameGfxTime = 1.4, groundbounce = true, impulseBoost = 0.123, impulseFactor = 0.123, intensity = 0.6, lineOfSight = true, name = [[FlameThroDwer]], noSelfDamage = true, range = 255, reloadtime = 0.9, renderType = 5, rgbColor = [[1 0.95 0.9]], rgbColor2 = [[0.9 0.85 0.8]], sizeGrowth = 1.25, soundStart = [[Flamhvy1]], soundTrigger = false, sprayAngle = 675, tolerance = 2500, turret = true, weaponTimer = 1.5, weaponType = [[Flame]], weaponVelocity = 265, damage = { default = 30, flamethrowers = 10, raider_resistant = 15, subs = 5, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 2, footprintZ = 2, height = 20, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllburner_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 2, footprintZ = 2, height = 4, hitdensity = 100, metal = 0.6400 * unitDef.buildCostMetal, object = [[2x2c]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------